/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
codeop.py | 61 _features = [getattr(__future__, fname) 62 for fname in __future__.all_feature_names]
|
pyclbr.py | 138 f, fname, (_s, _m, ty) = imp.find_module(module, path) 140 f, fname, (_s, _m, ty) = imp.find_module(module, path + sys.path) 142 dict['__path__'] = [fname] 143 path = [fname] + path 144 f, fname, (_s, _m, ty) = imp.find_module('__init__', [fname]) 178 fname, lineno) 231 fname, lineno)
|
/system/core/toolbox/ |
newfs_msdos.c | 260 const char *fname, *dtype, *bname; local 360 fname = *argv++; 361 if (!opt_create && !strchr(fname, '/')) { 362 snprintf(buf, sizeof(buf), "%s%s", _PATH_DEV, fname); 363 if (!(fname = strdup(buf))) 376 fd = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0644); 378 errx(1, "failed to create %s", fname); 381 } else if ((fd = open(fname, opt_N ? O_RDONLY : O_RDWR)) == -1) 382 err(1, "%s", fname); 384 err(1, "%s", fname); [all...] |
/external/iproute2/ip/ |
iptuntap.c | 222 char fname[IFNAMSIZ+25], buf[80], *endp; local 227 sprintf(fname, "/sys/class/net/%s/%s", dev, prop); 228 fd = open(fname, O_RDONLY); 231 fprintf(stderr, "open %s: %s\n", fname, 238 fprintf(stderr, "read %s: %s", fname, strerror(errno)); 245 fprintf(stderr, "Failed to parse %s\n", fname);
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 312 prsa_parse_file(struct genlist *list, char *fname, enum rsa_key_type type) 317 if (!fname) 321 if (stat(fname, &st) < 0) 326 fname); 333 fp = fopen(fname, "r"); 338 prsa_cur_fname = fname;
|
/external/selinux/libsemanage/tests/ |
test_utilities.c | 46 char fname[] = { variable 55 fd = mkstemp(fname); 77 unlink(fname); 253 tok = semanage_findval(fname, "one", NULL); 256 tok = semanage_findval(fname, "one", ""); 260 tok = semanage_findval(fname, "sigma", "=");
|
/external/skia/src/utils/ |
SkRTConf.cpp | 101 void SkRTConfRegistry::printAll(const char *fname) const { 104 if (fname) { 105 o = new SkFILEWStream(fname); 135 void SkRTConfRegistry::printNonDefault(const char *fname) const { 138 if (fname) { 139 o = new SkFILEWStream(fname);
|
/system/core/fs_mgr/ |
fs_mgr_verity.cpp | 363 static int check_verity_restart(const char *fname) 371 fd = TEMP_FAILURE_RETRY(open(fname, O_RDONLY | O_CLOEXEC)); 375 ERROR("Failed to open %s (%s)\n", fname, strerror(errno)); 381 ERROR("Failed to fstat %s (%s)\n", fname, strerror(errno)); 392 ERROR("Failed to lseek %jd %s (%s)\n", (intmax_t)(s.st_size - size), fname, 398 ERROR("Failed to read %zd bytes from %s (%s)\n", size, fname, 453 static int metadata_find(const char *fname, const char *stag, 464 if (!fname) { 468 fp = fopen(fname, "r+"); 471 ERROR("Failed to open %s (%s)\n", fname, strerror(errno)) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface_unix.c | 492 char *fname = NULL; local 604 fname = wpa_supplicant_ctrl_iface_path(wpa_s); 605 if (fname == NULL) 607 os_strlcpy(addr.sun_path, fname, sizeof(addr.sun_path)); 616 if (unlink(fname) < 0) { 619 fname, strerror(errno)); 629 "ctrl_iface socket '%s'", fname); 634 "not used anymore", fname); 635 os_free(fname); 636 fname = NULL 800 char *fname; local [all...] |
bgscan_learn.c | 38 char *fname; member in struct:bgscan_learn_data 107 if (data->fname == NULL) 110 f = fopen(data->fname, "r"); 115 data->fname); 120 data->fname); 166 if (data->fname == NULL) 170 data->fname); 172 f = fopen(data->fname, "w"); 344 data->fname = os_strdup(pos); 396 os_free(data->fname); [all...] |
/external/selinux/libselinux/src/ |
booleans.c | 148 char *fname = NULL; local 162 fname = malloc(sizeof(char) * len); 163 if (!fname) 166 ret = snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, name); 171 fd = open(fname, flag); 181 ptr = realloc(fname, len); 184 fname = ptr; 186 ret = snprintf(fname, len, "%s%s%s", selinux_mnt, SELINUX_BOOL_DIR, alt_name); 191 fd = open(fname, flag); 193 free(fname); [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
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 class:TestBTree 327 fname = None variable in class:TestBTree_InMemory 331 fname = None variable in class:TestBTree_InMemory_Truncate 336 fname = test_support.TESTFN variable in class:TestHashTable 340 fname = Non variable in class:TestHashTable_InMemory [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
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 class:TestBTree 327 fname = None variable in class:TestBTree_InMemory 331 fname = None variable in class:TestBTree_InMemory_Truncate 336 fname = test_support.TESTFN variable in class:TestHashTable 340 fname = Non variable in class:TestHashTable_InMemory [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
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 class:TestBTree 327 fname = None variable in class:TestBTree_InMemory 331 fname = None variable in class:TestBTree_InMemory_Truncate 336 fname = test_support.TESTFN variable in class:TestHashTable 340 fname = Non variable in class:TestHashTable_InMemory [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
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 class:TestBTree 327 fname = None variable in class:TestBTree_InMemory 331 fname = None variable in class:TestBTree_InMemory_Truncate 336 fname = test_support.TESTFN variable in class:TestHashTable 340 fname = Non variable in class:TestHashTable_InMemory [all...] |
/external/wpa_supplicant_8/src/utils/ |
trace.c | 31 char exe[50], fname[512]; local 34 len = readlink(exe, fname, sizeof(fname) - 1); 35 if (len < 0 || len >= (int) sizeof(fname)) { 39 fname[len] = '\0'; 40 prg_fname = strdup(fname); 44 static bfd * open_bfd(const char *fname)
|
/external/boringssl/src/include/openssl/ |
asn1t.h | 613 int indent, const char *fname, 779 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_pfname(pre, stname, itname, fname) \ 780 pre stname *fname##_new(void) \ 784 pre void fname##_free(stname *a) \ 789 #define IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) \ 790 stname *fname##_new(void) \ 794 void fname##_free(stname *a) \ 799 #define IMPLEMENT_ASN1_FUNCTIONS_fname(stname, itname, fname) \ 800 IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname(stname, itname, fname) \ 801 IMPLEMENT_ASN1_ALLOC_FUNCTIONS_fname(stname, itname, fname) [all...] |
/external/opencv3/modules/java/ |
check-tests.py | 90 def parse_file(self, fname, prefix = ""): 91 istest = fname.endswith("Test.java") 92 clsname = os.path.basename(fname).replace("Test", "").replace(".java", "") 97 f = open(fname, "rt") 130 func_loc = fname + " (line: " + str(linenum) + ")"
|
/toolchain/binutils/binutils-2.25/intl/ |
localealias.c | 143 static size_t read_alias_file PARAMS ((const char *fname, int fname_len)) 218 read_alias_file (fname, fname_len) 219 const char *fname; 229 mempcpy (mempcpy (full_fname, fname, fname_len), 232 memcpy (full_fname, fname, fname_len);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
dhdu.c | 97 static int file_size(char *fname); 98 static int read_vars(char *fname, char *buf, int buf_maxlen); 337 file_size(char *fname) 344 if ((fp = fopen(fname, "rb")) == NULL || 348 fname, strerror(errno)); 1221 char *fname; [all...] |
/external/curl/src/ |
tool_main.c | 100 char fname[CURL_MT_LOGFNAME_BUFSIZE]; local 103 strcpy(fname, env); 105 curl_memdebug(fname);
|
/external/elfutils/libdwfl/ |
dwfl_module_getsrc_file.c | 53 const char *fname, int lineno, int column, 66 bool is_basename = strchr (fname, '/') == NULL; 101 fname);
|
/external/elfutils/tests/ |
funcscopes.c | 128 const char *fname; local 132 &fname, NULL); 136 modname = fname;
|
/external/opencv3/modules/cudalegacy/test/ |
NCVTest.hpp | 208 std::string fname = "TestDump_"; local 209 fname += (bReasonMem ? "m_" : "") + this->testName + ".log"; 210 std::ofstream stream(fname.c_str(), std::ios::trunc | std::ios::out);
|
/external/v8/tools/ |
nacl-run.py | 75 (fd, fname) = tempfile.mkstemp() 77 tmp_file = open(fname, "w") 80 return fname
|