/frameworks/layoutlib/bridge/src/android/app/ |
D | Fragment_Delegate.java | 53 /*package*/ static Fragment instantiate(Context context, String fname) { in instantiate() argument 54 return instantiate(context, fname, null); in instantiate() 72 /*package*/ static Fragment instantiate(Context context, String fname, Bundle args) { in instantiate() argument 75 Fragment f = (Fragment) sLayoutlibCallback.loadView(fname, in instantiate() 87 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 91 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 95 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate() 99 throw new Fragment.InstantiationException("Unable to instantiate fragment " + fname in instantiate()
|
/frameworks/native/opengl/tools/glgen/src/ |
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()
|
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()
|
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()
|
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()
|
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()
|
D | CodeEmitter.java | 21 void addNativeRegistration(String fname); in addNativeRegistration() argument
|
D | JniCodeEmitter.java | 637 String fname = jfunc.getName(); in emitFunction() local 640 if (fname.equals("glColorPointer")) { in emitFunction() 648 } else if (fname.equals("glNormalPointer")) { in emitFunction() 656 } else if (fname.equals("glTexCoordPointer")) { in emitFunction() 667 } else if (fname.equals("glVertexPointer")) { in emitFunction() 678 } else if (fname.equals("glPointSizePointerOES")) { in emitFunction() 684 } else if (fname.equals("glMatrixIndexPointerOES")) { in emitFunction() 695 } else if (fname.equals("glWeightPointer")) { in emitFunction()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 121 const char* fname = mFilename.c_str(); in writeToFile() local 125 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile() 129 if (unlink(fname) == -1) { in writeToFile() 131 ALOGE("error unlinking cache file %s: %s (%d)", fname, in writeToFile() 136 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile() 139 ALOGE("error creating cache file %s: %s (%d)", fname, in writeToFile() 152 unlink(fname); in writeToFile() 162 unlink(fname); in writeToFile() 176 unlink(fname); in writeToFile()
|
/frameworks/ml/nn/driver/cache/nnCache/ |
D | nnCache.cpp | 168 const char* fname = mFilename.c_str(); in saveBlobCacheLocked() local 172 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked() 176 if (unlink(fname) == -1) { in saveBlobCacheLocked() 178 ALOGE("error unlinking cache file %s: %s (%d)", fname, in saveBlobCacheLocked() 183 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked() 186 ALOGE("error creating cache file %s: %s (%d)", fname, in saveBlobCacheLocked() 199 unlink(fname); in saveBlobCacheLocked() 209 unlink(fname); in saveBlobCacheLocked() 223 unlink(fname); in saveBlobCacheLocked()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/ |
D | add_person.go | 97 fname := os.Args[1] 100 in, err := ioutil.ReadFile(fname) 103 fmt.Printf("%s: File not found. Creating new file.\n", fname) 129 if err := ioutil.WriteFile(fname, out, 0644); err != nil {
|
D | list_people.go | 46 fname := os.Args[1] 50 in, err := ioutil.ReadFile(fname)
|
/frameworks/native/opengl/tools/glgen2/ |
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)),
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/benchmarks/ |
D | generate_datasets.cc | 83 std::string fname = file_prefix + name + file_suffix; in WriteFileWithPayloads() local 84 writer.open(fname.c_str()); in WriteFileWithPayloads() 88 std::cerr << "Wrote dataset: " << fname << "\n"; in WriteFileWithPayloads()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | AbstractStatsBase.java | 59 File fname = new File(systemDir, mFileName); in getFile() local 60 return new AtomicFile(fname); in getFile()
|
D | PackageManagerServiceUtils.java | 329 File fname = new File(systemDir, "uiderrors.txt"); in getSettingsProblemFile() local 330 return fname; in getSettingsProblemFile() 362 File fname = getSettingsProblemFile(); in logCriticalInfo() local 363 FileOutputStream out = new FileOutputStream(fname, true); in logCriticalInfo() 370 fname.toString(), in logCriticalInfo()
|
/frameworks/native/opengl/tools/glgen2/registry/ |
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)') 926 self.gen.logMsg('diag', '*** Skipping', ftype, fname, '(already declared)') 951 self.gen.logMsg('diag', '*** Emitting', ftype, 'decl for', fname) [all …]
|
/frameworks/base/core/java/android/app/ |
D | Fragment.java | 513 public static Fragment instantiate(Context context, String fname) { in instantiate() argument 514 return instantiate(context, fname, null); in instantiate() 531 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { in instantiate() argument 533 Class<?> clazz = sClassMap.get(fname); in instantiate() 536 clazz = context.getClassLoader().loadClass(fname); in instantiate() 538 throw new InstantiationException("Trying to instantiate a class " + fname in instantiate() 541 sClassMap.put(fname, clazz); in instantiate() 550 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate() 554 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate() 558 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate() [all …]
|
D | FragmentManager.java | 3521 String fname = attrs.getAttributeValue(null, "class"); in onCreateView() local 3524 if (fname == null) { in onCreateView() 3525 fname = a.getString(com.android.internal.R.styleable.Fragment_name); in onCreateView() 3535 + " an id for " + fname); in onCreateView() 3550 + Integer.toHexString(id) + " fname=" + fname in onCreateView() 3553 fragment = mContainer.instantiate(context, fname, null); in onCreateView() 3569 + " with another fragment for " + fname); in onCreateView() 3594 throw new IllegalStateException("Fragment " + fname in onCreateView()
|
/frameworks/opt/gamesdk/src/tuningfork/ |
D | tuningfork_utils.h | 45 bool FileExists(const std::string& fname);
|
D | tuningfork_utils.cpp | 119 bool FileExists(const std::string& fname) { in FileExists() argument 121 return (stat(fname.c_str(), &buffer)==0); in FileExists()
|
D | uploadthread.cpp | 135 std::string slurpFile(const char* fname) { in slurpFile() argument 136 std::ifstream f(fname); in slurpFile()
|
/frameworks/base/libs/androidfw/ |
D | Asset.cpp | 679 const char* fname = mMap->getFileName(); in openFileDescriptor() local 680 if (fname == NULL) { in openFileDescriptor() 681 fname = mFileName; in openFileDescriptor() 683 if (fname == NULL) { in openFileDescriptor() 688 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHelper.java | 197 public void storeStatsHistoryInFile(String fname) { in storeStatsHistoryInFile() argument 199 File path = makeFilePath(mContext, fname); in storeStatsHistoryInFile() 221 public static BatteryStats statsFromFile(Context context, String fname) { in statsFromFile() argument 223 File path = makeFilePath(context, fname); in statsFromFile() 252 public static void dropFile(Context context, String fname) { in dropFile() argument 253 makeFilePath(context, fname).delete(); in dropFile() 256 private static File makeFilePath(Context context, String fname) { in makeFilePath() argument 257 return new File(context.getFilesDir(), fname); in makeFilePath()
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 609 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local 618 if (fname == null) { in readPermissionsFromXml() 622 addFeature(fname, fversion); in readPermissionsFromXml() 631 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local 632 if (fname == null) { in readPermissionsFromXml() 636 mUnavailableFeatures.add(fname); in readPermissionsFromXml()
|