Home
last modified time | relevance | path

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

12345678910>>...62

/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()
45 if (retval) in ext2fs_inline_data_ea_set()
48 retval = ext2fs_xattrs_write(handle); in ext2fs_inline_data_ea_set()
52 return retval; in ext2fs_inline_data_ea_set()
[all …]
Dfileio.c42 errcode_t retval; in ext2fs_file_open2() local
52 retval = ext2fs_get_mem(sizeof(struct ext2_file), &file); in ext2fs_file_open2()
53 if (retval) in ext2fs_file_open2()
54 return retval; in ext2fs_file_open2()
65 retval = ext2fs_read_inode(fs, ino, &file->inode); in ext2fs_file_open2()
66 if (retval) in ext2fs_file_open2()
70 retval = ext2fs_get_array(3, fs->blocksize, &file->buf); in ext2fs_file_open2()
71 if (retval) in ext2fs_file_open2()
81 return retval; in ext2fs_file_open2()
124 errcode_t retval; in ext2fs_file_flush() local
[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()
54 retval = ext2fs_bmap2(fs, inode, &ei, NULL, 0, 0, NULL, &blk); in follow_link()
55 if (retval) in follow_link()
56 return retval; in follow_link()
58 retval = ext2fs_get_mem(fs->blocksize, &buffer); in follow_link()
59 if (retval) in follow_link()
60 return retval; in follow_link()
62 retval = io_channel_read_blk64(fs->io, blk, 1, buffer); in follow_link()
[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 …]
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 …]
Dmmp.c46 errcode_t retval = 0; in ext2fs_mmp_read() local
60 retval = EXT2_ET_MMP_OPEN_DIRECT; in ext2fs_mmp_read()
68 retval = ext2fs_get_memalign(fs->blocksize, align, in ext2fs_mmp_read()
70 if (retval) in ext2fs_mmp_read()
71 return retval; in ext2fs_mmp_read()
77 retval = EXT2_ET_LLSEEK_FAILED; in ext2fs_mmp_read()
82 retval = EXT2_ET_SHORT_READ; in ext2fs_mmp_read()
90 retval = EXT2_ET_MMP_CSUM_INVALID; in ext2fs_mmp_read()
100 retval = EXT2_ET_MMP_MAGIC_INVALID; in ext2fs_mmp_read()
105 return retval; in ext2fs_mmp_read()
[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 …]
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 …]
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 …]
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 …]
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()
103 retval = errno; in ext2fs_image_inode_write()
116 retval = errno; in ext2fs_image_inode_write()
120 retval = EXT2_ET_SHORT_WRITE; in ext2fs_image_inode_write()
130 retval = 0; in ext2fs_image_inode_write()
134 return retval; in ext2fs_image_inode_write()
147 errcode_t retval; in ext2fs_image_inode_read() local
[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 …]
Dsymlink.c34 errcode_t retval; in ext2fs_symlink() local
47 retval = EXT2_ET_INVALID_ARGUMENT; in ext2fs_symlink()
54 retval = ext2fs_get_mem(fs->blocksize+1, &block_buf); in ext2fs_symlink()
55 if (retval) in ext2fs_symlink()
63 retval = ext2fs_new_block2(fs, ext2fs_find_inode_goal(fs, ino, in ext2fs_symlink()
67 if (retval) in ext2fs_symlink()
75 retval = ext2fs_new_inode(fs, parent, LINUX_S_IFLNK | 0755, in ext2fs_symlink()
77 if (retval) in ext2fs_symlink()
99 retval = ext2fs_write_new_inode(fs, ino, &inode); in ext2fs_symlink()
100 if (retval) in ext2fs_symlink()
[all …]
/external/e2fsprogs/misc/
Dcreate_inode.c73 errcode_t retval; in add_link() local
75 retval = ext2fs_read_inode(fs, ino, &inode); in add_link()
76 if (retval) { in add_link()
77 com_err(__func__, retval, _("while reading inode %u"), ino); in add_link()
78 return retval; in add_link()
81 retval = ext2fs_link(fs, parent_ino, name, ino, in add_link()
83 if (retval == EXT2_ET_DIR_NO_SPACE) { in add_link()
84 retval = ext2fs_expand_dir(fs, parent_ino); in add_link()
85 if (retval) { in add_link()
86 com_err(__func__, retval, in add_link()
[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.c66 errcode_t retval; in do_create_icount() local
86 retval = ext2fs_create_icount(test_fs, flags, (int) size, in do_create_icount()
88 if (retval) { in do_create_icount()
89 com_err(progname, retval, "while creating icount"); in do_create_icount()
106 errcode_t retval; in do_fetch() local
118 retval = ext2fs_icount_fetch(test_icount, ino, &count); in do_fetch()
119 if (retval) { in do_fetch()
120 com_err(argv[0], retval, "while calling ext2fs_icount_fetch"); in do_fetch()
129 errcode_t retval; in do_increment() local
141 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/third_party/freetype/src/type1/
Dt1driver.c181 FT_ULong retval = 0; /* always >= 1 if valid */ in t1_ps_get_font_value() local
191 retval = sizeof ( type1->font_type ); in t1_ps_get_font_value()
192 if ( value && value_len >= retval ) in t1_ps_get_font_value()
203 retval = sizeof ( val ); in t1_ps_get_font_value()
204 if ( value && value_len >= retval ) in t1_ps_get_font_value()
233 retval = sizeof ( val ); in t1_ps_get_font_value()
234 if ( value && value_len >= retval ) in t1_ps_get_font_value()
257 retval = sizeof ( type1->paint_type ); in t1_ps_get_font_value()
258 if ( value && value_len >= retval ) in t1_ps_get_font_value()
263 retval = ft_strlen( type1->font_name ) + 1; in t1_ps_get_font_value()
[all …]
/external/e2fsprogs/contrib/android/
Dperms.c31 errcode_t retval, close_retval; in ino_add_xattr() local
34 retval = ext2fs_xattrs_open(fs, ino, &xhandle); in ino_add_xattr()
35 if (retval) { in ino_add_xattr()
36 com_err(__func__, retval, _("while opening inode %u"), ino); in ino_add_xattr()
37 return retval; in ino_add_xattr()
39 retval = ext2fs_xattrs_read(xhandle); in ino_add_xattr()
40 if (retval) { in ino_add_xattr()
41 com_err(__func__, retval, in ino_add_xattr()
45 retval = ext2fs_xattr_set(xhandle, name, value, value_len); in ino_add_xattr()
46 if (retval) { in ino_add_xattr()
[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/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 …]
/external/e2fsprogs/debugfs/
Dextent_inode.c71 errcode_t retval; in do_extent_open() local
90 retval = ext2fs_extent_open(current_fs, inode, &current_handle); in do_extent_open()
91 if (retval) { in do_extent_open()
92 com_err(argv[1], retval, "while opening extent handle"); in do_extent_open()
101 com_err(argv[1], retval, "out of memory"); in do_extent_open()
142 errcode_t retval; in generic_goto_node() local
153 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node()
154 if (retval) { in generic_goto_node()
155 com_err(argv[0], retval, 0); in generic_goto_node()
229 errcode_t retval; in do_delete_node() local
[all …]
/external/antlr/antlr-3.4/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 …]

12345678910>>...62