/device/generic/goldfish-opengl/system/egl/ |
D | ClientAPIExts.cpp | 29 #define FUNC_TYPE(fname) __egl_ ## fname ## _t argument 31 #define API_ENTRY(fname,params,args) \ argument 32 typedef void (GL_APIENTRY *FUNC_TYPE(fname)) params; // NOLINT 34 #define API_ENTRY_RET(rtype,fname,params,args) \ argument 35 typedef rtype (GL_APIENTRY *FUNC_TYPE(fname)) params; // NOLINT 47 #define API_ENTRY(fname,params,args) \ argument 48 FUNC_TYPE(fname) (fname); 50 #define API_ENTRY_RET(rtype,fname,params,args) \ argument 51 API_ENTRY(fname,params,args) 67 #define API_ENTRY(fname,params,args) \ in initClientFuncs() argument [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
D | gprof2html.py | 44 stuff, fname = m.group(1, 2) 45 labels[fname] = fname 47 (stuff, fname, fname, fname)) 59 prefix, fname, suffix = m.group(1, 2, 3) 60 if fname not in labels: 65 (prefix, fname, fname, fname, suffix)) 68 (prefix, fname, fname, suffix))
|
D | checkappend.py | 98 def __init__(self, fname, file): argument 99 self.fname = fname 108 errprint("%r: Token Error: %s" % (self.fname, msg)) 152 print "%s(%d):\n%s" % (self.fname, self.lineno,
|
D | ndiff.py | 61 def fopen(fname): argument 63 return open(fname, 'U') 65 return fail("couldn't open " + fname + ": " + str(detail))
|
D | combinerefs.py | 88 def combine(fname): argument 89 f = file(fname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_dircache.py | 17 for fname in os.listdir(self.tempdir): 18 self.delTemp(fname) 21 def writeTemp(self, fname): argument 22 f = open(os.path.join(self.tempdir, fname), 'w') 25 def mkdirTemp(self, fname): argument 26 os.mkdir(os.path.join(self.tempdir, fname)) 28 def delTemp(self, fname): argument 29 fname = os.path.join(self.tempdir, fname) 30 if os.path.isdir(fname): 31 os.rmdir(fname) [all …]
|
D | test_mhlib.py | 34 def writeFile(fname, contents): argument 35 dir = os.path.split(fname)[0] 38 f = open(fname, 'w') 42 def readFile(fname): argument 43 f = open(fname) 79 def mkdirs(fname): argument 80 if os.path.exists(fname) or fname == '': 82 base, file = os.path.split(fname) 84 os.mkdir(fname) 86 def deltree(fname): argument [all …]
|
D | test_compile.py | 455 fname = __file__ 456 if fname.lower().endswith(('pyc', 'pyo')): 457 fname = fname[:-1] 458 with open(fname, 'r') as f: 469 [fname, fcontents], 472 for fname, code in sample_code: 473 co1 = compile(code, '%s1' % fname, 'exec') 474 ast = compile(code, '%s2' % fname, 'exec', _ast.PyCF_ONLY_AST) 476 co2 = compile(ast, '%s3' % fname, 'exec') 479 self.assertEqual(co2.co_filename, '%s3' % fname)
|
D | test_bsddb.py | 21 self.f = self.openmethod[0](self.fname, self.openflag, cachesize=32768) 29 if self.fname is None: 32 os.remove(self.fname) 50 if self.fname is None: 55 self.f = self.openmethod[0](self.fname, 'w') 323 fname = test_support.TESTFN variable in TestBTree 327 fname = None variable in TestBTree_InMemory 331 fname = None variable in TestBTree_InMemory_Truncate 336 fname = test_support.TESTFN variable in TestHashTable 340 fname = None variable in TestHashTable_InMemory
|
D | test_subprocess.py | 32 fname = tempfile.mktemp() 33 return os.open(fname, os.O_RDWR|os.O_CREAT), fname 689 f, fname = mkstemp() 694 os.chmod(fname, 0o700) 695 p = subprocess.Popen(fname) 697 os.remove(fname) 733 f, fname = mkstemp() 738 os.chmod(fname, 0700) 739 rc = subprocess.call(fname) 740 os.remove(fname) [all …]
|
D | test_zipfile64.py | 93 for fname in TESTFN, TESTFN2: 94 if os.path.exists(fname): 95 os.remove(fname)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): argument 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f: [all …]
|
D | toaiff.py | 81 (fd, fname) = tempfile.mkstemp() 83 temps.append(fname) 84 sts = uncompress.copy(filename, fname) 88 fname = filename 90 ftype = sndhdr.whathdr(fname) 101 return fname 107 sts = table[ftype].copy(fname, temp)
|
D | pyclbr.py | 136 f, fname, (_s, _m, ty) = imp.find_module(module, path) 138 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 140 dict['__path__'] = [fname] 141 path = [fname] + path 142 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 176 fname, lineno) 229 fname, lineno)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | runpy.py | 151 mod_name, loader, code, fname = _get_module_details(mod_name) 153 mod_name, loader, code, fname = _get_main_module_details() 160 sys.argv[0] = fname 162 "__main__", fname, loader, pkg_name) 170 mod_name, loader, code, fname = _get_module_details(mod_name) 176 fname, loader, pkg_name) 180 fname, loader, pkg_name) 213 def _get_code_from_file(fname): argument 215 with open(fname, "rb") as f: 219 with open(fname, "rU") as f: [all …]
|
/device/google/dragon/sensor_hub/ |
D | cros_ec_sensors.cpp | 406 char fname[PATH_MAX]; in cros_ec_sysfs_set_input_attr() local 410 snprintf(fname, sizeof(fname), "%s%s/%s", IIO_DIR, path, attr); in cros_ec_sysfs_set_input_attr() 411 fname[sizeof(fname) - 1] = '\0'; in cros_ec_sysfs_set_input_attr() 413 fd = open(fname, O_WRONLY); in cros_ec_sysfs_set_input_attr() 416 fname, fd, strerror(errno)); in cros_ec_sysfs_set_input_attr() 424 ALOGE("fname = %s, value = %s\n", fname, value); in cros_ec_sysfs_set_input_attr()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ |
D | PBlackBox.h | 72 ParserBlackBox(char *fname) in ParserBlackBox() argument 74 FILE *f = fopen(fname, "r"); in ParserBlackBox() 77 cerr << "cannot open " << fname << "\n"; return; in ParserBlackBox()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ |
D | PBlackBox.h | 95 ParserBlackBox(char *fname) in ParserBlackBox() argument 104 FILE *f = fopen(fname, "r"); in ParserBlackBox() 107 cerr << "cannot open " << fname << "\n"; return; in ParserBlackBox()
|
/device/linaro/hikey/l-loader/ |
D | gen_loader.py | 60 def parse(self, fname): argument 62 fptable = open(fname, "rb") 101 def add(self, lba, fname): argument 103 fsize = os.path.getsize(fname) 141 print 'lba: ', lba, 'blocks: ', blocks, 'bootp: ', bootp, 'fname: ', fname 143 fimg = open(fname, "rb")
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | getargs.c | 217 const char *fname = NULL; in vgetargs1() local 253 fname = format; in vgetargs1() 288 fname==NULL ? "function" : fname, in vgetargs1() 289 fname==NULL ? "" : "()"); in vgetargs1() 297 fname==NULL ? "function" : fname, in vgetargs1() 298 fname==NULL ? "" : "()"); in vgetargs1() 306 seterror(levels[0], msg, levels+1, fname, message); in vgetargs1() 329 fname==NULL ? "function" : fname, in vgetargs1() 330 fname==NULL ? "" : "()", in vgetargs1() 349 seterror(i+1, msg, levels, fname, msg); in vgetargs1() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | getargs.c | 217 const char *fname = NULL; in vgetargs1() local 253 fname = format; in vgetargs1() 288 fname==NULL ? "function" : fname, in vgetargs1() 289 fname==NULL ? "" : "()"); in vgetargs1() 297 fname==NULL ? "function" : fname, in vgetargs1() 298 fname==NULL ? "" : "()"); in vgetargs1() 306 seterror(levels[0], msg, levels+1, fname, message); in vgetargs1() 329 fname==NULL ? "function" : fname, in vgetargs1() 330 fname==NULL ? "" : "()", in vgetargs1() 349 seterror(i+1, msg, levels, fname, msg); in vgetargs1() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/tests/ |
D | test_encode_basestring_ascii.py | 26 fname = self.json.encoder.encode_basestring_ascii.__name__ 31 result, expect, fname, input_string))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/tests/ |
D | test_encode_basestring_ascii.py | 26 fname = self.json.encoder.encode_basestring_ascii.__name__ 31 result, expect, fname, input_string))
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/ |
D | lauxlib.c | 207 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() argument 215 if (fname) in luaL_fileresult() 216 lua_pushfstring(L, "%s: %s", fname, strerror(en)); in luaL_fileresult() 768 const char *fname, int szhint) { in luaL_findtable() argument 772 e = strchr(fname, '.'); in luaL_findtable() 773 if (e == NULL) e = fname + strlen(fname); in luaL_findtable() 774 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 779 lua_pushlstring(L, fname, e - fname); in luaL_findtable() 785 return fname; /* return problematic part of the name */ in luaL_findtable() 788 fname = e + 1; in luaL_findtable() [all …]
|
/device/google/contexthub/util/nanoapp_cmd/ |
D | nanoapp_cmd.c | 191 FILE *openFile(const char *fname, const char *mode) in openFile() argument 193 FILE *f = fopen(fname, mode); in openFile() 195 LOGE("Failed to open %s: err=%d [%s]", fname, errno, strerror(errno)); in openFile() 277 bool fileWriteData(const char *fname, const void *data, size_t size) in fileWriteData() argument 282 fd = open(fname, O_WRONLY); in fileWriteData() 284 LOGE("Failed to open %s: err=%d [%s]", fname, errno, strerror(errno)); in fileWriteData() 290 LOGE("Failed to write to %s; err=%d [%s]", fname, errno, strerror(errno)); in fileWriteData()
|