Home
last modified time | relevance | path

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

12345678910>>...86

/external/e2fsprogs/lib/ext2fs/
Dinline_data.c33 errcode_t retval; in ext2fs_inline_data_ea_set() local
35 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); in ext2fs_inline_data_ea_set()
36 if (retval) in ext2fs_inline_data_ea_set()
37 return retval; in ext2fs_inline_data_ea_set()
39 retval = ext2fs_xattrs_read(handle); in ext2fs_inline_data_ea_set()
40 if (retval) in ext2fs_inline_data_ea_set()
43 retval = ext2fs_xattr_set(handle, "system.data", in ext2fs_inline_data_ea_set()
47 return retval; in ext2fs_inline_data_ea_set()
53 errcode_t retval; in ext2fs_inline_data_ea_get() local
58 retval = ext2fs_xattrs_open(data->fs, data->ino, &handle); in ext2fs_inline_data_ea_get()
[all …]
Dnamei.c35 errcode_t retval; in follow_link() local
44 retval = ext2fs_read_inode (fs, inode, &ei); in follow_link()
45 if (retval) return retval; in follow_link()
56 retval = ext2fs_get_memzero(ei.i_size, &buffer); in follow_link()
57 if (retval) in follow_link()
58 return retval; in follow_link()
60 retval = ext2fs_inline_data_get(fs, inode, in follow_link()
62 if (retval) { in follow_link()
64 return retval; in follow_link()
68 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk); in follow_link()
[all …]
Dfileio.c48 errcode_t retval; in ext2fs_file_open2() local
58 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2()
59 if (retval) in ext2fs_file_open2()
60 return retval; in ext2fs_file_open2()
71 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2()
72 if (retval) in ext2fs_file_open2()
76 retval = ext2fs_get_array(3, fs->blocksize, &file->buf); in ext2fs_file_open2()
77 if (retval) in ext2fs_file_open2()
87 return retval; in ext2fs_file_open2()
130 errcode_t retval; in ext2fs_file_flush() local
[all …]
Dpunch.c53 errcode_t retval; in ind_punch() local
75 retval = ext2fs_read_ind_block(fs, b, block_buf); in ind_punch()
76 if (retval) in ind_punch()
77 return retval; in ind_punch()
79 retval = ind_punch(fs, inode, block_buf + fs->blocksize, in ind_punch()
83 if (retval) in ind_punch()
84 return retval; in ind_punch()
85 retval = ext2fs_write_ind_block(fs, b, block_buf); in ind_punch()
86 if (retval) in ind_punch()
87 return retval; in ind_punch()
[all …]
Dbmap.c41 errcode_t retval; in block_ind_bmap() local
50 retval = io_channel_read_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
51 if (retval) in block_ind_bmap()
52 return retval; in block_ind_bmap()
71 retval = ext2fs_alloc_block(fs, b, in block_ind_bmap()
73 if (retval) in block_ind_bmap()
74 return retval; in block_ind_bmap()
82 retval = io_channel_write_blk(fs->io, ind, 1, block_buf); in block_ind_bmap()
83 if (retval) in block_ind_bmap()
84 return retval; in block_ind_bmap()
[all …]
Dextent.c222 errcode_t retval; in ext2fs_extent_open2() local
232 retval = ext2fs_get_mem(sizeof(struct ext2_extent_handle), &handle); in ext2fs_extent_open2()
233 if (retval) in ext2fs_extent_open2()
234 return retval; in ext2fs_extent_open2()
244 retval = ext2fs_read_inode(fs, ino, handle->inode); in ext2fs_extent_open2()
245 if (retval) in ext2fs_extent_open2()
265 retval = EXT2_ET_INODE_NOT_EXTENT; in ext2fs_extent_open2()
269 retval = ext2fs_extent_header_verify(eh, sizeof(handle->inode->i_block)); in ext2fs_extent_open2()
270 if (retval) in ext2fs_extent_open2()
277 retval = ext2fs_get_memzero(handle->max_paths * in ext2fs_extent_open2()
[all …]
Dmmp.c48 errcode_t retval = 0; in ext2fs_mmp_read() local
62 retval = EXT2_ET_MMP_OPEN_DIRECT; in ext2fs_mmp_read()
70 retval = ext2fs_get_memalign(fs->blocksize, align, in ext2fs_mmp_read()
72 if (retval) in ext2fs_mmp_read()
73 return retval; in ext2fs_mmp_read()
79 retval = EXT2_ET_LLSEEK_FAILED; in ext2fs_mmp_read()
84 retval = EXT2_ET_SHORT_READ; in ext2fs_mmp_read()
92 retval = EXT2_ET_MMP_CSUM_INVALID; in ext2fs_mmp_read()
102 retval = EXT2_ET_MMP_MAGIC_INVALID; in ext2fs_mmp_read()
107 return retval; in ext2fs_mmp_read()
[all …]
Dundo_io.c190 errcode_t retval; in write_undo_indexes() local
205 retval = io_channel_write_blk64(data->undo_file, in write_undo_indexes()
208 if (retval) in write_undo_indexes()
209 return retval; in write_undo_indexes()
224 retval = io_channel_read_blk64(channel, 1, -SUPERBLOCK_SIZE, &super); in write_undo_indexes()
225 if (retval) in write_undo_indexes()
246 retval = io_channel_write_blk64(data->undo_file, 0, in write_undo_indexes()
249 if (retval) in write_undo_indexes()
257 retval = io_channel_write_blk64(data->undo_file, data->super_blk_num, in write_undo_indexes()
259 if (retval) in write_undo_indexes()
[all …]
Dtst_iscan.c73 errcode_t retval; in setup() local
86 retval = ext2fs_initialize("test fs", EXT2_FLAG_64BITS, &param, in setup()
88 if (retval) { in setup()
89 com_err("setup", retval, in setup()
93 retval = ext2fs_allocate_tables(test_fs); in setup()
94 if (retval) { in setup()
95 com_err("setup", retval, in setup()
99 retval = ext2fs_allocate_block_bitmap(test_fs, "bad block map", in setup()
101 if (retval) { in setup()
102 com_err("setup", retval, in setup()
[all …]
Dmkjournal.c50 errcode_t retval; in ext2fs_create_journal_superblock() local
56 if ((retval = ext2fs_get_mem(fs->blocksize, &jsb))) in ext2fs_create_journal_superblock()
57 return retval; in ext2fs_create_journal_superblock()
93 errcode_t retval; in write_journal_file() local
98 if ((retval = ext2fs_create_journal_superblock(fs, num_blocks, flags, in write_journal_file()
100 return retval; in write_journal_file()
104 retval = errno; in write_journal_file()
109 retval = EXT2_ET_SHORT_WRITE; in write_journal_file()
112 retval = errno; in write_journal_file()
125 retval = errno; in write_journal_file()
[all …]
Dmkdir.c39 errcode_t retval; in ext2fs_mkdir() local
61 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFDIR | 0755, in ext2fs_mkdir()
63 if (retval) in ext2fs_mkdir()
72 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino, in ext2fs_mkdir()
76 if (retval) in ext2fs_mkdir()
84 retval = ext2fs_new_dir_inline_data(fs, ino, parent, in ext2fs_mkdir()
87 retval = ext2fs_new_dir_block(fs, ino, parent, &block); in ext2fs_mkdir()
88 if (retval) in ext2fs_mkdir()
95 retval = ext2fs_read_inode(fs, parent, &parent_inode); in ext2fs_mkdir()
96 if (retval) in ext2fs_mkdir()
[all …]
Drw_bitmaps.c37 errcode_t retval; in write_bitmaps() local
54 retval = io_channel_alloc_buf(fs->io, 0, &block_buf); in write_bitmaps()
55 if (retval) in write_bitmaps()
62 retval = io_channel_alloc_buf(fs->io, 0, &inode_buf); in write_bitmaps()
63 if (retval) in write_bitmaps()
76 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in write_bitmaps()
78 if (retval) in write_bitmaps()
92 retval = ext2fs_block_bitmap_csum_set(fs, i, block_buf, in write_bitmaps()
94 if (retval) in write_bitmaps()
95 return retval; in write_bitmaps()
[all …]
Dget_pathname.c51 errcode_t retval; in get_pathname_proc() local
59 retval = ext2fs_get_mem(name_len + 1, &gp->name); 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 …]
Dtest_io.c117 errcode_t retval = 0; in test_flush() local
124 retval = io_channel_flush(data->real); in test_flush()
128 retval ? error_message(retval) : "OK"); in test_flush()
130 return retval; in test_flush()
176 errcode_t retval; in test_open() local
181 retval = ext2fs_get_mem(sizeof(struct struct_io_channel), &io); in test_open()
182 if (retval) in test_open()
186 retval = ext2fs_get_mem(sizeof(struct test_private_data), &data); in test_open()
187 if (retval) in test_open()
190 retval = ext2fs_get_mem(strlen(name)+1, &io->name); in test_open()
[all …]
Dimager.c68 errcode_t retval; in ext2fs_image_inode_write() local
78 retval = EXT2_ET_MISSING_INODE_TABLE; in ext2fs_image_inode_write()
86 retval = io_channel_read_blk64(fs->io, blk, c, buf); in ext2fs_image_inode_write()
87 if (retval) in ext2fs_image_inode_write()
104 retval = errno; in ext2fs_image_inode_write()
117 retval = errno; in ext2fs_image_inode_write()
121 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_inode_write()
131 retval = 0; in ext2fs_image_inode_write()
135 return retval; in ext2fs_image_inode_write()
148 errcode_t retval; in ext2fs_image_inode_read() local
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel.c108 errcode_t retval; in display_irel_entry() local
116 retval = ext2fs_irel_start_iter_ref(irel, old); in display_irel_entry()
117 if (retval) { in display_irel_entry()
119 error_message(retval)); in display_irel_entry()
123 retval = ext2fs_irel_next_ref(irel, &ref); in display_irel_entry()
124 if (retval) { in display_irel_entry()
125 printf("(%s) ", error_message(retval)); in display_irel_entry()
147 errcode_t retval; in do_brel_ma_create() local
156 retval = ext2fs_brel_memarray_create(argv[1], max_blk, &brel); in do_brel_ma_create()
157 if (retval) { in do_brel_ma_create()
[all …]
Dtest_icount.c67 errcode_t retval; in do_create_icount() local
87 retval = ext2fs_create_icount(test_fs, flags, (int) size, in do_create_icount()
89 if (retval) { in do_create_icount()
90 com_err(progname, retval, "while creating icount"); in do_create_icount()
113 errcode_t retval; in do_fetch() local
125 retval = ext2fs_icount_fetch(test_icount, ino, &count); in do_fetch()
126 if (retval) { in do_fetch()
127 com_err(argv[0], retval, "while calling ext2fs_icount_fetch"); in do_fetch()
137 errcode_t retval; in do_increment() local
149 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/e2fsprogs/misc/
Dcreate_inode.c76 errcode_t retval; in add_link() local
78 retval = ext2fs_read_inode(fs, ino, &inode); in add_link()
79 if (retval) { in add_link()
80 com_err(__func__, retval, _("while reading inode %u"), ino); in add_link()
81 return retval; in add_link()
84 retval = ext2fs_link(fs, parent_ino, name, ino, in add_link()
86 if (retval == EXT2_ET_DIR_NO_SPACE) { in add_link()
87 retval = ext2fs_expand_dir(fs, parent_ino); in add_link()
88 if (retval) { in add_link()
89 com_err(__func__, retval, in add_link()
[all …]
/external/freetype/src/type1/
Dt1driver.c191 FT_ULong retval = 0; /* always >= 1 if valid */ in t1_ps_get_font_value() local
201 retval = sizeof ( type1->font_type ); in t1_ps_get_font_value()
202 if ( value && value_len >= retval ) in t1_ps_get_font_value()
213 retval = sizeof ( val ); in t1_ps_get_font_value()
214 if ( value && value_len >= retval ) in t1_ps_get_font_value()
243 retval = sizeof ( val ); in t1_ps_get_font_value()
244 if ( value && value_len >= retval ) in t1_ps_get_font_value()
267 retval = sizeof ( type1->paint_type ); in t1_ps_get_font_value()
268 if ( value && value_len >= retval ) in t1_ps_get_font_value()
275 retval = ft_strlen( type1->font_name ) + 1; in t1_ps_get_font_value()
[all …]
/external/e2fsprogs/contrib/android/
Dperms.c34 errcode_t retval, close_retval; in ino_add_xattr() local
37 retval = ext2fs_xattrs_open(fs, ino, &xhandle); in ino_add_xattr()
38 if (retval) { in ino_add_xattr()
39 com_err(__func__, retval, _("while opening inode %u"), ino); in ino_add_xattr()
40 return retval; in ino_add_xattr()
42 retval = ext2fs_xattrs_read(xhandle); in ino_add_xattr()
43 if (retval) { in ino_add_xattr()
44 com_err(__func__, retval, in ino_add_xattr()
48 retval = ext2fs_xattr_set(xhandle, name, value, value_len); in ino_add_xattr()
49 if (retval) { in ino_add_xattr()
[all …]
/external/antlr/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.java73 SimpleCParser.program_return retval = new SimpleCParser.program_return(); in program() local
74 retval.start = input.LT(1); in program()
126 retval.stop = input.LT(-1); in program()
128 retval.tree = (Object)adaptor.rulePostProcessing(root_0); in program()
129 adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop); in program()
135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in program()
140 return retval; in program()
152 SimpleCParser.declaration_return retval = new SimpleCParser.declaration_return(); in declaration() local
153 retval.start = input.LT(1); in declaration()
211 retval.tree = root_0; in declaration()
[all …]
/external/libvpx/libvpx/vp8/common/
Dquant_common.c38 int retval; in vp8_dc_quant() local
48 retval = dc_qlookup[QIndex]; in vp8_dc_quant()
49 return retval; in vp8_dc_quant()
53 int retval; in vp8_dc2quant() local
63 retval = dc_qlookup[QIndex] * 2; in vp8_dc2quant()
64 return retval; in vp8_dc2quant()
67 int retval; in vp8_dc_uv_quant() local
77 retval = dc_qlookup[QIndex]; in vp8_dc_uv_quant()
79 if (retval > 132) retval = 132; in vp8_dc_uv_quant()
81 return retval; in vp8_dc_uv_quant()
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java486 smaliParser.smali_file_return retval = new smaliParser.smali_file_return(); in smali_file() local
487 retval.start = input.LT(1); in smali_file()
659 retval.tree = root_0; in smali_file()
660 …m stream_retval=new RewriteRuleSubtreeStream(adaptor,"rule retval",retval!=null?retval.getTree():n… in smali_file()
721 retval.tree = root_0; in smali_file()
725 retval.stop = input.LT(-1); in smali_file()
727 retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0); in smali_file()
728 adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop); in smali_file()
734 retval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re); in smali_file()
740 return retval; in smali_file()
[all …]
/external/autotest/client/tests/rtc/src/
Drtctest.c36 int i, fd, retval, irqcount = 0; in main() local
64 retval = ioctl(fd, RTC_UIE_ON, 0); in main()
65 if (retval == -1) { in main()
80 retval = read(fd, &data, sizeof(unsigned long)); in main()
81 if (retval == -1) { in main()
99 retval = select(fd+1, &readfds, NULL, NULL, &tv); in main()
100 if (retval == -1) { in main()
105 retval = read(fd, &data, sizeof(unsigned long)); in main()
106 if (retval == -1) { in main()
116 retval = ioctl(fd, RTC_UIE_OFF, 0); in main()
[all …]

12345678910>>...86