Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 1176) sorted by relevance

12345678910>>...48

/external/e2fsprogs/tests/progs/
Dtest_rel.c107 errcode_t retval; in display_irel_entry() local
115 retval = ext2fs_irel_start_iter_ref(irel, old); in display_irel_entry()
116 if (retval) { in display_irel_entry()
118 error_message(retval)); in display_irel_entry()
122 retval = ext2fs_irel_next_ref(irel, &ref); in display_irel_entry()
123 if (retval) { in display_irel_entry()
124 printf("(%s) ", error_message(retval)); in display_irel_entry()
146 errcode_t retval; in do_brel_ma_create() local
155 retval = ext2fs_brel_memarray_create(argv[1], max_blk, &brel); in do_brel_ma_create()
156 if (retval) { in do_brel_ma_create()
[all …]
Dtest_icount.c65 errcode_t retval; in do_create_icount() local
85 retval = ext2fs_create_icount(test_fs, flags, (int) size, in do_create_icount()
87 if (retval) { in do_create_icount()
88 com_err(progname, retval, "while creating icount"); in do_create_icount()
105 errcode_t retval; in do_fetch() local
117 retval = ext2fs_icount_fetch(test_icount, ino, &count); in do_fetch()
118 if (retval) { in do_fetch()
119 com_err(argv[0], retval, "while calling ext2fs_icount_fetch"); in do_fetch()
128 errcode_t retval; in do_increment() local
140 retval = ext2fs_icount_increment(test_icount, ino, &count); in do_increment()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPResponse.java77 String retval = null; in getReasonPhrase() local
81 retval = "Trying"; in getReasonPhrase()
85 retval = "Ringing"; in getReasonPhrase()
89 retval = "Call is being forwarded"; in getReasonPhrase()
93 retval = "Queued"; in getReasonPhrase()
97 retval = "Session progress"; in getReasonPhrase()
101 retval = "OK"; in getReasonPhrase()
105 retval = "Accepted"; in getReasonPhrase()
109 retval = "Multiple choices"; in getReasonPhrase()
113 retval = "Moved permanently"; in getReasonPhrase()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
Dt1driver.c181 FT_Long retval = -1; in t1_ps_get_font_value() local
189 retval = sizeof ( type1->font_type ); in t1_ps_get_font_value()
190 if ( value && value_len >= retval ) in t1_ps_get_font_value()
201 retval = sizeof ( val ); in t1_ps_get_font_value()
202 if ( value && value_len >= retval ) in t1_ps_get_font_value()
231 retval = sizeof ( val ); in t1_ps_get_font_value()
232 if ( value && value_len >= retval ) in t1_ps_get_font_value()
255 retval = sizeof ( type1->paint_type ); in t1_ps_get_font_value()
256 if ( value && value_len >= retval ) in t1_ps_get_font_value()
261 retval = (FT_Long)( ft_strlen( type1->font_name ) + 1 ); in t1_ps_get_font_value()
[all …]
/external/e2fsprogs/lib/ext2fs/
Dnamei.c34 errcode_t retval; in follow_link() local
43 retval = ext2fs_read_inode (fs, inode, &ei); in follow_link()
44 if (retval) return retval; in follow_link()
53 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk); in follow_link()
54 if (retval) in follow_link()
55 return retval; in follow_link()
57 retval = ext2fs_get_mem(fs->blocksize, &buffer); in follow_link()
58 if (retval) in follow_link()
59 return retval; in follow_link()
61 retval = io_channel_read_blk64(fs->io, blk, 1, buffer); in follow_link()
[all …]
Dbmap.c40 errcode_t retval; in block_ind_bmap() local
49 retval = io_channel_read_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
50 if (retval) in block_ind_bmap()
51 return retval; in block_ind_bmap()
70 retval = ext2fs_alloc_block(fs, b, in block_ind_bmap()
72 if (retval) in block_ind_bmap()
73 return retval; in block_ind_bmap()
81 retval = io_channel_write_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
82 if (retval) in block_ind_bmap()
83 return retval; in block_ind_bmap()
[all …]
Dfileio.c41 errcode_t retval; in ext2fs_file_open2() local
51 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2()
52 if (retval) in ext2fs_file_open2()
53 return retval; in ext2fs_file_open2()
64 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2()
65 if (retval) in ext2fs_file_open2()
69 retval = ext2fs_get_array(3, fs->blocksize, &file->buf); in ext2fs_file_open2()
70 if (retval) in ext2fs_file_open2()
80 return retval; in ext2fs_file_open2()
123 errcode_t retval; in ext2fs_file_flush() local
[all …]
Dextent.c190 errcode_t retval; in ext2fs_extent_open2() local
200 retval = ext2fs_get_mem(sizeof(struct ext2_extent_handle), &handle); in ext2fs_extent_open2()
201 if (retval) in ext2fs_extent_open2()
202 return retval; in ext2fs_extent_open2()
212 retval = ext2fs_read_inode(fs, ino, handle->inode); in ext2fs_extent_open2()
213 if (retval) in ext2fs_extent_open2()
233 retval = EXT2_ET_INODE_NOT_EXTENT; in ext2fs_extent_open2()
237 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); in ext2fs_extent_open2()
238 if (retval) in ext2fs_extent_open2()
244 retval = ext2fs_get_mem(((handle->max_depth+1) * in ext2fs_extent_open2()
[all …]
Dpunch.c51 errcode_t retval; in ind_punch() local
73 retval = ext2fs_read_ind_block(fs, b, block_buf); in ind_punch()
74 if (retval) in ind_punch()
75 return retval; in ind_punch()
77 retval = ind_punch(fs, inode, block_buf + fs->blocksize, in ind_punch()
81 if (retval) in ind_punch()
82 return retval; in ind_punch()
83 retval = ext2fs_write_ind_block(fs, b, block_buf); in ind_punch()
84 if (retval) in ind_punch()
85 return retval; in ind_punch()
[all …]
Dtst_iscan.c72 errcode_t retval; in setup() local
85 retval = ext2fs_initialize("test fs", EXT2_FLAG_64BITS, &param, in setup()
87 if (retval) { in setup()
88 com_err("setup", retval, in setup()
92 retval = ext2fs_allocate_tables(test_fs); in setup()
93 if (retval) { in setup()
94 com_err("setup", retval, in setup()
98 retval = ext2fs_allocate_block_bitmap(test_fs, "bad block map", in setup()
100 if (retval) { in setup()
101 com_err("setup", retval, in setup()
[all …]
Dmmp.c36 errcode_t retval = 0; in ext2fs_mmp_read() local
50 retval = EXT2_ET_MMP_OPEN_DIRECT; in ext2fs_mmp_read()
58 retval = ext2fs_get_memalign(fs->blocksize, align, in ext2fs_mmp_read()
60 if (retval) in ext2fs_mmp_read()
61 return retval; in ext2fs_mmp_read()
67 retval = EXT2_ET_LLSEEK_FAILED; in ext2fs_mmp_read()
72 retval = EXT2_ET_SHORT_READ; in ext2fs_mmp_read()
85 retval = EXT2_ET_MMP_MAGIC_INVALID; in ext2fs_mmp_read()
90 return retval; in ext2fs_mmp_read()
97 errcode_t retval = 0; in ext2fs_mmp_write() local
[all …]
Dmkdir.c37 errcode_t retval; in ext2fs_mkdir() local
50 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFDIR | 0755, in ext2fs_mkdir()
52 if (retval) in ext2fs_mkdir()
59 retval = ext2fs_new_block2(fs, 0, 0, &blk); in ext2fs_mkdir()
60 if (retval) in ext2fs_mkdir()
66 retval = ext2fs_new_dir_block(fs, ino, parent, &block); in ext2fs_mkdir()
67 if (retval) in ext2fs_mkdir()
74 retval = ext2fs_read_inode(fs, parent, &parent_inode); in ext2fs_mkdir()
75 if (retval) in ext2fs_mkdir()
97 retval = ext2fs_write_dir_block(fs, blk, block); in ext2fs_mkdir()
[all …]
Dundo_io.c139 errcode_t retval; in write_file_system_identity() local
151 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in write_file_system_identity()
152 if (retval) in write_file_system_identity()
161 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity()
162 if (retval == -1) { in write_file_system_identity()
163 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity()
172 retval = tdb_store(tdb, tdb_key, tdb_data, TDB_INSERT); in write_file_system_identity()
173 if (retval == -1) { in write_file_system_identity()
174 retval = EXT2_ET_TDB_SUCCESS + tdb_error(tdb); in write_file_system_identity()
179 return retval; in write_file_system_identity()
[all …]
Dget_pathname.c50 errcode_t retval; in get_pathname_proc() local
58 retval = ext2fs_get_mem((dirent->name_len & 0xFF) + 1, in get_pathname_proc()
60 if (retval) { in get_pathname_proc()
61 gp->errcode = retval; in get_pathname_proc()
77 errcode_t retval; in ext2fs_get_pathname_int() local
80 retval = ext2fs_get_mem(2, name); in ext2fs_get_pathname_int()
81 if (retval) in ext2fs_get_pathname_int()
82 return retval; in ext2fs_get_pathname_int()
88 retval = ext2fs_get_mem(4, name); in ext2fs_get_pathname_int()
89 if (retval) in ext2fs_get_pathname_int()
[all …]
Dmkjournal.c48 errcode_t retval; in ext2fs_create_journal_superblock() local
54 if ((retval = ext2fs_get_mem(fs->blocksize, &jsb))) in ext2fs_create_journal_superblock()
55 return retval; in ext2fs_create_journal_superblock()
95 errcode_t retval; in write_journal_file() local
100 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, in write_journal_file()
102 return retval; in write_journal_file()
106 retval = errno; in write_journal_file()
111 retval = EXT2_ET_SHORT_WRITE; in write_journal_file()
114 retval = errno; in write_journal_file()
127 retval = errno; in write_journal_file()
[all …]
Dimager.c67 errcode_t retval; in ext2fs_image_inode_write() local
77 retval = EXT2_ET_MISSING_INODE_TABLE; in ext2fs_image_inode_write()
85 retval = io_channel_read_blk64(fs->io, blk, c, buf); in ext2fs_image_inode_write()
86 if (retval) in ext2fs_image_inode_write()
102 retval = errno; in ext2fs_image_inode_write()
115 retval = errno; in ext2fs_image_inode_write()
119 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_inode_write()
129 retval = 0; in ext2fs_image_inode_write()
133 return retval; in ext2fs_image_inode_write()
146 errcode_t retval; in ext2fs_image_inode_read() local
[all …]
Dexpanddir.c38 errcode_t retval; in expand_dir_proc() local
50 retval = ext2fs_new_block2(fs, es->goal, 0, &new_blk); in expand_dir_proc()
51 if (retval) { in expand_dir_proc()
52 es->err = retval; in expand_dir_proc()
59 retval = ext2fs_new_dir_block(fs, 0, 0, &block); in expand_dir_proc()
60 if (retval) { in expand_dir_proc()
61 es->err = retval; in expand_dir_proc()
65 retval = ext2fs_write_dir_block(fs, new_blk, block); in expand_dir_proc()
67 retval = ext2fs_get_mem(fs->blocksize, &block); in expand_dir_proc()
68 if (retval) { in expand_dir_proc()
[all …]
Ddupfs.c25 errcode_t retval; in ext2fs_dup_handle() local
29 retval = ext2fs_get_mem(sizeof(struct struct_ext2_filsys), &fs); in ext2fs_dup_handle()
30 if (retval) in ext2fs_dup_handle()
31 return retval; in ext2fs_dup_handle()
50 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); in ext2fs_dup_handle()
51 if (retval) in ext2fs_dup_handle()
55 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->super); in ext2fs_dup_handle()
56 if (retval) in ext2fs_dup_handle()
60 retval = ext2fs_get_mem(SUPERBLOCK_SIZE, &fs->orig_super); in ext2fs_dup_handle()
61 if (retval) in ext2fs_dup_handle()
[all …]
Dbmove.c44 errcode_t retval; in process_block() local
66 retval = io_channel_read_blk64(fs->io, orig, 1, pb->buf); in process_block()
67 if (retval) { in process_block()
68 pb->error = retval; in process_block()
71 retval = io_channel_write_blk64(fs->io, block, 1, pb->buf); in process_block()
72 if (retval) { in process_block()
73 pb->error = retval; in process_block()
86 retval = ext2fs_add_dir_block2(fs->dblist, pb->ino, in process_block()
88 if (retval) { in process_block()
89 pb->error = retval; in process_block()
[all …]
/external/chromium_org/third_party/codesighs/
Dmsmap2tsv.c258 char* retval = inScan; in skipWhite() local
260 while(isspace(*retval)) in skipWhite()
262 retval++; in skipWhite()
265 return retval; in skipWhite()
320 MSMap_Segment* retval = NULL; in getSymbolSection() local
327 retval = inoutSymbol->mSection; in getSymbolSection()
347 retval = &inModule->mSegments[secLoop]; in getSymbolSection()
357 inoutSymbol->mSection = retval; in getSymbolSection()
360 return retval; in getSymbolSection()
370 int retval = 0; in readSymDB() local
[all …]
Dmsdump2symdb.c210 const char* retval = inString; in skipWhite() local
212 while('\0' != *retval && isspace(*retval)) in skipWhite()
214 retval++; in skipWhite()
217 return retval; in skipWhite()
226 const char* retval = inString; in skipNonWhite() local
228 while('\0' != *retval && !isspace(*retval)) in skipNonWhite()
230 retval++; in skipNonWhite()
233 return retval; in skipNonWhite()
258 const char* retval = NULL; in skipToArg() local
273 retval = inString; in skipToArg()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/
Dnfc_nci.c35 int retval = 0; in hal_open() local
38 retval = HaiOpen (dev, p_hal_cback, p_hal_data_callback); in hal_open()
39 return retval; in hal_open()
46 int retval = 0; in hal_write() local
49 retval = HaiWrite (dev, data_len, p_data); in hal_write()
50 return retval; in hal_write()
57 int retval = 0; in hal_core_initialized() local
60 retval = HaiCoreInitialized (dev, p_core_init_rsp_params); in hal_core_initialized()
61 return retval; in hal_core_initialized()
67 int retval = 0; in hal_pre_discover() local
[all …]
/external/libvpx/libvpx/vp8/common/
Dquant_common.c41 int retval; in vp8_dc_quant() local
50 retval = dc_qlookup[ QIndex ]; in vp8_dc_quant()
51 return retval; in vp8_dc_quant()
56 int retval; in vp8_dc2quant() local
65 retval = dc_qlookup[ QIndex ] * 2; in vp8_dc2quant()
66 return retval; in vp8_dc2quant()
71 int retval; in vp8_dc_uv_quant() local
80 retval = dc_qlookup[ QIndex ]; in vp8_dc_uv_quant()
82 if (retval > 132) in vp8_dc_uv_quant()
83 retval = 132; in vp8_dc_uv_quant()
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
Dquant_common.c41 int retval; in vp8_dc_quant() local
50 retval = dc_qlookup[ QIndex ]; in vp8_dc_quant()
51 return retval; in vp8_dc_quant()
56 int retval; in vp8_dc2quant() local
65 retval = dc_qlookup[ QIndex ] * 2; in vp8_dc2quant()
66 return retval; in vp8_dc2quant()
71 int retval; in vp8_dc_uv_quant() local
80 retval = dc_qlookup[ QIndex ]; in vp8_dc_uv_quant()
82 if (retval > 132) in vp8_dc_uv_quant()
83 retval = 132; in vp8_dc_uv_quant()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dinsn.c57 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand)); in yasm_operand_create_reg() local
59 retval->type = YASM_INSN__OPERAND_REG; in yasm_operand_create_reg()
60 retval->data.reg = reg; in yasm_operand_create_reg()
61 retval->seg = 0; in yasm_operand_create_reg()
62 retval->targetmod = 0; in yasm_operand_create_reg()
63 retval->size = 0; in yasm_operand_create_reg()
64 retval->deref = 0; in yasm_operand_create_reg()
65 retval->strict = 0; in yasm_operand_create_reg()
67 return retval; in yasm_operand_create_reg()
73 yasm_insn_operand *retval = yasm_xmalloc(sizeof(yasm_insn_operand)); in yasm_operand_create_segreg() local
[all …]

12345678910>>...48