Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 1192) 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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/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/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/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 …]
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 …]
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 …]
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 …]
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 …]
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 …]
Drw_bitmaps.c36 errcode_t retval; in write_bitmaps() local
55 retval = io_channel_alloc_buf(fs->io, 0, &block_buf); in write_bitmaps()
56 if (retval) in write_bitmaps()
63 retval = io_channel_alloc_buf(fs->io, 0, &inode_buf); in write_bitmaps()
64 if (retval) in write_bitmaps()
77 retval = ext2fs_get_block_bitmap_range2(fs->block_map, in write_bitmaps()
79 if (retval) in write_bitmaps()
94 retval = io_channel_write_blk64(fs->io, blk, 1, in write_bitmaps()
96 if (retval) { in write_bitmaps()
97 retval = EXT2_ET_BLOCK_BITMAP_WRITE; in write_bitmaps()
[all …]
/external/libnfc-nci/halimpl/bcm2079x/
Dnfc_nci.c37 int retval = 0; in hal_open() local
40 retval = HaiOpen (dev, p_hal_cback, p_hal_data_callback); in hal_open()
41 return retval; in hal_open()
48 int retval = 0; in hal_write() local
51 retval = HaiWrite (dev, data_len, p_data); in hal_write()
52 return retval; in hal_write()
59 int retval = 0; in hal_core_initialized() local
62 retval = HaiCoreInitialized (dev, p_core_init_rsp_params); in hal_core_initialized()
63 return retval; in hal_core_initialized()
69 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/libnfc-nci/halimpl/pn54x/
Dnfc_nci.c44 int retval = 0; in hal_open() local
47 retval = phNxpNciHal_open(p_hal_cback, p_hal_data_callback); in hal_open()
49 return retval; in hal_open()
64 int retval = 0; in hal_write() local
67 retval = phNxpNciHal_write(data_len, p_data); in hal_write()
68 return retval; in hal_write()
84 int retval = 0; in hal_core_initialized() local
87 retval = phNxpNciHal_core_initialized(p_core_init_rsp_params); in hal_core_initialized()
88 return retval; in hal_core_initialized()
102 int retval = 0; in hal_pre_discover() local
[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.c70 errcode_t retval; in do_extent_open() local
89 retval = ext2fs_extent_open(current_fs, inode, &current_handle); in do_extent_open()
90 if (retval) { in do_extent_open()
91 com_err(argv[1], retval, "while opening extent handle"); in do_extent_open()
136 errcode_t retval; in generic_goto_node() local
147 retval = ext2fs_extent_get(current_handle, op, &extent); in generic_goto_node()
148 if (retval) { in generic_goto_node()
149 com_err(argv[0], retval, 0); in generic_goto_node()
223 errcode_t retval; in do_delete_node() local
229 retval = ext2fs_extent_delete(current_handle, 0); in do_delete_node()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
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/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>>...48