Home
last modified time | relevance | path

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

123

/toolchain/binutils/binutils-2.25/intl/
Dfinddomain.c56 struct loaded_l10nfile *retval; local
91 retval = _nl_make_l10nflist (&_nl_loaded_domains, dirname,
94 if (retval != NULL)
99 if (retval->decided == 0)
100 _nl_load_domain (retval, domainbinding);
102 if (retval->data != NULL)
103 return retval;
105 for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
107 if (retval->successor[cnt]->decided == 0)
108 _nl_load_domain (retval->successor[cnt], domainbinding);
[all …]
Dl10nflist.c207 struct loaded_l10nfile *retval; local
300 for (retval = *l10nfile_list; retval != NULL; retval = retval->next)
301 if (retval->filename != NULL)
303 int compare = strcmp (retval->filename, abs_filename);
310 retval = NULL;
314 lastp = &retval->next;
317 if (retval != NULL || do_allocate == 0)
320 return retval;
326 retval =
328 malloc (sizeof (*retval)
[all …]
Dlocalename.c388 const char *retval; local
395 retval = setlocale (category, NULL);
398 retval = getenv ("LC_ALL");
399 if (retval == NULL || retval[0] == '\0')
402 retval = getenv (categoryname);
403 if (retval == NULL || retval[0] == '\0')
406 retval = getenv ("LANG");
407 if (retval == NULL || retval[0] == '\0')
410 retval = "C";
415 return retval;
[all …]
Ddcigettext.c444 char *retval; variable
498 retval = plural_lookup ((*foundp)->domain, n, (*foundp)->translation,
501 retval = (char *) (*foundp)->translation;
504 return retval;
625 retval = _nl_find_msg (domain, binding, msgid1, &retlen);
627 if (retval == NULL)
633 retval = _nl_find_msg (domain->successor[cnt], binding,
636 if (retval != NULL)
644 if (retval != NULL)
666 newp->translation = retval;
[all …]
Dlocalealias.c155 struct alias_map *retval; local
173 retval = (struct alias_map *) bsearch (&item, map, nmap,
179 retval = NULL;
182 if (retval != NULL)
184 result = retval->value;
/toolchain/binutils/binutils-2.25/gold/
Doptions.cc191 parse_bool(const char*, const char*, bool* retval) in parse_bool() argument
193 *retval = true; in parse_bool()
197 parse_uint(const char* option_name, const char* arg, int* retval) in parse_uint() argument
200 *retval = strtol(arg, &endptr, 0); in parse_uint()
201 if (*endptr != '\0' || *retval < 0) in parse_uint()
207 parse_int(const char* option_name, const char* arg, int* retval) in parse_int() argument
210 *retval = strtol(arg, &endptr, 0); in parse_int()
217 parse_uint64(const char* option_name, const char* arg, uint64_t* retval) in parse_uint64() argument
220 *retval = strtoull(arg, &endptr, 0); in parse_uint64()
227 parse_double(const char* option_name, const char* arg, double* retval) in parse_double() argument
[all …]
Ddebug.h63 int retval = 0; in debug_string_to_enum() local
66 retval |= debug_options[i].value; in debug_string_to_enum()
67 return retval; in debug_string_to_enum()
Doptions.h91 parse_bool(const char* option_name, const char* arg, bool* retval);
94 parse_int(const char* option_name, const char* arg, int* retval);
97 parse_uint(const char* option_name, const char* arg, int* retval);
100 parse_uint64(const char* option_name, const char* arg, uint64_t* retval);
103 parse_double(const char* option_name, const char* arg, double* retval);
106 parse_percent(const char* option_name, const char* arg, double* retval);
109 parse_string(const char* option_name, const char* arg, const char** retval);
113 const char** retval);
116 parse_dirlist(const char* option_name, const char* arg, Dir_list* retval);
119 parse_set(const char* option_name, const char* arg, String_set* retval);
[all …]
/toolchain/binutils/binutils-2.25/gas/
Dfrags.c209 char *retval; in frag_more() local
213 retval = obstack_next_free (&frchain_now->frch_obstack); in frag_more()
215 return retval; in frag_more()
257 char *retval; in frag_var() local
260 retval = obstack_next_free (&frchain_now->frch_obstack); in frag_var()
263 return retval; in frag_var()
275 char *retval; in frag_variant() local
277 retval = obstack_next_free (&frchain_now->frch_obstack); in frag_variant()
280 return retval; in frag_variant()
Dstabs.c86 unsigned int retval; in get_stab_string_offset() local
103 retval = seg_info (seg)->stabu.stab_string_size; in get_stab_string_offset()
104 if (retval <= 0) in get_stab_string_offset()
109 retval = seg_info (seg)->stabu.stab_string_size = 1; in get_stab_string_offset()
123 retval = 0; in get_stab_string_offset()
127 return retval; in get_stab_string_offset()
Dexpr.c1768 segT retval; in expr() local
1783 retval = operand (resultP, mode); in expr()
1881 && retval == rightseg in expr()
1915 retval = rightseg; in expr()
2005 if (retval == rightseg in expr()
2006 && SEG_NORMAL (retval) in expr()
2010 retval = absolute_section; in expr()
2027 if (retval != rightseg) in expr()
2029 if (retval == undefined_section) in expr()
2032 retval = rightseg; in expr()
[all …]
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-vax.c305 long retval; in md_chars_to_number() local
307 for (retval = 0, con += nbytes - 1; nbytes--; con--) in md_chars_to_number()
309 retval <<= BITS_PER_CHAR; in md_chars_to_number()
310 retval |= *con; in md_chars_to_number()
312 return retval; in md_chars_to_number()
960 const char *retval = 0; /* error text */ in vip_begin() local
964 for (vP = votstrs; *vP->vot_name && !retval; vP++) in vip_begin()
965 retval = hash_insert (op_hash, vP->vot_name, (void *) &vP->vot_detail); in vip_begin()
968 for (vP = synthetic_votstrs; *vP->vot_name && !retval; vP++) in vip_begin()
969 retval = hash_insert (op_hash, vP->vot_name, (void *) &vP->vot_detail); in vip_begin()
[all …]
Dtc-i960.c461 const char *retval; /* Value returned by hash functions. */ in md_begin() local
469 retval = 0; in md_begin()
471 for (oP = i960_opcodes; oP->name && !retval; oP++) in md_begin()
472 retval = hash_insert (op_hash, oP->name, (void *) oP); in md_begin()
474 for (i = 0; regnames[i].reg_name && !retval; i++) in md_begin()
475 retval = hash_insert (reg_hash, regnames[i].reg_name, in md_begin()
478 for (i = 0; aregs[i].areg_name && !retval; i++) in md_begin()
479 retval = hash_insert (areg_hash, aregs[i].areg_name, in md_begin()
482 if (retval) in md_begin()
483 as_fatal (_("Hashing returned \"%s\"."), retval); in md_begin()
[all …]
Datof-vax.c152 int retval; in what_kind_of_float() local
154 retval = 0; in what_kind_of_float()
178 retval = 69; in what_kind_of_float()
181 return retval; in what_kind_of_float()
Dtc-score7.c1102 int retval = s7_SUCCESS; in s7_end_of_line() local
1107 retval = (int) s7_FAIL; in s7_end_of_line()
1113 return retval; in s7_end_of_line()
2549 enum insn_class retval = (int) s7_FAIL; in s7_get_insn_class_from_type() local
2567 retval = INSN_CLASS_16; in s7_get_insn_class_from_type()
2607 retval = INSN_CLASS_32; in s7_get_insn_class_from_type()
2610 retval = INSN_CLASS_PCE; in s7_get_insn_class_from_type()
2613 retval = INSN_CLASS_SYN; in s7_get_insn_class_from_type()
2619 return retval; in s7_get_insn_class_from_type()
2825 int retval = s7_SUCCESS; in s7_append_insn() local
[all …]
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/
Dfunc.c2 extern int retval;
6 return retval; in func()
Dfunc1p.c1 extern int retval;
7 return retval; in func1()
Dfunc2i.c1 extern int retval;
7 return retval; in func2()
Dfunc3h.c1 extern int retval;
7 return retval; in func3()
Dmain.c7 int retval = 0; variable
/toolchain/binutils/binutils-2.25/opcodes/
Dia64-dis.c72 int slotnum, j, status, need_comma, retval, slot_multiplier; in print_insn_ia64() local
86 retval = slot_multiplier; in print_insn_ia64()
120 retval += slot_multiplier; in print_insn_ia64()
314 retval += 16 - 3*slot_multiplier; in print_insn_ia64()
315 return retval; in print_insn_ia64()
Dcris-dis.c409 int retval = 0; in cris_constraint() local
516 retval = (((insn >> 12) & 15) == (insn & 15)); in cris_constraint()
517 if (!retval) in cris_constraint()
520 retval += 4; in cris_constraint()
542 retval += 3; in cris_constraint()
553 return retval; in cris_constraint()
/toolchain/binutils/binutils-2.25/ld/
Dtestplug.c282 set_ret_val (const char *whichval, enum ld_plugin_status retval) in set_ret_val() argument
285 onload_ret = retval; in set_ret_val()
287 claim_file_ret = retval; in set_ret_val()
289 all_symbols_read_ret = retval; in set_ret_val()
291 cleanup_ret = retval; in set_ret_val()
/toolchain/binutils/binutils-2.25/binutils/
Dnm.c1199 bfd_boolean retval = TRUE; in display_file() local
1235 retval = FALSE; in display_file()
1244 return retval; in display_file()
1530 int retval; in main() local
1685 retval = 0; in main()
1695 retval++; in main()
1709 exit (retval); in main()
1710 return retval; in main()
/toolchain/binutils/binutils-2.25/bfd/
Dmmo.c353 bfd_boolean retval; member
795 bfd_boolean retval = TRUE; in mmo_write_chunk() local
819 retval = (retval in mmo_write_chunk()
836 if (! retval) in mmo_write_chunk()
838 return retval; in mmo_write_chunk()
1140 bfd_byte retval; in mmo_get_byte() local
1155 retval = abfd->tdata.mmo_data->buf[abfd->tdata.mmo_data->byte_no]; in mmo_get_byte()
1158 return retval; in mmo_get_byte()
3091 if (! infop->retval) in mmo_write_section_unless_reg_contents()
3113 infop->retval = FALSE; in mmo_write_section_unless_reg_contents()
[all …]

123