/frameworks/layoutlib/bridge/src/android/app/ |
Fragment_Delegate.java | 53 /*package*/ static Fragment instantiate(Context context, String fname) { 54 return instantiate(context, fname, null); 63 * @param fname The class name of the fragment to instantiate. 72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { 75 Fragment f = (Fragment) sLayoutlibCallback.loadView(fname, 87 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname 91 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname 95 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname 99 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify01.c | 61 static char fname[BUF_SIZE]; variable 84 SAFE_CHMOD(cleanup, fname, 0755); 88 if ((fd = open(fname, O_RDONLY)) == -1) { 90 "open(%s, O_RDWR|O_CREAT,0700) failed", fname); 106 if ((fd = open(fname, O_RDWR | O_CREAT, 0700)) == -1) { 108 "open(%s, O_RDWR|O_CREAT,0700) failed", fname); 115 "write(%d, %s, 1) failed", fd, fname); 198 sprintf(fname, "tfile_%d", getpid()); 199 if ((fd = open(fname, O_RDWR | O_CREAT, 0700)) == -1) { 201 "open(%s, O_RDWR|O_CREAT,0700) failed", fname); [all...] |
/external/zlib/src/contrib/untgz/ |
untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) 394 char fname[BLOCKSIZE]; local [all...] |
/toolchain/binutils/binutils-2.27/zlib/contrib/untgz/ |
untgz.c | 98 char *fname; member in struct:attr_item 206 int setfiletime (char *fname,time_t ftime) 234 hFile = CreateFile(fname, GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 246 return utime(fname,&settime); 253 void push_attr(struct attr_item **list,char *fname,int mode,time_t time) 260 item->fname = strdup(fname); 276 setfiletime(item->fname,item->time); 277 chmod(item->fname,item->mode); 371 int matchname (int arg,int argc,char **argv,char *fname) 394 char fname[BLOCKSIZE]; local [all...] |
/build/kati/testcase/ |
gen_testcase_parse_benchmark.go | 56 func testName(fname string) string { 57 base := filepath.Base(fname) 67 func writeBenchmarkTest(w io.Writer, fname string) { 68 name := testName(fname) 76 Name: testName(fname), 77 Filename: fname,
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl02.c | 48 static char fname[256]; variable 60 fname, min_fd); 66 fname, min_fd, TEST_RETURN, min_fd); 70 fname, min_fd, TEST_RETURN); 77 sprintf(fname, "fcntl02_%d", getpid()); 78 fd = SAFE_OPEN(fname, O_RDWR | O_CREAT, 0700);
|
fcntl04.c | 47 static char fname[255]; variable 55 fname); 61 "access mode %li, expected %i", fname, 67 fname, TEST_RETURN); 72 sprintf(fname, "fcntl04_%d", getpid()); 73 fd = SAFE_OPEN(fname, O_RDWR | O_CREAT, 0700);
|
/external/ltp/testcases/kernel/syscalls/open/ |
open03.c | 42 static char fname[255]; variable 56 TEST(open(fname, O_RDWR | O_CREAT, 0700)); 61 "open(%s,O_RDWR|O_CREAT,0700) failed", fname); 65 fname, TEST_RETURN); 68 SAFE_UNLINK(cleanup, fname); 84 sprintf(fname, "tfile_%d", getpid());
|
/external/skia/bench/ |
ClipStrategyBench.cpp | 23 , fName("clip_strategy_"){ 26 fName.append("path_"); 31 fName.append("mask_"); 33 fName.appendf("%zu", count); 40 return fName.c_str(); 77 SkString fName;
|
PictureOverheadBench.cpp | 20 fName.appendf("picture_overhead_%d%s", kDraws, kLite ? "_lite" : ""); 22 const char* onGetName() override { return fName.c_str(); } 53 SkString fName; 68 SkString fName; 73 fName.printf("clip_overhead_recording_%s", doLite ? "lite" : "std"); 77 const char* onGetName() override { return fName.c_str(); }
|
SkGlyphCacheBench.cpp | 45 fName.printf("SkGlyphCacheBasic%dK", (int)(fCacheSize >> 10)); 46 return fName.c_str(); 70 SkString fName; 79 fName.printf("SkGlyphCacheStressTest%dK", (int)(fCacheSize >> 10)); 80 return fName.c_str(); 109 SkString fName;
|
RectanizerBench.cpp | 45 : fName("rectanizer_") 50 fName.append("pow2_"); 53 fName.append("skyline_"); 57 fName.append("rand"); 59 fName.append("rand2"); 62 fName.append("sm2"); 72 return fName.c_str(); 115 SkString fName;
|
TileBench.cpp | 31 SkString fName; 56 fName.printf("constXTile_"); 59 fName.append(gTileModeStr[xTile]); 60 fName.append(gTileModeStr[yTile]); 63 fName.append("_filter"); 67 fName.append("_trans"); 71 fName.append("_scale"); 77 return fName.c_str();
|
/external/skqp/bench/ |
ClipStrategyBench.cpp | 23 , fName("clip_strategy_"){ 26 fName.append("path_"); 31 fName.append("mask_"); 33 fName.appendf("%zu", count); 40 return fName.c_str(); 77 SkString fName;
|
PictureOverheadBench.cpp | 20 fName.appendf("picture_overhead_%d%s", kDraws, kLite ? "_lite" : ""); 22 const char* onGetName() override { return fName.c_str(); } 53 SkString fName; 68 SkString fName; 73 fName.printf("clip_overhead_recording_%s", doLite ? "lite" : "std"); 77 const char* onGetName() override { return fName.c_str(); }
|
SkGlyphCacheBench.cpp | 45 fName.printf("SkGlyphCacheBasic%dK", (int)(fCacheSize >> 10)); 46 return fName.c_str(); 70 SkString fName; 79 fName.printf("SkGlyphCacheStressTest%dK", (int)(fCacheSize >> 10)); 80 return fName.c_str(); 109 SkString fName;
|
RectanizerBench.cpp | 45 : fName("rectanizer_") 50 fName.append("pow2_"); 53 fName.append("skyline_"); 57 fName.append("rand"); 59 fName.append("rand2"); 62 fName.append("sm2"); 72 return fName.c_str(); 115 SkString fName;
|
TileBench.cpp | 31 SkString fName; 56 fName.printf("constXTile_"); 59 fName.append(gTileModeStr[xTile]); 60 fName.append(gTileModeStr[yTile]); 63 fName.append("_filter"); 67 fName.append("_trans"); 71 fName.append("_scale"); 77 return fName.c_str();
|
/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;
|
/external/tensorflow/tensorflow/core/platform/posix/ |
posix_file_system.h | 34 Status NewWritableFile(const string& fname, 37 Status NewAppendableFile(const string& fname, 44 Status FileExists(const string& fname) override; 48 Status Stat(const string& fname, FileStatistics* stats) override; 50 Status DeleteFile(const string& fname) override; 56 Status GetFileSize(const string& fname, uint64* size) override;
|
/external/elfutils/tests/ |
elfstrmerge.c | 95 fail (const char *msg, const char *fname) 98 if (fname != NULL) 99 error (1, 0, "%s: %s", fname, msg); 106 fail_errno (const char *msg, const char *fname) 109 if (fname != NULL) 110 error (1, errno, "%s: %s", fname, msg); 117 fail_idx (const char *msg, const char *fname, size_t idx) 120 if (fname != NULL) 121 error (1, 0, "%s: %s %zd", fname, msg, idx); 128 fail_elf (const char *msg, const char *fname) 161 const char *fname; local [all...] |
/external/tensorflow/tensorflow/core/platform/windows/ |
windows_file_system.cc | 105 WindowsRandomAccessFile(const string& fname, HANDLE hfile) 106 : filename_(fname), hfile_(hfile) {} 142 WindowsWritableFile(const string& fname, HANDLE hFile) 143 : filename_(fname), hfile_(hFile) {} 229 const string& fname, std::unique_ptr<RandomAccessFile>* result) { 230 string translated_fname = TranslateName(fname); 247 string context = "NewRandomAccessFile failed to Create/Open: " + fname; 256 const string& fname, std::unique_ptr<WritableFile>* result) { 257 string translated_fname = TranslateName(fname); 267 string context = "Failed to create a NewWriteableFile: " + fname; [all...] |
/external/selinux/libsemanage/src/ |
database_file.c | 50 const char *fname = NULL; local 61 fname = dbase->path[handle->is_in_transaction]; 63 if (parse_init(handle, fname, NULL, &parse_info) < 0) 120 const char *fname = NULL; local 126 fname = dbase->path[handle->is_in_transaction]; 128 str = fopen(fname, "w"); 131 fname, strerror(errno)); 139 ERR(handle, "could not write file header for %s", fname);
|
/external/skia/src/sksl/ir/ |
SkSLField.h | 26 : INHERITED(offset, kField_Kind, owner.fType.fields()[fieldIndex].fName) 31 return fOwner.description() + "." + fOwner.fType.fields()[fFieldIndex].fName;
|
/external/skia/tools/viewer/ |
Slide.h | 36 SkString getName() { return fName; } 40 SkString fName;
|