/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
FwdLockFile.h | 30 * @param[in] fileDesc The file descriptor of an open Forward Lock file. 36 int FwdLockFile_attach(int fileDesc); 41 * @param[in] fileDesc The file descriptor of an open Forward Lock file. 48 ssize_t FwdLockFile_read(int fileDesc, void *pBuffer, size_t numBytes); 53 * @param[in] fileDesc The file descriptor of an open Forward Lock file. 60 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence); 65 * @param[in] fileDesc The file descriptor of an open Forward Lock file. 71 int FwdLockFile_detach(int fileDesc); 76 * @param[in] fileDesc The file descriptor of an open Forward Lock file. 82 int FwdLockFile_close(int fileDesc); [all...] |
FwdLockFile.c | 59 int fileDesc; 85 * @param[in] fileDesc A file descriptor. 89 static int FwdLockFile_AcquireSession(int fileDesc) { 91 if (fileDesc < 0) { 97 int candidateSessionId = (fileDesc + i) % MAX_NUM_SESSIONS; 101 sessionPtrs[candidateSessionId]->fileDesc = fileDesc; 121 * @param[in] fileDesc A file descriptor. 125 static int FwdLockFile_FindSession(int fileDesc) { 127 if (fileDesc < 0) [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
FwdLockGlue.c | 79 int fileDesc = open(strKeyFilename, O_RDONLY); 80 if (fileDesc >= 0) { 81 if (read(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) { 84 (void)close(fileDesc); 88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR); 89 if (fileDesc >= 0) { 90 if (write(fileDesc, keyEncryptionKey, KEY_SIZE) == KEY_SIZE) { 93 (void)close(fileDesc); 130 int fileDesc = open("/dev/urandom", O_RDONLY); 131 if (fileDesc >= 0) [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 72 FwdLockFile_detach(session->fileDesc); 73 ::close(session->fileDesc); 315 int fileDesc = dup(fd); 317 if (-1 < fileDesc) { 318 if (FwdLockFile_attach(fileDesc) < 0) { 321 const char* pMimeType = FwdLockFile_GetContentType(fileDesc); 329 FwdLockFile_close(fileDesc); 479 int fileDesc = -1; 486 fileDesc = dup(fd); 492 if (-1 < fileDesc & [all...] |
/external/skia/legacy/src/images/ |
SkFDStream.cpp | 13 SkFDStream::SkFDStream(int fileDesc, bool closeWhenDone) 14 : fFD(fileDesc), fCloseWhenDone(closeWhenDone) {
|
/external/skia/src/images/ |
SkFDStream.cpp | 13 SkFDStream::SkFDStream(int fileDesc, bool closeWhenDone) 14 : fFD(fileDesc), fCloseWhenDone(closeWhenDone) {
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.h | 71 * @param[in] fileDesc The file descriptor of a file opened for reading. 78 typedef ssize_t FwdLockConv_ReadFunc_t(int fileDesc, void *pBuffer, size_t numBytes); 83 * @param[in] fileDesc The file descriptor of a file opened for writing. 90 typedef ssize_t FwdLockConv_WriteFunc_t(int fileDesc, const void *pBuffer, size_t numBytes); 95 * @param[in] fileDesc The file descriptor of a file opened for writing. 102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
|
/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
FontTest.java | 70 File fileDesc = new File(fontPath); 72 assertTrue(Font.createFromFile(mRS, mRes, fileDesc, 8) != null);
|
FileA3DTest.java | 106 File fileDesc = new File("bogusFile"); 108 FileA3D model = FileA3D.createFromFile(mRS, fileDesc);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
SimpleStreamChecker.cpp | 132 SymbolRef FileDesc = Call.getReturnValue().getAsSymbol(); 133 if (!FileDesc) 138 State = State->set<StreamMap>(FileDesc, StreamState::getOpened()); 156 SymbolRef FileDesc = Call.getArgSVal(0).getAsSymbol(); 157 if (!FileDesc) 162 const StreamState *SS = State->get<StreamMap>(FileDesc); 164 reportDoubleClose(FileDesc, Call, C); 169 State = State->set<StreamMap>(FileDesc, StreamState::getClosed());
|
/frameworks/base/core/jni/ |
android_util_Binder.h | 31 extern jobject newParcelFileDescriptor(JNIEnv* env, jobject fileDesc);
|
android_util_AssetManager.cpp | 172 jobject fileDesc = jniCreateFileDescriptor(env, fd); 173 if (fileDesc == NULL) { 178 return newParcelFileDescriptor(env, fileDesc); [all...] |
android_util_Binder.cpp | 622 jobject newParcelFileDescriptor(JNIEnv* env, jobject fileDesc) 625 gParcelFileDescriptorOffsets.mClass, gParcelFileDescriptorOffsets.mConstructor, fileDesc); [all...] |
/external/neven/ |
FaceDetector_jni.cpp | 133 int filedesc = open(path.string(), O_RDONLY); local 134 int initDataSize = read(filedesc, initData, MAX_FILE_SIZE); 135 close(filedesc);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 534 int fileDesc; 538 fileDesc = -1; 543 fileDesc = fd;
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 152 int fileDesc; 155 fileDesc = Integer.parseInt(env); 163 createFileDescriptor(fileDesc)); 166 "Error binding to local socket '" + fileDesc + "'", ex);
|
/external/skia/include/core/ |
SkStream.h | 162 SkFDStream(int fileDesc, bool closeWhenDone);
|
/external/skia/legacy/include/core/ |
SkStream.h | 144 SkFDStream(int fileDesc, bool closeWhenDone);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
socket.h | 233 void *msg_control; /* Ancillary data (eg BSD filedesc passing). */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 233 void *msg_control; /* Ancillary data (eg BSD filedesc passing). */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
socket.h | 233 void *msg_control; /* Ancillary data (eg BSD filedesc passing). */
|
/external/llvm/test/Analysis/ScalarEvolution/ |
avoid-infinite-recursion-1.ll | 57 %struct.filedesc = type opaque 112 %struct.proc = type <{ %7, %8, %struct.mtx, %struct.ucred*, %struct.filedesc*, %struct.filedesc_to_leader*, %struct.pstats*, %struct.plimit*, %struct.callout, %struct.sigacts*, i32, i32, i32, i8, i8, i8, i8, %7, %7, %struct.proc*, %7, %13, %struct.mtx, %struct.ksiginfo*, %struct.sigqueue, i32, i8, i8, i8, i8, %struct.vmspace*, i32, i8, i8, i8, i8, %struct.itimerval, %struct.rusage, %struct.rusage_ext, %struct.rusage_ext, i32, i32, i32, i8, i8, i8, i8, %struct.vnode*, %struct.ucred*, %struct.vnode*, i32, i8, i8, i8, i8, %struct.sigiolst, i32, i32, i64, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, %struct.nlminfo*, %struct.kaioinfo*, %struct.thread*, i32, i8, i8, i8, i8, %struct.thread*, i32, i32, %struct.itimers*, i32, i32, [20 x i8], i8, i8, i8, i8, %struct.pgrp*, %struct.sysentvec*, %struct.pargs*, i64, i8, i8, i8, i8, i32, i16, i8, i8, i8, i8, i8, i8, %struct.knlist, i32, i8, i8, i8, i8, %struct.mdproc, %struct.callout, i16, i8, i8, i8, i8, i8, i8, %struct.proc*, %struct.proc*, i8*, %struct.label*, %struct.p_sched*, %18, %19, %struct.kdtrace_proc*, %struct.cv }>
|
/external/dropbear/ |
svr-chansession.c | 778 TRACE(("leave ptycommand: error redirecting filedesc"))
|