Searched refs:fname (Results 1 - 22 of 22) sorted by relevance

/frameworks/native/opengl/tools/glgen/src/
H A DCodeEmitter.java21 void addNativeRegistration(String fname); argument
H A DCFunc.java24 String fname; field in class:CFunc
41 public void setName(String fname) { argument
42 this.fname = fname;
46 return fname;
108 String s = "Function " + fname + " returns " + ftype + ": ";
131 String fname = tokens[i++];
132 if (fname.equals("*")) {
134 fname = tokens[i++];
137 cfunc.setName(fname);
[all...]
H A DJFunc.java26 String fname; field in class:JFunc
44 public void setName(String fname) { argument
45 this.fname = fname;
49 return fname;
159 String s = "Function " + fname + " returns " + ftype + ": ";
H A DGenerateGL.java48 String fname = cfunc.getName();
49 File f = new File("stubs/jsr239/" + fname +
52 System.out.println("Special-casing function " + fname);
53 copy("stubs/jsr239/" + fname +
55 copy("stubs/jsr239/" + fname + ".java-impl", glImplStream);
56 copy("stubs/jsr239/" + fname + ".cpp", cStream);
60 String filename = "stubs/jsr239/" + fname + ".nativeReg";
H A DGenerateEGL.java46 String fname = cfunc.getName();
47 String stubRoot = "stubs/egl/" + fname;
51 System.out.println("Special-casing function " + fname);
H A DGenerateGLES.java46 String fname = cfunc.getName();
47 String stubRoot = "stubs/gles11/" + fname;
51 System.out.println("Special-casing function " + fname);
H A DJniCodeEmitter.java583 String fname = jfunc.getName();
586 if (fname.equals("glColorPointer")) {
594 } else if (fname.equals("glNormalPointer")) {
602 } else if (fname.equals("glTexCoordPointer")) {
613 } else if (fname.equals("glVertexPointer")) {
624 } else if (fname.equals("glPointSizePointerOES")) {
630 } else if (fname.equals("glMatrixIndexPointerOES")) {
641 } else if (fname.equals("glWeightPointer")) {
/frameworks/base/tools/layoutlib/bridge/src/android/app/
H A DFragment_Delegate.java53 /*package*/ static Fragment instantiate(Context context, String fname) { argument
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) { argument
75 Fragment f = (Fragment) sProjectCallback.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
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.h86 bool GetElementMinBound(const Key &fname, double *val) const { argument
87 return GetValue(wmin_, fname, val);
89 bool GetElementMaxBound(const Key &fname, double *val) const { argument
90 return GetValue(wmax_, fname, val);
92 void SetElementMinBound(const Key &fname, const double bound) { argument
93 wmin_[fname] = bound;
95 void SetElementMaxBound(const Key &fname, const double bound) { argument
96 wmax_[fname] = bound;
99 double GetElement(const Key &fname) const {
101 GetValue(w_, fname,
104 SetElement(const Key &fname, const double val) argument
108 AddUpdateElement(const Key &fname, const double val) argument
111 MultUpdateElement(const Key &fname, const double val) argument
176 GetValue(const Wmap &w1, const Key &fname, double *val) const argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_cache.cpp223 const char* fname = mFilename.string(); local
227 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
231 if (unlink(fname) == -1) {
233 ALOGE("error unlinking cache file %s: %s (%d)", fname,
238 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0);
241 ALOGE("error creating cache file %s: %s (%d)", fname,
254 unlink(fname);
265 unlink(fname);
279 unlink(fname);
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dgenapi.py371 def genHeaders(apis, fname):
384 with open(fname, "w") as f:
387 def genSrcs(apis, fname):
401 with open(fname, "w") as f:
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.c278 it in the 20-byte array digest. If fname is NULL, stdin is
281 void sha1file(char *fname, unsigned char* digest) argument
288 if (fname)
290 f = fopen(fname, "rb");
293 fprintf(stderr, "Can't open %s\n", fname);
309 if (fname)
328 int verifyfile(char *fname) argument
339 checkfile = fopen(fname, "rt");
342 fprintf(stderr, "Can't open %s\n", fname);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentActivity.java241 String fname = attrs.getAttributeValue(null, "class");
243 if (fname == null) {
244 fname = a.getString(FragmentTag.Fragment_name);
254 + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname);
269 + Integer.toHexString(id) + " fname=" + fname
272 fragment = Fragment.instantiate(this, fname);
288 + " with another fragment for " + fname);
303 throw new IllegalStateException("Fragment " + fname
H A DFragment.java368 public static Fragment instantiate(Context context, String fname) { argument
369 return instantiate(context, fname, null);
378 * @param fname The class name of the fragment to instantiate.
386 public static Fragment instantiate(Context context, String fname, Bundle args) { argument
388 Class<?> clazz = sClassMap.get(fname);
391 clazz = context.getClassLoader().loadClass(fname);
392 sClassMap.put(fname, clazz);
401 throw new InstantiationException("Unable to instantiate fragment " + fname
405 throw new InstantiationException("Unable to instantiate fragment " + fname
409 throw new InstantiationException("Unable to instantiate fragment " + fname
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java559 public static Fragment instantiate(Context context, String fname) { argument
560 return instantiate(context, fname, null);
569 * @param fname The class name of the fragment to instantiate.
577 public static Fragment instantiate(Context context, String fname, Bundle args) { argument
579 Class<?> clazz = sClassMap.get(fname);
582 clazz = context.getClassLoader().loadClass(fname);
583 sClassMap.put(fname, clazz);
592 throw new InstantiationException("Unable to instantiate fragment " + fname
596 throw new InstantiationException("Unable to instantiate fragment " + fname
600 throw new InstantiationException("Unable to instantiate fragment " + fname
[all...]
H A DActivity.java4678 String fname = attrs.getAttributeValue(null, "class");
4681 if (fname == null) {
4682 fname = a.getString(com.android.internal.R.styleable.Fragment_name);
4691 + ": Must specify unique android:id, android:tag, or have a parent with an id for " + fname);
4706 + Integer.toHexString(id) + " fname=" + fname
4709 fragment = Fragment.instantiate(this, fname);
4725 + " with another fragment for " + fname);
4740 throw new IllegalStateException("Fragment " + fname
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
212 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname) argument
/frameworks/base/libs/androidfw/
H A DAsset.cpp626 const char* fname = mMap->getFileName(); local
627 if (fname == NULL) {
628 fname = mFileName;
630 if (fname == NULL) {
635 return open(fname, O_RDONLY | O_BINARY);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM_s.h193 ;// The field is called $sname_$fname
197 M_FIELD $fname, $size, $number
201 $_Struct._$fname EQU _StOff
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM_s.h196 ;// The field is called $sname_$fname
200 M_FIELD $fname, $size, $number
204 $_Struct._$fname EQU _StOff
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java1525 String fname = parser.getAttributeValue(null, "name");
1526 if (fname == null) {
1530 //Log.i(TAG, "Got feature " + fname);
1532 fi.name = fname;
1533 mAvailableFeatures.put(fname, fi);
3175 File fname = new File(systemDir, "uiderrors.txt");
3176 return fname;
3181 File fname = getSettingsProblemFile();
3182 FileOutputStream out = new FileOutputStream(fname, true);
3189 fname
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java7639 File fname = new File(systemDir, "called_pre_boots.dat");
7640 return fname;

Completed in 4206 milliseconds