Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 2128) 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 …]
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.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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
/external/mesa3d/include/android_stub/log/
Dlog_event_list.h120 int retval = android_log_destroy(&ctx); in close() local
121 if (retval < 0) ret = retval; in close()
122 return retval; in close()
136 int retval = android_log_write_list_begin(ctx); in begin() local
137 if (retval < 0) ret = retval; in begin()
141 int retval = android_log_write_list_end(ctx); in end() local
142 if (retval < 0) ret = retval; in end()
147 int retval = android_log_write_int32(ctx, value); variable
148 if (retval < 0) ret = retval;
153 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); variable
[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.c192 FT_ULong retval = 0; /* always >= 1 if valid */ in t1_ps_get_font_value() local
202 retval = sizeof ( type1->font_type ); in t1_ps_get_font_value()
203 if ( value && value_len >= retval ) in t1_ps_get_font_value()
214 retval = sizeof ( val ); in t1_ps_get_font_value()
215 if ( value && value_len >= retval ) in t1_ps_get_font_value()
244 retval = sizeof ( val ); in t1_ps_get_font_value()
245 if ( value && value_len >= retval ) in t1_ps_get_font_value()
268 retval = sizeof ( type1->paint_type ); in t1_ps_get_font_value()
269 if ( value && value_len >= retval ) in t1_ps_get_font_value()
276 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 …]
Dfsmap.c31 errcode_t retval; in ino_iter_extents() local
38 retval = ext2fs_extent_get(extents, op, &extent); in ino_iter_extents()
39 if (retval) in ino_iter_extents()
56 if (retval == EXT2_ET_EXTENT_NO_NEXT) in ino_iter_extents()
57 retval = 0; in ino_iter_extents()
58 if (retval) { in ino_iter_extents()
59 com_err(__func__, retval, ("getting extents of ino \"%u\""), in ino_iter_extents()
62 return retval; in ino_iter_extents()
68 errcode_t retval; in ino_iter_blocks() local
73 retval = ext2fs_read_inode(fs, ino, &inode); in ino_iter_blocks()
[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/libsrtp2/test/
Drtpw_test_gcm.sh81 retval=$?
82 echo $retval
83 if [ $retval != 0 ]; then
98 retval=$?
99 echo $retval
100 if [ $retval != 0 ]; then
126 retval=$?
127 echo $retval
128 if [ $retval != 0 ]; then
143 retval=$?
[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 …]

12345678910>>...86