/external/e2fsprogs/debugfs/ |
D | htree.c | 37 errcode_t errcode; in htree_dump_leaf_node() local 52 errcode = ext2fs_bmap2(fs, ino, inode, buf, 0, blk, 0, &pblk); in htree_dump_leaf_node() 53 if (errcode) { in htree_dump_leaf_node() 54 com_err("htree_dump_leaf_node", errcode, in htree_dump_leaf_node() 60 errcode = ext2fs_read_dir_block4(current_fs, pblk, buf, 0, ino); in htree_dump_leaf_node() 61 if (errcode) { in htree_dump_leaf_node() 62 com_err("htree_dump_leaf_node", errcode, in htree_dump_leaf_node() 74 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); in htree_dump_leaf_node() 75 if (errcode) { in htree_dump_leaf_node() 76 com_err("htree_dump_leaf_inode", errcode, in htree_dump_leaf_node() [all …]
|
D | zap.c | 34 errcode_t errcode; in do_zap_block() local 132 errcode = ext2fs_bmap2(current_fs, inode, 0, 0, 0, in do_zap_block() 134 if (errcode) { in do_zap_block() 135 com_err(argv[0], errcode, in do_zap_block() 147 errcode = io_channel_read_blk64(current_fs->io, block, 1, buf); in do_zap_block() 148 if (errcode) { in do_zap_block() 149 com_err(argv[0], errcode, in do_zap_block() 159 errcode = io_channel_write_blk64(current_fs->io, block, 1, buf); in do_zap_block() 160 if (errcode) { in do_zap_block() 161 com_err(argv[0], errcode, in do_zap_block() [all …]
|
/external/libxcam/modules/ocl/intel/ |
D | cl_intel_context.cpp | 42 cl_int errcode = CL_SUCCESS; in create_va_buffer() local 50 mem_id = oclCreateBufferFromLibvaIntel (_context_id, bo_name, &errcode); in create_va_buffer() 53 errcode == CL_SUCCESS, in create_va_buffer() 63 cl_int errcode = CL_SUCCESS; in import_dma_buffer() local 71 mem_id = oclCreateBufferFromFdINTEL (_context_id, &import_info, &errcode); in import_dma_buffer() 74 errcode == CL_SUCCESS, in import_dma_buffer() 85 cl_int errcode = CL_SUCCESS; in create_va_image() local 93 mem_id = oclCreateImageFromLibvaIntel (_context_id, &image_info, &errcode); in create_va_image() 96 errcode == CL_SUCCESS, in create_va_image() 106 cl_int errcode = CL_SUCCESS; in import_dma_image() local [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | block.c | 33 errcode_t errcode; member 44 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \ 54 (ctx)->errcode = EXT2_ET_RO_BLOCK_ITERATE; \ 84 ctx->errcode = EXT2_ET_BAD_IND_BLOCK; in block_iterate_ind() 88 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *ind_block, in block_iterate_ind() 90 if (ctx->errcode) { in block_iterate_ind() 131 ctx->errcode = ext2fs_write_ind_block(ctx->fs, *ind_block, in block_iterate_ind() 133 if (ctx->errcode) in block_iterate_ind() 173 ctx->errcode = EXT2_ET_BAD_DIND_BLOCK; in block_iterate_dind() 177 ctx->errcode = ext2fs_read_ind_block(ctx->fs, *dind_block, in block_iterate_dind() [all …]
|
D | dblist_dir.c | 54 ctx.errcode = 0; in ext2fs_dblist_dir_iterate() 62 return ctx.errcode; in ext2fs_dblist_dir_iterate() 74 ctx->errcode = 0; in db_dir_proc() 76 ctx->errcode = ext2fs_read_inode(fs, ctx->dir, &inode); in db_dir_proc() 77 if (ctx->errcode) in db_dir_proc() 85 if ((ret & BLOCK_ABORT) && !ctx->errcode) in db_dir_proc()
|
D | inline_data.c | 134 ctx->errcode = ext2fs_read_inode(fs, ino, &inode); in ext2fs_inline_data_dir_iterate() 135 if (ctx->errcode) in ext2fs_inline_data_dir_iterate() 139 ctx->errcode = EXT2_ET_NO_INLINE_DATA; in ext2fs_inline_data_dir_iterate() 144 ctx->errcode = EXT2_ET_NO_DIRECTORY; in ext2fs_inline_data_dir_iterate() 185 ctx->errcode = ext2fs_dirent_swab_in2(fs, ctx->buf, ctx->buflen, 0); in ext2fs_inline_data_dir_iterate() 186 if (ctx->errcode) { in ext2fs_inline_data_dir_iterate() 194 ctx->errcode = ext2fs_dirent_swab_out2(fs, ctx->buf, in ext2fs_inline_data_dir_iterate() 196 if (ctx->errcode) { in ext2fs_inline_data_dir_iterate() 201 ctx->errcode = ext2fs_write_inode(fs, ino, &inode); in ext2fs_inline_data_dir_iterate() 202 if (ctx->errcode) in ext2fs_inline_data_dir_iterate() [all …]
|
D | dir_iterate.c | 125 ctx.errcode = 0; in ext2fs_dir_iterate2() 136 return ctx.errcode; in ext2fs_dir_iterate2() 211 ctx->errcode = ext2fs_read_dir_block4(fs, *blocknr, ctx->buf, 0, in ext2fs_process_dir_block() 213 if (ctx->errcode) in ext2fs_process_dir_block() 232 ctx->errcode = EXT2_ET_DIR_CORRUPTED; in ext2fs_process_dir_block() 295 ctx->errcode = ext2fs_write_dir_block4(fs, *blocknr, in ext2fs_process_dir_block() 298 if (ctx->errcode) in ext2fs_process_dir_block()
|
/external/libxcam/modules/ocl/ |
D | cl_context.cpp | 430 cl_int errcode = CL_SUCCESS; in create_image() local 435 host_ptr, &errcode); in create_image() 439 errcode == CL_SUCCESS, in create_image() 441 "create cl image failed, errcode:%d", errcode); in create_image() 456 cl_int errcode = CL_SUCCESS; in create_buffer() local 463 &errcode); in create_buffer() 467 errcode == CL_SUCCESS, in create_buffer() 469 "create cl buffer failed, errcode:%d", errcode); in create_buffer() 480 cl_int errcode = CL_SUCCESS; in create_sub_buffer() local 482 sub_mem = clCreateSubBuffer (main_mem, flags, CL_BUFFER_CREATE_TYPE_REGION, ®ion, &errcode); in create_sub_buffer() [all …]
|
/external/e2fsprogs/e2fsck/ |
D | pass1.c | 407 pctx->errcode = ea_refcount_create(0, in inc_ea_inode_refs() 409 if (pctx->errcode) { in inc_ea_inode_refs() 956 pctx->errcode = recheck_bad_inode_checksum(ctx->fs, ino, ctx, pctx); in finish_processing_inode() 957 if (pctx->errcode) in finish_processing_inode() 1223 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("in-use inode map"), in e2fsck_pass1() 1227 if (pctx.errcode) { in e2fsck_pass1() 1233 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1() 1237 if (pctx.errcode) { in e2fsck_pass1() 1243 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1() 1246 if (pctx.errcode) { in e2fsck_pass1() [all …]
|
D | pass3.c | 77 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, _("inode done bitmap"), in e2fsck_pass3() 80 if (pctx.errcode) { in e2fsck_pass3() 196 pctx.errcode = ext2fs_new_block2(fs, 0, ctx->block_found_map, &blk); in check_root() 197 if (pctx.errcode) { in check_root() 222 pctx.errcode = ext2fs_write_new_inode(fs, EXT2_ROOT_INO, &inode); in check_root() 223 if (pctx.errcode) { in check_root() 235 pctx.errcode = ext2fs_new_dir_block(fs, EXT2_ROOT_INO, EXT2_ROOT_INO, in check_root() 237 if (pctx.errcode) { in check_root() 244 pctx.errcode = ext2fs_write_dir_block4(fs, blk, block, 0, in check_root() 247 if (pctx.errcode) { in check_root() [all …]
|
D | pass1b.c | 221 pctx.errcode = e2fsck_allocate_inode_bitmap(fs, in e2fsck_pass1_dupblocks() 225 if (pctx.errcode) { in e2fsck_pass1_dupblocks() 302 pctx.errcode = ext2fs_open_inode_scan(fs, ctx->inode_buffer_blocks, in pass1b() 304 if (pctx.errcode) { in pass1b() 318 pctx.errcode = ext2fs_get_next_inode_full(scan, &ino, in pass1b() 320 if (pctx.errcode == EXT2_ET_BAD_BLOCK_IN_INODE_TABLE) in pass1b() 322 if (pctx.errcode) { in pass1b() 345 pctx.errcode = ext2fs_block_iterate3(fs, ino, in pass1b() 367 if (pctx.errcode) in pass1b() 605 pctx.errcode = clone_file(ctx, ino, p, block_buf); in pass1d() [all …]
|
D | pass2.c | 151 cd.pctx.errcode = e2fsck_setup_icount(ctx, "inode_count", in e2fsck_pass2() 154 if (cd.pctx.errcode) { in e2fsck_pass2() 184 cd.pctx.errcode = ext2fs_dblist_iterate2(fs->dblist, check_dir_func, in e2fsck_pass2() 194 if (cd.pctx.errcode) { in e2fsck_pass2() 1008 cd->pctx.errcode = ext2fs_inline_data_get(fs, ino, 0, buf, 0); in check_dir_block() 1009 if (cd->pctx.errcode) in check_dir_block() 1015 cd->pctx.errcode = ext2fs_dirent_swab_in2(fs, in check_dir_block() 1019 if (cd->pctx.errcode) in check_dir_block() 1025 cd->pctx.errcode = ext2fs_dirent_swab_in2(fs, in check_dir_block() 1031 cd->pctx.errcode = ext2fs_read_dir_block4(fs, block_nr, in check_dir_block() [all …]
|
/external/honggfuzz/linux/ |
D | pt.c | 148 int errcode = pt_cpu_errata(&ptc.errata, &ptc.cpu); in arch_ptAnalyze() local 149 if (errcode < 0) { in arch_ptAnalyze() 150 LOG_F("pt_errata() failed: %s", pt_errstr(-errcode)); in arch_ptAnalyze() 161 errcode = pt_pkt_sync_forward(ptd); in arch_ptAnalyze() 162 if (errcode < 0) { in arch_ptAnalyze() 163 LOG_W("pt_pkt_sync_forward() failed: %s", pt_errstr(-errcode)); in arch_ptAnalyze() 169 errcode = pt_pkt_next(ptd, &packet, sizeof(packet)); in arch_ptAnalyze() 170 if (errcode == -pte_eos) { in arch_ptAnalyze() 173 if (errcode < 0) { in arch_ptAnalyze() 174 LOG_W("pt_pkt_next() failed: %s", pt_errstr(-errcode)); in arch_ptAnalyze()
|
/external/python/cpython2/Lib/ |
D | robotparser.py | 61 self.errcode = opener.errcode 62 if self.errcode in (401, 403): 64 elif self.errcode >= 400 and self.errcode < 500: 66 elif self.errcode == 200 and lines: 226 self.errcode = 200 233 def http_error_default(self, url, fp, errcode, errmsg, headers): argument 234 self.errcode = errcode 235 return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,
|
D | urllib.py | 351 errcode, errmsg, headers = h.getreply() 353 if errcode == -1: 360 if (200 <= errcode < 300): 361 return addinfourl(fp, headers, "http:" + url, errcode) 364 return self.http_error(url, fp, errcode, errmsg, headers) 366 return self.http_error(url, fp, errcode, errmsg, headers, data) 368 def http_error(self, url, fp, errcode, errmsg, headers, data=None): argument 373 name = 'http_error_%d' % errcode 377 result = method(url, fp, errcode, errmsg, headers) 379 result = method(url, fp, errcode, errmsg, headers, data) [all …]
|
/external/kmod/testsuite/ |
D | delete_module.c | 40 int errcode; member 59 int ret, errcode; in parse_retcodes() local 87 errcode = (int) l; in parse_retcodes() 96 mod->errcode = errcode; in parse_retcodes() 134 mod->name, mod->ret, mod->errcode); in init_retcodes() 155 errno = mod->errcode; in delete_module()
|
/external/libpcap/ |
D | sockutils.c | 131 void sock_fmterror(const char *caller, int errcode, char *errbuf, int errbuflen) in sock_fmterror() argument 142 NULL, errcode, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), in sock_fmterror() 155 pcap_snprintf(errbuf, errbuflen, "%s%s (code %d)", caller, message, errcode); in sock_fmterror() 157 pcap_snprintf(errbuf, errbuflen, "%s (code %d)", message, errcode); in sock_fmterror() 165 message = strerror(errcode); in sock_fmterror() 168 pcap_snprintf(errbuf, errbuflen, "%s%s (code %d)", caller, message, errcode); in sock_fmterror() 170 pcap_snprintf(errbuf, errbuflen, "%s (code %d)", message, errcode); in sock_fmterror() 685 int errcode; local 688 errcode = GetLastError(); 689 if (errcode == WSAECONNRESET || [all …]
|
/external/mdnsresponder/mDNSPosix/ |
D | nss_mdns.c | 852 DNSServiceErrorType errcode; in mdns_lookup_name() local 886 errcode = in mdns_lookup_name() 898 if (errcode) in mdns_lookup_name() 902 errcode in mdns_lookup_name() 940 DNSServiceErrorType errcode; in mdns_lookup_addr() local 961 errcode = in mdns_lookup_addr() 973 if (errcode) in mdns_lookup_addr() 977 errcode in mdns_lookup_addr() 1807 int errcode = -1; in init_config() local 1833 errcode = load_config (temp_config); in init_config() [all …]
|
/external/icu/icu4c/source/common/ |
D | ubidiimp.h | 392 #define RETURN_IF_NOT_VALID_PARA(bidi, errcode, retvalue) \ argument 394 errcode=U_INVALID_STATE_ERROR; \ 397 #define RETURN_IF_NOT_VALID_PARA_OR_LINE(bidi, errcode, retvalue) \ argument 399 errcode=U_INVALID_STATE_ERROR; \ 402 #define RETURN_IF_BAD_RANGE(arg, start, limit, errcode, retvalue) \ argument 404 (errcode)=U_ILLEGAL_ARGUMENT_ERROR; \ 410 #define RETURN_VOID_IF_NOT_VALID_PARA(bidi, errcode) \ argument 412 errcode=U_INVALID_STATE_ERROR; \ 415 #define RETURN_VOID_IF_NOT_VALID_PARA_OR_LINE(bidi, errcode) \ argument 417 errcode=U_INVALID_STATE_ERROR; \ [all …]
|
/external/python/cpython2/Tools/ssl/ |
D | make_ssl_data.py | 58 errcode = lib[1] + errname # e.g. SSL_R_BAD_SSL_SESSION_ID_LENGTH variable 61 codes[errcode] = libcode, errname, errnum 78 for errcode, (libcode, name, num) in sorted(codes.items()): 79 w(' #ifdef %s' % (errcode)) 80 w(' {"%s", %s, %s},' % (name, libcode, errcode))
|
/external/python/cpython3/Tools/ssl/ |
D | make_ssl_data.py | 58 errcode = lib[1] + errname # e.g. SSL_R_BAD_SSL_SESSION_ID_LENGTH variable 61 codes[errcode] = libcode, errname, errnum 78 for errcode, (libcode, name, num) in sorted(codes.items()): 79 w(' #ifdef %s' % (errcode)) 80 w(' {"%s", %s, %s},' % (name, libcode, errcode))
|
/external/libevent/ |
D | log.c | 61 static void event_exit(int errcode) EV_NORETURN; 99 event_exit(int errcode) in event_exit() argument 102 fatal_fn(errcode); in event_exit() 103 exit(errcode); /* should never be reached */ in event_exit() 104 } else if (errcode == EVENT_ERR_ABORT_) in event_exit() 107 exit(errcode); in event_exit()
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 157 errcode_t errcode; in bb_output() local 165 errcode = ext2fs_badblocks_list_add (bb_list, bad); in bb_output() 166 if (errcode) { in bb_output() 167 com_err (program_name, errcode, "adding to in-memory bad block list"); in bb_output() 496 errcode_t errcode; in test_ro() local 502 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_ro() 503 if (errcode) { in test_ro() 504 com_err(program_name, errcode, "%s", in test_ro() 757 errcode_t errcode; in test_nd() local 764 errcode = ext2fs_badblocks_list_iterate_begin(bb_list,&bb_iter); in test_nd() [all …]
|
/external/libevent/include/event2/ |
D | util.h | 465 #define EVUTIL_SET_SOCKET_ERROR(errcode) \ argument 466 do { WSASetLastError(errcode); } while (0) 472 const char *evutil_socket_error_to_string(int errcode); 491 #define EVUTIL_SET_SOCKET_ERROR(errcode) ... argument 495 #define evutil_socket_error_to_string(errcode) ... argument 499 #define EVUTIL_SET_SOCKET_ERROR(errcode) \ argument 500 do { errno = (errcode); } while (0) 502 #define evutil_socket_error_to_string(errcode) (strerror(errcode)) argument
|
/external/llvm/lib/Support/ |
D | regerror.c | 84 llvm_regerror(int errcode, const llvm_regex_t *preg, char *errbuf, size_t errbuf_size) in llvm_regerror() argument 88 int target = errcode &~ REG_ITOA; in llvm_regerror() 92 if (errcode == REG_ATOI) in llvm_regerror() 99 if (errcode®_ITOA) { in llvm_regerror()
|