Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 843) sorted by relevance

12345678910>>...34

/toolchain/binutils/binutils-2.27/zlib/test/
Dinfcover.c287 int ret; in inf() local
296 ret = inflateInit2(&strm, win); in inf()
297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
320 ret = inflate(&strm, Z_NO_FLUSH); assert(err == 9 || ret == err); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
323 if (ret == Z_NEED_DICT) { in inf()
324 ret = inflateSetDictionary(&strm, in, 1); in inf()
325 assert(ret == Z_DATA_ERROR); in inf()
327 ret = inflateSetDictionary(&strm, out, 0); in inf()
[all …]
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/z8k/
Dret-cc.s3 ret f
4 ret lt
5 ret le
6 ret ule
7 ret ov
8 ret pe
9 ret mi
10 ret eq
11 ret z
12 ret c
[all …]
Dret-cc.d10 0: 9e00 ret f
11 2: 9e01 ret lt
12 4: 9e02 ret le
13 6: 9e03 ret ule
14 8: 9e04 ret ov/pe
15 a: 9e04 ret ov/pe
16 c: 9e05 ret mi
17 e: 9e06 ret eq
18 10: 9e06 ret eq
19 12: 9e07 ret c/ult
[all …]
/toolchain/binutils/binutils-2.27/zlib/examples/
Dfitblk.c75 int ret, flush; in partcompress() local
86 ret = deflate(def, flush); in partcompress()
87 assert(ret != Z_STREAM_ERROR); in partcompress()
89 return ret; in partcompress()
98 int ret, flush; in recompress() local
106 ret = inflate(inf, Z_NO_FLUSH); in recompress()
107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress()
108 ret != Z_NEED_DICT); in recompress()
109 if (ret == Z_MEM_ERROR) in recompress()
110 return ret; in recompress()
[all …]
Dzpipe.c38 int ret, flush; in def() local
48 ret = deflateInit(&strm, level); in def()
49 if (ret != Z_OK) in def()
50 return ret; in def()
67 ret = deflate(&strm, flush); /* no bad return value */ in def()
68 assert(ret != Z_STREAM_ERROR); /* state not clobbered */ in def()
79 assert(ret == Z_STREAM_END); /* stream will be complete */ in def()
94 int ret; in inf() local
106 ret = inflateInit(&strm); in inf()
107 if (ret != Z_OK) in inf()
[all …]
Dzran.c146 int ret; in build_index() local
160 ret = inflateInit2(&strm, 47); /* automatic zlib or gzip decoding */ in build_index()
161 if (ret != Z_OK) in build_index()
162 return ret; in build_index()
174 ret = Z_ERRNO; in build_index()
178 ret = Z_DATA_ERROR; in build_index()
195 ret = inflate(&strm, Z_BLOCK); /* return at end of block */ in build_index()
198 if (ret == Z_NEED_DICT) in build_index()
199 ret = Z_DATA_ERROR; in build_index()
200 if (ret == Z_MEM_ERROR || ret == Z_DATA_ERROR) in build_index()
[all …]
Dgun.c91 int ret; in in() local
100 ret = PIECE; in in()
101 if ((unsigned)ret > SIZE - len) in in()
102 ret = (int)(SIZE - len); in in()
103 ret = (int)read(me->infile, next, ret); in in()
104 if (ret == -1) { in in()
108 next += ret; in in()
109 len += ret; in in()
110 } while (ret != 0 && len < SIZE); in in()
133 int ret; in out() local
[all …]
/toolchain/binutils/binutils-2.27/libiberty/
Dsimple-object.c170 simple_object_read *ret; in simple_object_start_read() local
172 ret = XNEW (simple_object_read); in simple_object_start_read()
173 ret->descriptor = descriptor; in simple_object_start_read()
174 ret->offset = offset; in simple_object_start_read()
175 ret->functions = format_functions[i]; in simple_object_start_read()
176 ret->data = data; in simple_object_start_read()
177 return ret; in simple_object_start_read()
259 simple_object_attributes *ret; in simple_object_fetch_attributes() local
264 ret = XNEW (simple_object_attributes); in simple_object_fetch_attributes()
265 ret->functions = sobj->functions; in simple_object_fetch_attributes()
[all …]
Dobjalloc.c88 struct objalloc *ret; in objalloc_create() local
91 ret = (struct objalloc *) malloc (sizeof *ret); in objalloc_create()
92 if (ret == NULL) in objalloc_create()
95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
98 free (ret); in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
106 ret->current_ptr = (char *) chunk + CHUNK_HEADER_SIZE; in objalloc_create()
107 ret->current_space = CHUNK_SIZE - CHUNK_HEADER_SIZE; in objalloc_create()
109 return ret; in objalloc_create()
[all …]
Dcp-demangle.c1438 struct demangle_component *ret; in d_nested_name() local
1445 pret = d_cv_qualifiers (di, &ret, 1); in d_nested_name()
1459 d_left (rqual) = ret; in d_nested_name()
1460 ret = rqual; in d_nested_name()
1466 return ret; in d_nested_name()
1484 struct demangle_component *ret = NULL; in d_prefix() local
1521 if (ret == NULL) in d_prefix()
1529 return ret; in d_prefix()
1535 if (ret == NULL) in d_prefix()
1543 if (ret == NULL) in d_prefix()
[all …]
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/
Dioapi.c134 uLong ret; in fread_file_func() local
135 ret = (uLong)fread(buf, 1, (size_t)size, (FILE *)stream); in fread_file_func()
136 return ret; in fread_file_func()
141 uLong ret; in fwrite_file_func() local
142 ret = (uLong)fwrite(buf, 1, (size_t)size, (FILE *)stream); in fwrite_file_func()
143 return ret; in fwrite_file_func()
148 long ret; in ftell_file_func() local
149 ret = ftell((FILE *)stream); in ftell_file_func()
150 return ret; in ftell_file_func()
156 ZPOS64_T ret; in ftell64_file_func() local
[all …]
Diowin32.c78 voidpf ret=NULL; in win32_build_iowin() local
85 ret = malloc(sizeof(WIN32FILE_IOWIN)); in win32_build_iowin()
87 if (ret==NULL) in win32_build_iowin()
90 *((WIN32FILE_IOWIN*)ret) = w32fiow; in win32_build_iowin()
92 return ret; in win32_build_iowin()
199 uLong ret=0; in win32_read_file_func() local
206 if (!ReadFile(hFile, buf, size, &ret, NULL)) in win32_read_file_func()
215 return ret; in win32_read_file_func()
221 uLong ret=0; in win32_write_file_func() local
228 if (!WriteFile(hFile, buf, size, &ret, NULL)) in win32_write_file_func()
[all …]
/toolchain/binutils/binutils-2.27/gold/testsuite/
Difuncmain3.c44 int *ret; in main() local
69 ret = dlsym (h, "ret_foo"); in main()
70 if (ret == NULL) in main()
81 if (*ret != -30 || (*p) () != *ret) in main()
91 ret = dlsym (h, "ret_foo_hidden"); in main()
92 if (ret == NULL) in main()
101 if (*ret != 1 || (*p) () != *ret) in main()
111 ret = dlsym (h, "ret_foo_protected"); in main()
112 if (ret == NULL) in main()
123 if (*ret != 0 || (*p) () != *ret) in main()
Difunc-sel.h28 register void *ret __asm__ ("r3"); in ifunc_sel()
46 : "=&b" (ret), "=&b" (temp1), "=&b" (temp2) in ifunc_sel()
48 return ret; in ifunc_sel()
77 register void *ret __asm__ ("r3"); in ifunc_one()
85 : "=&b" (ret), "=&r" (temp) in ifunc_one()
87 return ret; in ifunc_one()
/toolchain/binutils/binutils-2.27/opcodes/
Dv850-opc.c98 unsigned long ret = (insn & 0x003c0000) >> (16+2); in extract_i5div1() local
99 ret = 32 - (ret * 2); in extract_i5div1()
102 *invalid = (ret > 30 || ret < 2) ? 1 : 0; in extract_i5div1()
103 return ret; in extract_i5div1()
127 unsigned long ret = (insn & 0x003c0000) >> (16+2); in extract_i5div2() local
128 ret = 32 - (ret * 2); in extract_i5div2()
131 *invalid = (ret > 30 || ret < 4) ? 1 : 0; in extract_i5div2()
132 return ret; in extract_i5div2()
156 unsigned long ret = (insn & 0x003c0000) >> (16+2); in extract_i5div3() local
157 ret = 32 - (ret * 2); in extract_i5div3()
[all …]
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/z80/
Dbranch.s37 ret
38 ret c
39 ret nc
40 ret z
41 ret nz
42 ret pe
43 ret po
44 ret m
45 ret p
Dbranch.d36 [ ]+47:[ ]+c9[ ]+ret
37 [ ]+48:[ ]+d8[ ]+ret c
38 [ ]+49:[ ]+d0[ ]+ret nc
39 [ ]+4a:[ ]+c8[ ]+ret z
40 [ ]+4b:[ ]+c0[ ]+ret nz
41 [ ]+4c:[ ]+e8[ ]+ret pe
42 [ ]+4d:[ ]+e0[ ]+ret po
43 [ ]+4e:[ ]+f8[ ]+ret m
44 [ ]+4f:[ ]+f0[ ]+ret p
/toolchain/binutils/binutils-2.27/bfd/
Dhash.c620 void * ret; in bfd_hash_allocate() local
622 ret = objalloc_alloc ((struct objalloc *) table->memory, size); in bfd_hash_allocate()
623 if (ret == NULL && size != 0) in bfd_hash_allocate()
625 return ret; in bfd_hash_allocate()
728 struct strtab_hash_entry *ret = (struct strtab_hash_entry *) entry; in strtab_hash_newfunc() local
732 if (ret == NULL) in strtab_hash_newfunc()
733 ret = (struct strtab_hash_entry *) bfd_hash_allocate (table, in strtab_hash_newfunc()
734 sizeof (* ret)); in strtab_hash_newfunc()
735 if (ret == NULL) in strtab_hash_newfunc()
739 ret = (struct strtab_hash_entry *) in strtab_hash_newfunc()
[all …]
/toolchain/binutils/binutils-2.27/binutils/
Dwindmc.c178 FILE *ret; in mc_create_path_text_file() local
188 if ((ret = fopen (hsz, "wb")) == NULL) in mc_create_path_text_file()
191 return ret; in mc_create_path_text_file()
283 mc_node *ret; in mc_add_node() local
285 ret = res_alloc (sizeof (mc_node)); in mc_add_node()
286 memset (ret, 0, sizeof (mc_node)); in mc_add_node()
288 mc_nodes = ret; in mc_add_node()
295 h->next = ret; in mc_add_node()
297 return ret; in mc_add_node()
303 mc_node_lang *ret, *h, *p; in mc_add_node_lang() local
[all …]
Drdcoff.c242 debug_type ret; in parse_coff_base_type() local
258 ret = debug_make_void_type (dhandle); in parse_coff_base_type()
263 ret = debug_make_void_type (dhandle); in parse_coff_base_type()
268 ret = debug_make_int_type (dhandle, 1, FALSE); in parse_coff_base_type()
273 ret = debug_make_int_type (dhandle, 2, FALSE); in parse_coff_base_type()
279 ret = debug_make_int_type (dhandle, 4, FALSE); in parse_coff_base_type()
284 ret = debug_make_int_type (dhandle, 4, FALSE); in parse_coff_base_type()
289 ret = debug_make_float_type (dhandle, 4); in parse_coff_base_type()
294 ret = debug_make_float_type (dhandle, 8); in parse_coff_base_type()
299 ret = debug_make_float_type (dhandle, 12); in parse_coff_base_type()
[all …]
/toolchain/binutils/binutils-2.27/gas/
Dhash.c88 struct hash_control *ret; in hash_new_sized() local
90 ret = XNEW (struct hash_control); in hash_new_sized()
91 obstack_begin (&ret->memory, chunksize); in hash_new_sized()
93 ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc); in hash_new_sized()
94 memset (ret->table, 0, alloc); in hash_new_sized()
95 ret->size = size; in hash_new_sized()
98 ret->lookups = 0; in hash_new_sized()
99 ret->hash_compares = 0; in hash_new_sized()
100 ret->string_compares = 0; in hash_new_sized()
101 ret->insertions = 0; in hash_new_sized()
[all …]
/toolchain/binutils/binutils-2.27/ld/emultempl/
Dnios2elf.em89 bfd_boolean ret;
96 ret = hook_in_stub (info, &constructor_list.head, afterp);
97 if (ret)
98 return ret;
102 ret = hook_in_stub (info,
105 if (ret)
106 return ret;
110 ret = hook_in_stub (info, &l->wild_statement.children.head, afterp);
111 if (ret)
112 return ret;
[all …]
/toolchain/binutils/binutils-2.27/zlib/
Dgzread.c26 int ret; local
30 ret = read(state->fd, buf + *have, len - *have);
31 if (ret <= 0)
33 *have += ret;
35 if (ret < 0) {
39 if (ret == 0)
175 int ret = Z_OK; local
191 ret = inflate(strm, Z_NO_FLUSH);
192 if (ret == Z_STREAM_ERROR || ret == Z_NEED_DICT) {
197 if (ret == Z_MEM_ERROR) {
[all …]
/toolchain/binutils/binutils-2.27/gas/testsuite/gas/ia64/
Dregval.s6 br.ret.sptk rp
12 br.ret.sptk rp
19 br.ret.sptk rp
26 br.ret.sptk rp
33 br.ret.sptk rp
40 br.ret.sptk rp
47 br.ret.sptk rp
/toolchain/binutils/binutils-2.27/gold/
Dtarget-select.cc112 Target* ret = p->recognize(input_file, offset, in select_target() local
114 if (ret != NULL) in select_target()
115 return ret; in select_target()
132 Target* ret = p->recognize_by_bfd_name(name); in select_target_by_bfd_name() local
133 if (ret != NULL) in select_target_by_bfd_name()
134 return ret; in select_target_by_bfd_name()
151 Target* ret = p->recognize_by_emulation(name); in select_target_by_emulation() local
152 if (ret != NULL) in select_target_by_emulation()
153 return ret; in select_target_by_emulation()

12345678910>>...34