/external/mesa3d/src/mesa/main/ |
dlopen.h | 66 _mesa_dlsym(void *handle, const char *fname) 73 u.v = dlsym(handle, fname); 75 u.v = (void *) GetProcAddress(handle, fname);
|
/external/perfetto/tools/ |
gen_tracing_cpp_headers_from_protos.py | 56 fname = os.path.basename(proto).replace('.proto', '') 57 run(clang_format + [os.path.join(HEADER_PATH, fname + '.h')]) 58 run(clang_format + [os.path.join(CPP_PATH, fname + '.cc')])
|
/external/strace/tests/ |
readdir.c | 42 static const char fname[] = variable 76 assert(!creat(fname, 0600)); 90 assert(!unlink(fname));
|
sendfile64.c | 73 static const char fname[] = "sendfile64-tmpfile"; local 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600); 76 perror_msg_and_fail("open: %s", fname); 77 if (unlink(fname)) 78 perror_msg_and_fail("unlink: %s", fname); 80 perror_msg_and_fail("ftruncate: %s", fname);
|
/external/strace/tests-m32/ |
readdir.c | 42 static const char fname[] = variable 76 assert(!creat(fname, 0600)); 90 assert(!unlink(fname));
|
sendfile64.c | 73 static const char fname[] = "sendfile64-tmpfile"; local 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600); 76 perror_msg_and_fail("open: %s", fname); 77 if (unlink(fname)) 78 perror_msg_and_fail("unlink: %s", fname); 80 perror_msg_and_fail("ftruncate: %s", fname);
|
/external/strace/tests-mx32/ |
readdir.c | 42 static const char fname[] = variable 76 assert(!creat(fname, 0600)); 90 assert(!unlink(fname));
|
sendfile64.c | 73 static const char fname[] = "sendfile64-tmpfile"; local 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600); 76 perror_msg_and_fail("open: %s", fname); 77 if (unlink(fname)) 78 perror_msg_and_fail("unlink: %s", fname); 80 perror_msg_and_fail("ftruncate: %s", fname);
|
/external/ltp/testcases/kernel/syscalls/lseek/ |
lseek07.c | 39 char *fname; member in struct:tcase 59 tc->fname, tc->off); 65 tc->fname, tc->off, TEST_RETURN, tc->exp_off); 73 *tc->fd = SAFE_OPEN(tc->fname, O_RDWR); 79 tc->fname, tc->off, read_buf); 82 tc->fname, tc->off, read_buf);
|
/external/oj-libjdwp/src/solaris/back/ |
linker_md.c | 58 const char* paths, const char* fname) { 70 snprintf(buffer, buflen, "%s/lib%s." LIB_SUFFIX, path, fname); 99 dbgsysBuildLibName(char *holder, int holderlen, const char *pname, const char *fname) 105 if (pnamelen + (int)strlen(fname) + 10 > holderlen) { 110 (void)snprintf(holder, holderlen, "lib%s." LIB_SUFFIX, fname); 112 dll_build_name(holder, holderlen, pname, fname);
|
/external/tensorflow/tensorflow/contrib/android/ |
asset_manager_filesystem.cc | 126 Status AssetManagerFileSystem::FileExists(const string& fname) { 127 string path = RemoveAssetPrefix(fname); 131 return errors::NotFound("File ", fname, " not found."); 137 const string& fname, std::unique_ptr<RandomAccessFile>* result) { 138 string path = RemoveAssetPrefix(fname); 142 return errors::NotFound("File ", fname, " not found."); 149 const string& fname, std::unique_ptr<ReadOnlyMemoryRegion>* result) { 150 string path = RemoveAssetPrefix(fname); 154 return errors::NotFound("File ", fname, " not found."); 164 return errors::Internal("Error reading from file ", fname, [all...] |
/external/tensorflow/tensorflow/core/platform/cloud/ |
retrying_file_system.h | 38 Status NewWritableFile(const string& fname, 41 Status NewAppendableFile(const string& fname, 48 Status FileExists(const string& fname) override; 55 Status Stat(const string& fname, FileStatistics* stat) override; 57 Status DeleteFile(const string& fname) override; 63 Status GetFileSize(const string& fname, uint64* file_size) override;
|
/bootable/recovery/tests/common/ |
test_constants.h | 35 static std::string from_testdata_base(const std::string& fname) { 42 return data_root + "/nativetest/recovery/testdata/" + fname;
|
/external/dtc/ |
srcpos.c | 67 * @param fname Filename to look for 71 static char *try_open(const char *dirname, const char *fname, FILE **fp) 75 if (!dirname || fname[0] == '/') 76 fullname = xstrdup(fname); 78 fullname = join_path(dirname, fname); 94 * @param fname Filename to open 98 static char *fopen_any_on_path(const char *fname, FILE **fp) 108 fullname = try_open(cur_dir, fname, fp); 112 fullname = try_open(node->dirname, fname, fp); 117 FILE *srcfile_relative_open(const char *fname, char **fullnamep 252 const char *fname = "<no-file>"; local [all...] |
/external/e2fsprogs/tests/ |
test_post | 12 for fname in $(ls *.failed); do 13 echo -n "${fname%%.failed} "
|
/external/ltp/testcases/kernel/syscalls/readdir/ |
readdir01.c | 134 char Fname[255]; 153 char fname[255]; local 192 sprintf(fname, "%s%d", Basename, cnt); 193 if ((fd = open(fname, O_RDWR | O_CREAT, 0700)) == -1) { 196 fname, errno, strerror(errno)); 200 fname, errno, strerror(errno)); 204 fname, errno, strerror(errno)); 247 sprintf(fname, "%s%d", Basename, cnt); 249 if (unlink(fname) == -1) { 252 Fname, errno, strerror(errno)) [all...] |
/external/tensorflow/tensorflow/core/platform/ |
env.h | 62 /// specified by 'fname'. The FileSystem object is used as the implementation 66 virtual Status GetFileSystemForFile(const string& fname, FileSystem** result); 91 Status NewRandomAccessFile(const string& fname, 107 Status NewWritableFile(const string& fname, 122 Status NewAppendableFile(const string& fname, 128 /// from the content of file fname. The ownership of the region is passed to 137 const string& fname, std::unique_ptr<ReadOnlyMemoryRegion>* result); 140 Status FileExists(const string& fname); 166 Status DeleteFile(const string& fname); 199 Status Stat(const string& fname, FileStatistics* stat) [all...] |
env.cc | 93 Status Env::GetFileSystemForFile(const string& fname, FileSystem** result) { 95 io::ParseURI(fname, &scheme, &host, &path); 103 "' not implemented (file: '", fname, "')"); 130 Status Env::NewRandomAccessFile(const string& fname, 133 TF_RETURN_IF_ERROR(GetFileSystemForFile(fname, &fs)); 134 return fs->NewRandomAccessFile(fname, result); 138 const string& fname, std::unique_ptr<ReadOnlyMemoryRegion>* result) { 140 TF_RETURN_IF_ERROR(GetFileSystemForFile(fname, &fs)); 141 return fs->NewReadOnlyMemoryRegionFromFile(fname, result); 144 Status Env::NewWritableFile(const string& fname, [all...] |
/external/tensorflow/tensorflow/core/platform/windows/ |
windows_file_system.h | 35 const string& fname, std::unique_ptr<RandomAccessFile>* result) override; 37 Status NewWritableFile(const string& fname, 40 Status NewAppendableFile(const string& fname, 44 const string& fname, 47 Status FileExists(const string& fname) override; 54 Status Stat(const string& fname, FileStatistics* stat) override; 56 Status DeleteFile(const string& fname) override; 62 Status GetFileSize(const string& fname, uint64* size) override;
|
/external/python/cpython2/PC/VS7.1/ |
build_ssl.py | 23 fname = os.path.abspath(os.path.join(p, filename)) 24 if os.path.isfile(fname) and fname not in ret: 25 ret.append(fname) 28 fname = os.path.abspath(os.path.join(p, filename)) 29 if os.path.isfile(fname) and fname not in ret: 30 ret.append(fname) 67 for fname in fnames: 68 fqn = os.path.join(s, fname) [all...] |
/external/vboot_reference/tests/ |
vb21_host_keyblock_tests.c | 29 char fname[1024]; local 39 sprintf(fname, "%s/key_rsa2048.keyb", keys_dir); 40 TEST_SUCC(vb2_public_key_read_keyb(&pubk2048, fname), 45 sprintf(fname, "%s/key_rsa4096.keyb", keys_dir); 46 TEST_SUCC(vb2_public_key_read_keyb(&pubk4096, fname), 51 sprintf(fname, "%s/key_rsa8192.keyb", keys_dir); 52 TEST_SUCC(vb2_public_key_read_keyb(&pubk8192, fname), 57 sprintf(fname, "%s/key_rsa4096.pem", keys_dir); 58 TEST_SUCC(vb2_private_key_read_pem(&prik4096, fname), 64 sprintf(fname, "%s/key_rsa8192.pem", keys_dir) [all...] |
/external/tensorflow/tensorflow/core/platform/posix/ |
posix_file_system.cc | 50 PosixRandomAccessFile(const string& fname, int fd) 51 : filename_(fname), fd_(fd) {} 83 PosixWritableFile(const string& fname, FILE* f) 84 : filename_(fname), file_(f) {} 142 const string& fname, std::unique_ptr<RandomAccessFile>* result) { 143 string translated_fname = TranslateName(fname); 147 s = IOError(fname, errno); 154 Status PosixFileSystem::NewWritableFile(const string& fname, 156 string translated_fname = TranslateName(fname); 160 s = IOError(fname, errno) [all...] |
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
utmp.c | 92 utmpname(const char *fname) 94 size_t len = strlen(fname); 100 if (fname[len - 1] == 'x') 103 (void)strlcpy(utfile, fname, sizeof(utfile));
|
/bootable/recovery/otafault/ |
config.cpp | 66 std::string fname; local 67 fname.resize(OTAIO_MAX_FNAME_SIZE); 73 ExtractToMemory(archive, &entry, reinterpret_cast<uint8_t*>(&fname[0]), OTAIO_MAX_FNAME_SIZE); 74 return fname;
|
/external/elfutils/tests/ |
strptr.c | 42 const char *fname = argv[1]; local 48 int fd = open (fname, O_RDONLY); 51 printf ("cannot open `%s' read-only: %s\n", fname, strerror (errno)); 71 printf ("ELF file `%s' doesn't have a section header table index", fname);
|