/ndk/sources/host-tools/make-3.81/w32/compat/ |
dirent.c | 31 DIR* pDir;
50 pDir = (DIR *) malloc(sizeof (DIR));
52 if (!pDir)
59 strcpy(pDir->dir_pDirectoryName, pDirName);
62 pEndDirName = &pDir->dir_pDirectoryName[nBufferLen - 1];
77 pDir->dir_nNumFiles = 0;
78 pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
79 pDir->dir_ulCookie = __DIRENT_COOKIE;
81 return pDir;
85 closedir(DIR *pDir)
[all...] |
/external/chromium_org/tools/clang/scripts/ |
package.sh | 91 PDIR=clang-$R 92 rm -rf $PDIR 93 mkdir $PDIR 94 mkdir $PDIR/bin 95 mkdir $PDIR/lib 104 cp buildlog.txt $PDIR/ 106 # Copy clang into pdir, symlink clang++ to it. 107 cp "${LLVM_BIN_DIR}/clang" $PDIR/bin/ 108 (cd $PDIR/bin && ln -sf clang clang++) 109 cp "${LLVM_BIN_DIR}/llvm-symbolizer" $PDIR/bin [all...] |
repackage.sh | 34 PDIR=clang-$R 36 if [ ! -f "$PDIR.tgz" ]; then 37 echo "Could not find package archive $PDIR.tgz generated by package.sh" 57 cp $PDIR/lib/$LIBFILE "$LLVM_LIB_DIR/" 59 tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin include lib buildlog.txt 61 tar zcf ${PDIR}_repack.tgz -C "$LLVM_TAR_DIR" bin lib buildlog.txt 66 echo gsutil cp -a public-read ${PDIR}_repack.tgz \ 67 gs://chromium-browser-clang/$PLATFORM/$PDIR.tgz
|
/frameworks/compile/mclinker/lib/Support/Unix/ |
FileSystem.inc | 39 static int read_dir(intptr_t& pDir, std::string& pOutFilename) 42 dirent *cur_dir = ::readdir(reinterpret_cast<DIR*>(pDir)); 54 return read_dir(pDir, pOutFilename); 61 void open_dir(Directory& pDir) 63 pDir.m_Handler = reinterpret_cast<intptr_t>(opendir(pDir.path().c_str())); 64 if (0 == pDir.m_Handler) { 67 pDir.m_CacheFull = true; 71 std::string path(pDir.path().native()); 72 switch (read_dir(pDir.m_Handler, path)) [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
smc_properties.c | 108 char *pDir = pPath; 121 pDir = malloc(sizeof(char) * nSlashIndex); 122 if (pDir == NULL) 127 strncpy(pDir, pPath, nSlashIndex); 128 pDir[nSlashIndex] = '\0'; 132 result = stat(pDir, &buf); 136 if (SymbianCheckFSDirectory(pDir) == -1) 138 printf("Cannot create directory : %s\n.", pDir); 142 printf("Unknown path : %s\n.", pDir); 151 printf("Path %s doesn't point on a directory.\n", pDir); [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
smc_properties.c | 108 char *pDir = pPath; 121 pDir = malloc(sizeof(char) * nSlashIndex); 122 if (pDir == NULL) 127 strncpy(pDir, pPath, nSlashIndex); 128 pDir[nSlashIndex] = '\0'; 132 result = stat(pDir, &buf); 136 if (SymbianCheckFSDirectory(pDir) == -1) 138 printf("Cannot create directory : %s\n.", pDir); 142 printf("Unknown path : %s\n.", pDir); 151 printf("Path %s doesn't point on a directory.\n", pDir); [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
getdents_helper.h | 23 Error GetDents(size_t offs, dirent* pdir, size_t size, int* out_bytes) const;
|
getdents_helper.cc | 62 dirent* pdir, 68 if (NULL == pdir) { 91 memcpy(pdir, reinterpret_cast<const char*>(dirents_.data()) + offs, size);
|
dir_node.h | 35 struct dirent* pdir,
|
dir_node.cc | 64 dirent* pdir, 69 return cache_.GetDents(offs, pdir, size, out_bytes);
|
kernel_handle.h | 53 Error GetDents(struct dirent* pdir, size_t count, int* bytes_written);
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
FileSystem.inc | 42 void open_dir(Directory& pDir) 44 fs::Path file_filter(pDir.path()); 49 pDir.m_Handler = reinterpret_cast<intptr_t>(hFile); 53 pDir.m_CacheFull = true; 60 fs::PathCache::entry_type* entry = pDir.m_Cache.insert(path, exist); 65 void close_dir(Directory& pDir) 67 if (pDir.m_Handler) 68 FindClose(reinterpret_cast<HANDLE>(pDir.m_Handler)); 69 pDir.m_Handler = 0;
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/ |
real_node.h | 33 struct dirent* pdir,
|
real_node.cc | 75 struct dirent* pdir, 79 int err = _real_getdents(real_fd_, pdir, count, &nread);
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
filetools.cpp | 52 DIR *pDir = NULL; 53 if ((pDir= opendir(checkAgainst)) != NULL) { 57 while ((dirEntry = readdir(pDir)) != NULL) { 81 closedir(pDir);
|
/external/icu/icu4c/source/tools/toolutil/ |
filetools.cpp | 52 DIR *pDir = NULL; 53 if ((pDir= opendir(checkAgainst)) != NULL) { 57 while ((dirEntry = readdir(pDir)) != NULL) { 81 closedir(pDir);
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXDccDataSave.cpp | 137 FILE * OMXCameraAdapter::parseDCCsubDir(DIR *pDir, char *path) 147 while ((dirEntry = readdir(pDir)) != NULL) 218 DIR *pDir; 225 pDir = opendir(dccPath); 226 if (!pDir) { 232 pFile = parseDCCsubDir(pDir, dccPath); 233 closedir(pDir);
|
/frameworks/av/drm/libdrmframework/include/ |
PlugInManager.h | 204 DIR* pDir = opendir(rsDirPath.string()); 207 while (NULL != pDir && NULL != (pEntry = readdir(pDir))) { 219 if (NULL != pDir) { 220 closedir(pDir);
|
/frameworks/av/media/libmediaplayerservice/ |
Crypto.cpp | 108 DIR* pDir = opendir(dirPath.string()); 109 if (pDir) { 111 while ((pEntry = readdir(pDir))) { 120 closedir(pDir); 126 closedir(pDir);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/html5fs/ |
html5_fs_node.h | 26 struct dirent* pdir,
|
html5_fs_node.cc | 88 struct dirent* pdir, 144 return helper.GetDents(offs, pdir, size, out_bytes);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/ |
js_fs_node.h | 44 struct dirent* pdir,
|
/frameworks/compile/mclinker/include/mcld/Support/ |
FileSystem.h | 94 void open_dir(Directory& pDir); 95 void close_dir(Directory& pDir);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/ |
fuse_fs.h | 106 struct dirent* pdir,
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/ |
http_fs_node.h | 24 struct dirent* pdir,
|