/external/toybox/toys/pending/ |
D | fsck.c | 164 static int to_be_ignored(struct f_sys_info *finfo) in to_be_ignored() argument 168 if (!finfo->passno) return 1; //Ignore with pass num = 0 in to_be_ignored() 173 if (!strcmp(TT.arr_type[i], finfo->type)) ret = 0; in to_be_ignored() 176 if (hasmntopt((const struct mntent *)finfo, TT.arr_type[i])) return 1; in to_be_ignored() 178 if (!hasmntopt((const struct mntent *)finfo, TT.arr_type[i])) return 1; in to_be_ignored() 182 if (ignore_type(finfo->type)) return 1; in to_be_ignored() 188 static void do_fsck(struct f_sys_info *finfo) in do_fsck() argument 196 if (strcmp(finfo->type, "auto")) type = finfo->type; in do_fsck() 210 args[i] = finfo->device; in do_fsck() 215 finfo->mountpt ? finfo->mountpt : finfo->device); in do_fsck() [all …]
|
/external/curl/tests/libtest/ |
D | lib576.c | 33 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains); 38 long chunk_bgn(const struct curl_fileinfo *finfo, void *ptr, int remains) in chunk_bgn() argument 45 printf("Filename: %s\n", finfo->filename); in chunk_bgn() 46 if(finfo->strings.perm) { in chunk_bgn() 47 printf("Permissions: %s", finfo->strings.perm); in chunk_bgn() 48 if(finfo->flags & CURLFINFOFLAG_KNOWN_PERM) in chunk_bgn() 49 printf(" (parsed => %o)", finfo->perm); in chunk_bgn() 52 printf("Size: %ldB\n", (long)finfo->size); in chunk_bgn() 53 if(finfo->strings.user) in chunk_bgn() 54 printf("User: %s\n", finfo->strings.user); in chunk_bgn() [all …]
|
/external/curl/lib/ |
D | ftplistparser.c | 280 struct curl_fileinfo *finfo = &infop->info; in ftp_pl_insert_finfo() local 283 char *str = finfo->b_data; in ftp_pl_insert_finfo() 284 finfo->filename = str + parser->offsets.filename; in ftp_pl_insert_finfo() 285 finfo->strings.group = parser->offsets.group ? in ftp_pl_insert_finfo() 287 finfo->strings.perm = parser->offsets.perm ? in ftp_pl_insert_finfo() 289 finfo->strings.target = parser->offsets.symlink_target ? in ftp_pl_insert_finfo() 291 finfo->strings.time = str + parser->offsets.time; in ftp_pl_insert_finfo() 292 finfo->strings.user = parser->offsets.user ? in ftp_pl_insert_finfo() 303 finfo->filename) == 0) { in ftp_pl_insert_finfo() 305 if((finfo->filetype == CURLFILETYPE_SYMLINK) && finfo->strings.target && in ftp_pl_insert_finfo() [all …]
|
D | fileinfo.c | 36 void Curl_fileinfo_cleanup(struct fileinfo *finfo) in Curl_fileinfo_cleanup() argument 38 if(!finfo) in Curl_fileinfo_cleanup() 41 Curl_safefree(finfo->info.b_data); in Curl_fileinfo_cleanup() 42 free(finfo); in Curl_fileinfo_cleanup()
|
D | fileinfo.h | 34 void Curl_fileinfo_cleanup(struct fileinfo *finfo);
|
/external/curl/docs/examples/ |
D | ftp-wildcard.c | 33 static long file_is_coming(struct curl_fileinfo *finfo, 96 static long file_is_coming(struct curl_fileinfo *finfo, in file_is_coming() argument 100 printf("%3d %40s %10luB ", remains, finfo->filename, in file_is_coming() 101 (unsigned long)finfo->size); in file_is_coming() 103 switch(finfo->filetype) { in file_is_coming() 115 if(finfo->filetype == CURLFILETYPE_FILE) { in file_is_coming() 117 if(finfo->size > 50) { in file_is_coming() 122 data->output = fopen(finfo->filename, "wb"); in file_is_coming()
|
/external/python/cpython2/Lib/ |
D | binhex.py | 53 finfo = FSSpec(name).FSpGetFInfo() 62 return file, finfo, dlen, rlen 83 finfo = FInfo() 91 finfo.Type = 'TEXT' 97 return file, finfo, dsize, 0 175 name, finfo, dlen, rlen = name_finfo_dlen_rlen 183 if finfo is None: 184 finfo = FInfo() 187 self._writeinfo(name, finfo) 190 def _writeinfo(self, name, finfo): argument [all …]
|
D | imputil.py | 570 finfo = _os_stat(filename) 574 return importFunc(filename, finfo, fqname) 582 def py_suffix_importer(filename, finfo, fqname): argument 584 t_py = long(finfo[8]) 605 def import_file(self, filename, finfo, fqname): argument
|
/external/python/cpython3/Lib/ |
D | binhex.py | 54 finfo = FInfo() 59 finfo.Type = 'TEXT' 64 return file, finfo, dsize, 0 141 name, finfo, dlen, rlen = name_finfo_dlen_rlen 152 if finfo is None: 153 finfo = FInfo() 156 self._writeinfo(name, finfo) 163 def _writeinfo(self, name, finfo): argument 168 tp, cr = finfo.Type, finfo.Creator 176 d3 = struct.pack('>h', finfo.Flags) [all …]
|
/external/python/cpython2/Mac/Modules/ |
D | MacOS.c | 299 FileInfo* finfo; in MacOS_GetCreatorAndType() local 350 finfo = (FileInfo*)&(cataloginfo.finderInfo); in MacOS_GetCreatorAndType() 351 finfo->fileCreator = ntohl(finfo->fileCreator); in MacOS_GetCreatorAndType() 352 finfo->fileType = ntohl(finfo->fileType); in MacOS_GetCreatorAndType() 353 creator = PyString_FromStringAndSize((char*)&(finfo->fileCreator), 4); in MacOS_GetCreatorAndType() 354 type = PyString_FromStringAndSize((char*)&(finfo->fileType), 4); in MacOS_GetCreatorAndType() 369 FileInfo* finfo; in MacOS_SetCreatorAndType() local 417 finfo = (FileInfo*)&(cataloginfo.finderInfo); in MacOS_SetCreatorAndType() 418 finfo->fileCreator = creator; in MacOS_SetCreatorAndType() 419 finfo->fileType = type; in MacOS_SetCreatorAndType()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | iogen.c | 956 struct dioattr finfo; in get_file_info() local 1018 if (fcntl(fd, F_DIOINFO, &finfo) != -1) { in get_file_info() 1019 rec->f_riou = finfo.d_miniosz; in get_file_info() 1080 struct dioattr finfo; in create_file() local 1220 if (fcntl(fd, F_DIOINFO, &finfo) == -1) { in create_file() 1243 nb = nbytes - finfo.d_miniosz; in create_file() 1244 nb = nb - nb % finfo.d_miniosz; in create_file() 1254 nb, nbytes, (long long)finfo.d_miniosz); in create_file() 1259 b = buf = malloc(finfo.d_miniosz + finfo.d_mem); in create_file() 1261 if (((long)buf % finfo.d_mem != 0)) { in create_file() [all …]
|
D | doio.c | 2431 struct dioattr finfo; in fmt_ioreq() local 2501 if (fcntl(fd, F_DIOINFO, &finfo) == -1) { in fmt_ioreq() 2506 finfo.d_mem = 1; in fmt_ioreq() 2507 finfo.d_miniosz = 1; in fmt_ioreq() 2508 finfo.d_maxiosz = 1; in fmt_ioreq() 2514 finfo.d_miniosz, io->r_offset % finfo.d_miniosz, in fmt_ioreq() 2515 io->r_nbytes, io->r_nbytes % finfo.d_miniosz); in fmt_ioreq() 2519 finfo.d_mem, finfo.d_miniosz, finfo.d_maxiosz); in fmt_ioreq() 4277 struct dioattr finfo; in alloc_fdcache() local 4415 if (fcntl(fd, F_DIOINFO, &finfo) == -1) { in alloc_fdcache() [all …]
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | sinh_arcsinh_bijector_test.py | 125 [np.finfo(dtype).min, np.finfo(dtype).max], dtype=dtype) 139 np.sinh(np.arcsinh(np.finfo(dtype).max) / tailweight - skewness)) 159 if np.amax(y) <= np.sqrt(np.finfo(np.float128).max) and \ 160 np.fabs(np.amin(y)) <= np.sqrt(np.fabs(np.finfo(np.float128).min)):
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | S__i_l_l.py | 34 finfo = [] 37 finfo.append((fid, val)) 42 self.langs[c].append(finfo[i])
|
/external/tensorflow/tensorflow/python/kernel_tests/random/ |
D | util.py | 62 i * np.finfo(samples.dtype).eps) 63 tiny = np.finfo(samples.dtype).tiny
|
D | random_gamma_test.py | 109 dtypes.float16: stats.gamma(alpha).cdf(np.finfo(np.float16).tiny), 110 dtypes.float32: stats.gamma(alpha).cdf(np.finfo(np.float32).tiny), 111 dtypes.float64: stats.gamma(alpha).cdf(np.finfo(np.float64).tiny)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | denormal_test.py | 35 tiny = np.finfo(dtype).tiny 47 tiny = np.finfo(dtype).tiny
|
D | linalg_grad_test.py | 79 epsilon = np.finfo(dtype_).eps 127 epsilon = np.finfo(dtype_).eps
|
D | batch_matmul_op_test.py | 86 tol = 100 * np.finfo(x.dtype).eps if is_floating else 0 157 epsilon = np.finfo(x.dtype).eps
|
/external/skqp/modules/skottie/src/ |
D | SkottieTextLayer.cpp | 211 fFonts.foreach([&](const SkString& name, FontInfo* finfo) { in parseFonts() argument 212 if (finfo->matches(family, style)) { in parseFonts() 213 current_font = finfo; in parseFonts()
|
/external/skia/modules/skottie/src/ |
D | SkottieTextLayer.cpp | 211 fFonts.foreach([&](const SkString& name, FontInfo* finfo) { in parseFonts() argument 212 if (finfo->matches(family, style)) { in parseFonts() 213 current_font = finfo; in parseFonts()
|
/external/tensorflow/tensorflow/contrib/mixed_precision/python/ |
D | loss_scale_manager_test.py | 95 init_loss_scale = np.finfo(np.float32).max / 4 + 10 96 max_float = np.finfo(np.float32).max
|
/external/tensorflow/tensorflow/python/kernel_tests/linalg/ |
D | linear_operator_circulant_test.py | 141 eps = np.finfo(np.float32).eps 209 eps = np.finfo(np.float32).eps 265 eps = np.finfo(np.float32).eps 309 eps = np.finfo(np.float32).eps
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | exponential.py | 140 minval=np.finfo(self.dtype.as_numpy_dtype).tiny,
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
D | sinh_arcsinh.py | 47 math_ops.abs(x) * np.sqrt(np.finfo(x.dtype.as_numpy_dtype).eps) <= 1.,
|