Home
last modified time | relevance | path

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

/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
Dsparse_weight_vector.h87 bool GetElementMinBound(const Key &fname, double *val) const { in GetElementMinBound() argument
88 return GetValue(wmin_, fname, val); in GetElementMinBound()
90 bool GetElementMaxBound(const Key &fname, double *val) const { in GetElementMaxBound() argument
91 return GetValue(wmax_, fname, val); in GetElementMaxBound()
93 void SetElementMinBound(const Key &fname, const double bound) { in SetElementMinBound() argument
94 wmin_[fname] = bound; in SetElementMinBound()
96 void SetElementMaxBound(const Key &fname, const double bound) { in SetElementMaxBound() argument
97 wmax_[fname] = bound; in SetElementMaxBound()
100 double GetElement(const Key &fname) const { in GetElement() argument
102 GetValue(w_, fname, &val); in GetElement()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/app/
DFragment_Delegate.java53 /*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/
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.java583 String fname = jfunc.getName(); in emitFunction() local
586 if (fname.equals("glColorPointer")) { in emitFunction()
594 } else if (fname.equals("glNormalPointer")) { in emitFunction()
602 } else if (fname.equals("glTexCoordPointer")) { in emitFunction()
613 } else if (fname.equals("glVertexPointer")) { in emitFunction()
624 } else if (fname.equals("glPointSizePointerOES")) { in emitFunction()
630 } else if (fname.equals("glMatrixIndexPointerOES")) { in emitFunction()
641 } else if (fname.equals("glWeightPointer")) { in emitFunction()
/frameworks/native/opengl/libs/EGL/
Degl_cache.cpp221 const char* fname = mFilename.string(); in saveBlobCacheLocked() local
225 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked()
229 if (unlink(fname) == -1) { in saveBlobCacheLocked()
231 ALOGE("error unlinking cache file %s: %s (%d)", fname, in saveBlobCacheLocked()
236 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in saveBlobCacheLocked()
239 ALOGE("error creating cache file %s: %s (%d)", fname, in saveBlobCacheLocked()
252 unlink(fname); in saveBlobCacheLocked()
262 unlink(fname); in saveBlobCacheLocked()
276 unlink(fname); in saveBlobCacheLocked()
/frameworks/base/services/core/java/com/android/server/
DSystemConfig.java310 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
318 if (fname == null) { in readPermissionsFromXml()
324 fi.name = fname; in readPermissionsFromXml()
325 mAvailableFeatures.put(fname, fi); in readPermissionsFromXml()
331 String fname = parser.getAttributeValue(null, "name"); in readPermissionsFromXml() local
332 if (fname == null) { in readPermissionsFromXml()
336 mUnavailableFeatures.add(fname); in readPermissionsFromXml()
397 for (String fname : mUnavailableFeatures) { in readPermissionsFromXml()
398 if (mAvailableFeatures.remove(fname) != null) { in readPermissionsFromXml()
399 Slog.d(TAG, "Removed unavailable feature " + fname); in readPermissionsFromXml()
/frameworks/native/opengl/tools/glgen2/
Dglgen.py125 rtype, fname = parseTypedName(cmd.elem.find('proto'))
132 % (rtype, overrideSymbolName(fname, self.genOpts.apiname),
133 fmtParams(params), call, fname,
150 rtype, fname = parseTypedName(cmd.elem.find('proto'))
152 self.cmds.append({'rtype': rtype, 'name': fname, 'params': params})
235 rtype, fname = parseTypedName(cmd.elem.find('proto'))
238 print('%s %s ( %s )' % (rtype, fname, fmtParams(params)),
/frameworks/support/v4/java/android/support/v4/app/
DFragment.java397 public static Fragment instantiate(Context context, String fname) { in instantiate() argument
398 return instantiate(context, fname, null); in instantiate()
415 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { in instantiate() argument
417 Class<?> clazz = sClassMap.get(fname); in instantiate()
420 clazz = context.getClassLoader().loadClass(fname); in instantiate()
421 sClassMap.put(fname, clazz); in instantiate()
430 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
434 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
438 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
452 static boolean isSupportFragmentClass(Context context, String fname) { in isSupportFragmentClass() argument
[all …]
DFragmentManager.java2190 String fname = attrs.getAttributeValue(null, "class"); in onCreateView() local
2192 if (fname == null) { in onCreateView()
2193 fname = a.getString(FragmentTag.Fragment_name); in onCreateView()
2199 if (!Fragment.isSupportFragmentClass(mHost.getContext(), fname)) { in onCreateView()
2208 … + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname); in onCreateView()
2223 + Integer.toHexString(id) + " fname=" + fname in onCreateView()
2226 fragment = Fragment.instantiate(context, fname); in onCreateView()
2242 + " with another fragment for " + fname); in onCreateView()
2264 throw new IllegalStateException("Fragment " + fname in onCreateView()
/frameworks/native/opengl/libs/GLES_trace/tools/
Dgenapi.py379 def genHeaders(apis, fname): argument
392 with open(fname, "w") as f:
395 def genSrcs(apis, fname): argument
409 with open(fname, "w") as f:
/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/core/java/com/android/internal/os/
DBatteryStatsHelper.java167 public void storeStatsHistoryInFile(String fname) { in storeStatsHistoryInFile() argument
169 File path = makeFilePath(mContext, fname); in storeStatsHistoryInFile()
191 public static BatteryStats statsFromFile(Context context, String fname) { in statsFromFile() argument
193 File path = makeFilePath(context, fname); in statsFromFile()
221 public static void dropFile(Context context, String fname) { in dropFile() argument
222 makeFilePath(context, fname).delete(); in dropFile()
225 private static File makeFilePath(Context context, String fname) { in makeFilePath() argument
226 return new File(context.getFilesDir(), fname); in makeFilePath()
/frameworks/base/core/java/android/app/
DFragment.java583 public static Fragment instantiate(Context context, String fname) { in instantiate() argument
584 return instantiate(context, fname, null); in instantiate()
601 public static Fragment instantiate(Context context, String fname, @Nullable Bundle args) { in instantiate() argument
603 Class<?> clazz = sClassMap.get(fname); in instantiate()
606 clazz = context.getClassLoader().loadClass(fname); in instantiate()
608 throw new InstantiationException("Trying to instantiate a class " + fname in instantiate()
611 sClassMap.put(fname, clazz); in instantiate()
620 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
624 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
628 throw new InstantiationException("Unable to instantiate fragment " + fname in instantiate()
DFragmentManager.java2160 String fname = attrs.getAttributeValue(null, "class"); in onCreateView() local
2163 if (fname == null) { in onCreateView()
2164 fname = a.getString(com.android.internal.R.styleable.Fragment_name); in onCreateView()
2174 + " an id for " + fname); in onCreateView()
2189 + Integer.toHexString(id) + " fname=" + fname in onCreateView()
2192 fragment = Fragment.instantiate(context, fname); in onCreateView()
2208 + " with another fragment for " + fname); in onCreateView()
2230 throw new IllegalStateException("Fragment " + fname in onCreateView()
/frameworks/base/libs/androidfw/
DAsset.cpp632 const char* fname = mMap->getFileName(); in openFileDescriptor() local
633 if (fname == NULL) { in openFileDescriptor()
634 fname = mFileName; in openFileDescriptor()
636 if (fname == NULL) { in openFileDescriptor()
641 return open(fname, O_RDONLY | O_BINARY); in openFileDescriptor()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
DarmCOMM_s.h214 M_FIELD $fname, $size, $number
218 $_Struct._$fname EQU _StOff
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
DarmCOMM_s.h211 M_FIELD $fname, $size, $number
215 $_Struct._$fname EQU _StOff
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1094 File fname = new File(systemDir, "package-usage.list"); in getFile() local
1095 return new AtomicFile(fname); in getFile()
5651 File fname = new File(systemDir, "uiderrors.txt"); in getSettingsProblemFile() local
5652 return fname; in getSettingsProblemFile()
5663 File fname = getSettingsProblemFile(); in logCriticalInfo() local
5664 FileOutputStream out = new FileOutputStream(fname, true); in logCriticalInfo()
5671 fname.toString(), in logCriticalInfo()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java11464 File fname = new File(systemDir, CALLED_PRE_BOOTS_FILENAME); in getCalledPreBootReceiversFile() local
11465 return fname; in getCalledPreBootReceiversFile()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...