Home
last modified time | relevance | path

Searched refs:fname (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
DCFunc.java24 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()
DJFunc.java26 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()
DGenerateGL.java48 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()
DGenerateEGL.java46 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()
DGenerateGLES.java45 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()
DCodeEmitter.java21 void addNativeRegistration(String fname); in addNativeRegistration() argument
DJniCodeEmitter.java665 String fname = jfunc.getName(); in emitFunction() local
668 if (fname.equals("glColorPointer")) { in emitFunction()
676 } else if (fname.equals("glNormalPointer")) { in emitFunction()
684 } else if (fname.equals("glTexCoordPointer")) { in emitFunction()
695 } else if (fname.equals("glVertexPointer")) { in emitFunction()
706 } else if (fname.equals("glPointSizePointerOES")) { in emitFunction()
712 } else if (fname.equals("glMatrixIndexPointerOES")) { in emitFunction()
723 } else if (fname.equals("glWeightPointer")) { in emitFunction()
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp130 const char* fname = mFilename.c_str(); in writeToFile() local
134 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile()
138 if (unlink(fname) == -1) { in writeToFile()
140 ALOGE("error unlinking cache file %s: %s (%d)", fname, in writeToFile()
145 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile()
148 ALOGE("error creating cache file %s: %s (%d)", fname, in writeToFile()
161 unlink(fname); in writeToFile()
171 unlink(fname); in writeToFile()
185 unlink(fname); in writeToFile()
/frameworks/layoutlib/bridge/src/android/app/
DFragment_Delegate.java41 /*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()
/frameworks/native/opengl/tools/glgen2/
Dglgen.py124 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/base/services/core/java/com/android/server/pm/
DAbstractStatsBase.java59 File fname = new File(systemDir, mFileName); in getFile() local
60 return new AtomicFile(fname); in getFile()
DPackageManagerServiceUtils.java280 File fname = new File(systemDir, "uiderrors.txt");
281 return fname;
323 File fname = getSettingsProblemFile(); in logCriticalInfo() local
324 FileOutputStream out = new FileOutputStream(fname, true); in logCriticalInfo()
331 fname.toString(), in logCriticalInfo()
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py726 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/services/backup/java/com/android/server/backup/utils/
DBackupManagerMonitorDumpsysUtils.java253 File fname = new File(dataDir, "bmmevents.txt"); in getBMMEventsFile() local
254 return fname; in getBMMEventsFile()
428 File fname = getSetUpDateFile(); in getSetUpDate() local
429 try (FileInputStream inputStream = new FileInputStream(fname); in getSetUpDate()
/frameworks/base/core/java/android/app/
DFragment.java518 public static Fragment instantiate(Context context, String fname) { in instantiate() argument
519 return instantiate(context, fname, null); in instantiate()
536 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { in instantiate() argument
538 Class<?> clazz = sClassMap.get(fname); in instantiate()
541 clazz = context.getClassLoader().loadClass(fname); in instantiate()
543 throw new InstantiationException("Trying to instantiate a class " + fname in instantiate()
546 sClassMap.put(fname, clazz); in instantiate()
555 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
559 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
563 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
[all …]
DFragmentManager.java3521 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/native/libs/binder/rust/src/
Dbinder.rs806 $($fname:ident: $fty:ty = $finit:expr),*
815 $($fname: $fty = $finit),*
827 $($fname:ident: $fty:ty = $finit:expr),*
839 $($fname: $fty = $finit),*
854 $($fname:ident: $fty:ty = $finit:expr),*
865 $($fname: $fty,)*
883 Ok(Self { binder, $($fname: $finit),* })
/frameworks/base/libs/androidfw/
DAsset.cpp681 const char* fname = mMap->file_name(); in openFileDescriptor() local
682 if (fname == NULL) { in openFileDescriptor()
683 fname = mFileName; in openFileDescriptor()
685 if (fname == NULL) { in openFileDescriptor()
690 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java975 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
984 if (fname == null) { in readPermissionsFromXml()
988 addFeature(fname, fversion); in readPermissionsFromXml()
997 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
998 if (fname == null) { in readPermissionsFromXml()
1002 mUnavailableFeatures.add(fname); in readPermissionsFromXml()