/aosp12/system/core/trusty/storage/tests/ |
H A D | main.cpp | 252 const char *fname = "test_create_delete_file"; in TEST_P() local 297 const char *fname = "delete_opened_test_file"; in TEST_P() local 368 const char *fname = "test_open_create_file"; in TEST_P() local 465 const char *fname = "test_open_truncate"; in TEST_P() local 508 const char *fname = "test_open_same_file"; in TEST_P() local 591 const char *fname = "test_read_eof"; in TEST_P() local 637 const char *fname = "test_get_file_size"; in TEST_P() local 680 const char *fname = "test_set_file_size"; in TEST_P() local 796 const char *fname = "test_write_at_offset"; in TEST_P() local 822 const char *fname = "test_write_sparse"; in TEST_P() local [all …]
|
/aosp12/frameworks/native/opengl/tools/glgen/src/ |
H A D | CFunc.java | 24 String fname; field in CFunc 41 public void setName(String fname) { in setName() argument 42 this.fname = fname; in setName() 46 return fname; in getName() 108 String s = "Function " + fname + " returns " + ftype + ": "; in toString() 131 String fname = tokens[i++]; in parseCFunc() local 132 if (fname.equals("*")) { in parseCFunc() 134 fname = tokens[i++]; in parseCFunc() 137 cfunc.setName(fname); in parseCFunc()
|
H A D | GenerateGL.java | 48 String fname = cfunc.getName(); in emit() local 49 File f = new File("stubs/jsr239/" + fname + in emit() 52 System.out.println("Special-casing function " + fname); in emit() 53 copy("stubs/jsr239/" + fname + in emit() 55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream); in emit() 56 copy("stubs/jsr239/" + fname + ".cpp", cStream); in emit() 60 String filename = "stubs/jsr239/" + fname + ".nativeReg"; in emit()
|
H A D | JFunc.java | 26 String fname; field in JFunc 44 public void setName(String fname) { in setName() argument 45 this.fname = fname; in setName() 49 return fname; in getName() 159 String s = "Function " + fname + " returns " + ftype + ": "; in toString()
|
H A D | GenerateEGL.java | 46 String fname = cfunc.getName(); in emit() local 47 String stubRoot = "stubs/egl/" + fname; in emit() 51 System.out.println("Special-casing function " + fname); in emit()
|
H A D | GenerateGLES.java | 45 String fname = cfunc.getName(); in emit() local 46 String stubRoot = "stubs/gles11/" + fname; in emit() 50 System.out.println("Special-casing function " + fname); in emit()
|
/aosp12/build/make/tools/ |
H A D | checkowners.py | 43 def check_address(fname, num, address): argument 46 print '%s:%d: ERROR: unknown email address: %s' % (fname, num, address) 67 for fname in args.owners: 68 echo('Checking file: ' + fname) 70 for line in open(fname, 'r'): 75 print '%s:%d: ERROR: unknown line [%s]' % (fname, num, line.strip()) 81 error += check_address(fname, num, addr.strip()) 83 error += check_address(fname, num, stripped_line)
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | FileBlobCache.cpp | 123 const char* fname = mFilename.c_str(); in writeToFile() local 127 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile() 131 if (unlink(fname) == -1) { in writeToFile() 133 ALOGE("error unlinking cache file %s: %s (%d)", fname, in writeToFile() 138 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile() 141 ALOGE("error creating cache file %s: %s (%d)", fname, in writeToFile() 154 unlink(fname); in writeToFile() 164 unlink(fname); in writeToFile() 178 unlink(fname); in writeToFile()
|
/aosp12/frameworks/layoutlib/bridge/src/android/app/ |
H A D | Fragment_Delegate.java | 41 /*package*/ static Fragment instantiate(Context context, String fname) { in instantiate() argument 42 return instantiate(context, fname, null); in instantiate() 60 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { in instantiate() argument 64 Fragment f = (Fragment) bc.getLayoutlibCallback().loadView(fname, in instantiate() 76 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate()
|
/aosp12/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
H A D | nnCache.cpp | 166 const char* fname = mFilename.c_str(); in saveBlobCacheLocked() local 170 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked() 174 if (unlink(fname) == -1) { in saveBlobCacheLocked() 176 ALOGE("error unlinking cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked() 180 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked() 183 ALOGE("error creating cache file %s: %s (%d)", fname, strerror(errno), errno); in saveBlobCacheLocked() 194 unlink(fname); in saveBlobCacheLocked() 203 unlink(fname); in saveBlobCacheLocked() 216 unlink(fname); in saveBlobCacheLocked()
|
/aosp12/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
H A D | dhdu.c | 1221 char *fname; in dhd_sprom() 1706 char *fname = NULL; in dhd_download() 1760 if (fname) in dhd_download() 1784 if (!fname) { in dhd_download() 1988 if (fname) { in dhd_dldn() 1994 if (!fname) in dhd_dldn() 2010 if (!fname) { in dhd_dldn() 2124 if (!fname) { in dhd_upload() 2145 if (!fname) { in dhd_upload() 2307 if (!fname) { in dhd_coredump() [all …]
|
/aosp12/system/bt/bta/gatt/ |
H A D | bta_gattc_cache.cc | 935 char fname[255] = {0}; in bta_gattc_cache_load() local 936 bta_gattc_generate_cache_file_name(fname, sizeof(fname), p_srcb->server_bda); in bta_gattc_cache_load() 938 FILE* fd = fopen(fname, "rb"); in bta_gattc_cache_load() 940 LOG(ERROR) << __func__ << ": can't open GATT cache file " << fname in bta_gattc_cache_load() 955 LOG(ERROR) << __func__ << ": wrong GATT cache version: " << fname; in bta_gattc_cache_load() 995 char fname[255] = {0}; in bta_gattc_cache_write() local 996 bta_gattc_generate_cache_file_name(fname, sizeof(fname), server_bda); in bta_gattc_cache_write() 998 FILE* fd = fopen(fname, "wb"); in bta_gattc_cache_write() 1043 char fname[255] = {0}; in bta_gattc_cache_reset() local 1044 bta_gattc_generate_cache_file_name(fname, sizeof(fname), server_bda); in bta_gattc_cache_reset() [all …]
|
/aosp12/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 124 rtype, fname = parseProto(cmd.elem.find('proto')) 130 % (rtype, overrideSymbolName(fname, self.genOpts.apiname), 131 fmtParams(params), call, fname, 150 rtype, fname = parseProto(cmd.elem.find('proto')) 152 self.cmds.append({'rtype': rtype, 'name': fname, 'params': params}) 217 rtype, fname = parseProto(cmd.elem.find('proto')) 220 print('%s %s ( %s )' % (rtype, fname, fmtParams(params)),
|
/aosp12/build/soong/androidmk/parser/ |
H A D | scope.go | 80 fname := f[0].Value(nil) 81 if isFunctionName(fname) { 88 if fname == "call" { 91 return []string{"__builtin_func:" + fname + " " + strings.Join(argVals, " ")}, true
|
/aosp12/system/memory/libmemtrack/ |
H A D | memtrack_test.cpp | 33 std::string fname = ::android::base::StringPrintf("/proc/%d/cmdline", pid); in getprocname() local 34 if (!::android::base::ReadFileToString(fname, name)) { in getprocname() 35 fprintf(stderr, "Failed to read cmdline from: %s\n", fname.c_str()); in getprocname()
|
/aosp12/system/core/fastboot/fuzzy_fastboot/example/ |
H A D | validator.py | 24 script, command, fname = sys.argv 28 with open(fname, "rb") as fd:
|
/aosp12/system/extras/verity/ |
H A D | Utils.java | 213 static X509Certificate loadPEMCertificate(String fname) throws Exception { in loadPEMCertificate() argument 214 try (FileInputStream fis = new FileInputStream(fname)) { in loadPEMCertificate() 281 static byte[] read(String fname) throws Exception { in read() argument 283 File f = new File(fname); in read() 294 static void write(byte[] data, String fname) throws Exception{ in write() argument 295 FileOutputStream out = new FileOutputStream(fname); in write()
|
/aosp12/art/test/ti-agent/ |
H A D | common_helper.cc | 106 char *fname, *fsig, *fgen; in GetJavaValue() local 107 if (JvmtiErrorToException(env, jvmtienv, jvmtienv->GetMethodName(m, &fname, &fsig, &fgen))) { in GetJavaValue() 113 jvmtienv->Deallocate(reinterpret_cast<unsigned char*>(fname)); in GetJavaValue()
|
/aosp12/system/vold/ |
H A D | cryptfs.cpp | 677 char* fname = NULL; in put_crypt_ftr_and_key() local 682 if (get_crypt_ftr_info(&fname, &starting_off)) { in put_crypt_ftr_and_key() 686 if (fname[0] != '/') { in put_crypt_ftr_and_key() 817 char* fname = NULL; in get_crypt_ftr_and_key() local 824 if (fname[0] != '/') { in get_crypt_ftr_and_key() 920 char* fname; in load_persistent_data() local 953 if (get_crypt_ftr_info(&fname, NULL)) { in load_persistent_data() 962 fd = open(fname, O_RDONLY | O_CLOEXEC); in load_persistent_data() 1010 char* fname; in save_persistent_data() local 1036 if (get_crypt_ftr_info(&fname, NULL)) { in save_persistent_data() [all …]
|
/aosp12/bootable/recovery/tests/common/ |
H A D | test_constants.h | 35 [[maybe_unused]] static std::string from_testdata_base(const std::string& fname) { in from_testdata_base() argument 37 return exec_dir + "/testdata/" + fname; in from_testdata_base()
|
/aosp12/art/test/utils/python/testgen/ |
H A D | utils.py | 57 fname = filetype + ".txt" 58 with (Path(BUILD_TOP)/"development"/"docs"/"copyright-templates"/fname).open() as template:
|
/aosp12/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 726 def lookupElementInfo(self, fname, dictionary): argument 727 key = (fname, self.genOpts.apiname) 731 elif (fname in dictionary): 733 return dictionary[fname] 913 def generateFeature(self, fname, ftype, dictionary, genProc): argument 914 f = self.lookupElementInfo(fname, dictionary) 917 self.gen.logMsg('diag', '*** No entry found for feature', fname, 923 self.gen.logMsg('diag', '*** Skipping', ftype, fname, '(not required)') 951 self.gen.logMsg('diag', '*** Emitting', ftype, 'decl for', fname) 952 genProc(f, fname) [all …]
|
/aosp12/system/tools/hidl/c2hal/test/ |
H A D | build_all.py | 53 fname = header[:-2] 57 "-p", "android.hardware." + fname + "@1.0"]
|
/aosp12/system/memory/libmeminfo/tools/ |
H A D | procrank.cpp | 57 std::string fname = ::android::base::StringPrintf("/proc/%d/oom_score_adj", pid); in ProcessRecord() local 59 std::unique_ptr<FILE, decltype(&fclose)>{fopen(fname.c_str(), "re"), fclose}; in ProcessRecord() 61 std::cerr << "Failed to open oom_score_adj file: " << fname << std::endl; in ProcessRecord() 66 std::cerr << "Failed to read oomadj from: " << fname << std::endl; in ProcessRecord() 70 fname = ::android::base::StringPrintf("/proc/%d/cmdline", pid); in ProcessRecord() 71 if (!::android::base::ReadFileToString(fname, &cmdline_)) { in ProcessRecord() 72 std::cerr << "Failed to read cmdline from: " << fname << std::endl; in ProcessRecord()
|
/aosp12/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
H A D | stress_iio.c | 49 char fname[100]; member 55 printf("%s:%d\n", dmp->fname, d); in sipmle_print() 79 .fname = "event_tap", 84 .fname = "event_smd", 88 .fname = "event_accel_motion", 92 .fname = "event_pedometer", 306 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event() 320 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event()
|