/freebsd/sys/dev/atkbdc/ |
H A D | atkbdc_subr.c | 54 int retval = 0; in atkbdc_print_child() local 58 retval += bus_print_child_header(bus, dev); in atkbdc_print_child() 61 retval += printf(" flags 0x%x", flags); in atkbdc_print_child() 64 retval += printf(" irq %jd", irq); in atkbdc_print_child() 65 retval += bus_print_child_footer(bus, dev); in atkbdc_print_child() 67 return (retval); in atkbdc_print_child()
|
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | TypeSummary.cpp | 68 bool StringSummaryFormat::FormatObject(ValueObject *valobj, std::string &retval, in FormatObject() argument 71 retval.assign("NULL ValueObject"); in FormatObject() 85 retval = std::string(s.GetString()); in FormatObject() 91 retval.assign(std::string(s.GetString())); in FormatObject() 94 retval.assign("error: summary string parsing error"); in FormatObject() 156 bool ScriptSummaryFormat::FormatObject(ValueObject *valobj, std::string &retval, in FormatObject() argument 164 retval.assign("error: no target"); in FormatObject() 172 retval.assign("error: no ScriptInterpreter"); in FormatObject() 178 retval); in FormatObject()
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_audit.c | 341 int retval = 0; in au_close() local 350 retval = 0; in au_close() 363 retval = -1; in au_close() 372 retval = -1; in au_close() 377 retval = audit(rec->data, rec->len); in au_close() 382 return (retval); in au_close() 395 int retval; in au_close_buffer() local 403 retval = 0; in au_close_buffer() 412 retval = -1; in au_close_buffer() 418 retval = -1; in au_close_buffer() [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | unbound.init | 65 retval=$? 67 [ $retval -eq 0 ] && touch $lockfile 68 return $retval 75 retval=$? 77 [ $retval -eq 0 ] && rm -f $lockfile 78 [ $retval -eq 0 ] && rm -f $pidfile 85 return $retval
|
/freebsd/lib/libc/stdlib/ |
H A D | lldiv.c | 35 lldiv_t retval; in lldiv() local 37 retval.quot = numer / denom; in lldiv() 38 retval.rem = numer % denom; in lldiv() 40 return (retval); in lldiv()
|
H A D | imaxdiv.c | 35 imaxdiv_t retval; in imaxdiv() local 37 retval.quot = numer / denom; in imaxdiv() 38 retval.rem = numer % denom; in imaxdiv() 40 return (retval); in imaxdiv()
|
/freebsd/usr.sbin/bsdconfig/usermgmt/share/ |
H A D | group.subr | 114 retval=$? 147 retval=$? 150 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 226 retval=$? 229 return $retval 280 retval=$? 283 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" 317 retval=$? 413 retval=$? 416 f_dprintf "retval=%u mtag=[%s]" $retval "$mtag" [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_idr.c | 69 struct idr_layer *retval; in idr_preload_dequeue_locked() local 75 retval = lic->head; in idr_preload_dequeue_locked() 76 if (likely(retval != NULL)) { in idr_preload_dequeue_locked() 77 lic->head = retval->ary[0]; in idr_preload_dequeue_locked() 79 retval->ary[0] = NULL; in idr_preload_dequeue_locked() 81 return (retval); in idr_preload_dequeue_locked() 500 int retval; in idr_get_new() local 503 retval = idr_get_new_locked(idr, ptr, idp); in idr_get_new() 505 return (retval); in idr_get_new() 618 int retval; in idr_get_new_above() local 663 int retval; idr_alloc() local 674 int retval; idr_alloc_cyclic() local [all...] |
/freebsd/lib/libcam/ |
H A D | scsi_cmdparse.c | 671 int retval; in csio_decode() local 680 return (retval); in csio_decode() 704 int retval; in buff_decode() local 712 return (retval); in buff_decode() 741 int retval; in csio_build() local 769 return (retval); in csio_build() 779 int retval; in csio_build_visit() local 795 return (retval); in csio_build_visit() 808 return (retval); in csio_build_visit() 815 int retval; in csio_encode() local [all …]
|
/freebsd/usr.sbin/fifolog/lib/ |
H A D | fifolog_write_poll.c | 191 int retval = 0; in fifolog_write_output() local 226 retval = -1; in fifolog_write_output() 228 retval = 1; in fifolog_write_output() 253 return (retval); in fifolog_write_output() 290 retval = -1; in fifolog_write_gzip() 301 return (retval); in fifolog_write_gzip() 389 int retval = 0; in fifolog_write_record_poll() local 401 retval = -1; in fifolog_write_record_poll() 404 retval = -1; in fifolog_write_record_poll() 413 retval = -1; in fifolog_write_record_poll() [all …]
|
/freebsd/usr.bin/systat/ |
H A D | devs.c | 171 int retval; in dscmd() local 182 retval = devstat_selectdevs(&dev_select, &num_selected, in dscmd() 191 if (retval == -1) { in dscmd() 194 } else if (retval == 1) in dscmd() 218 int retval = 0; in dsmatchselect() local 263 retval = devstat_selectdevs(&dev_select, &num_selected, in dsmatchselect() 267 if (retval == -1) in dsmatchselect() 269 else if (retval == 1) in dsmatchselect() 281 int retval = 0; in dsselect() local 351 if (retval == -1) in dsselect() [all …]
|
/freebsd/contrib/bsddialog/utility/ |
H A D | bsddialog.c | 43 #define EXITCODE(retval) (exitcodes[retval + 1].value) argument 154 int i, rows, cols, retval, parsed, nargc, firstoptind; in main() local 163 retval = BSDDIALOG_OK; in main() 193 retval = BSDDIALOG_OK; in main() 247 retval = opt.dialogbuilder(&conf, text, rows, cols, argc, argv, in main() 250 if (retval == BSDDIALOG_ERROR) in main() 259 if (retval == BSDDIALOG_CANCEL || retval == BSDDIALOG_ESC) in main() 280 return (EXITCODE(retval)); in main()
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mpsutil.c | 220 #define PCHAR(c) { if (retval < tmpsz) { *outbuf++ = (c); retval++; } } 225 int n, tmp, retval = 0; in mps_parse_flags() local 228 return (retval); in mps_parse_flags() 231 tmp = retval; in mps_parse_flags() 235 PCHAR(retval != tmp ? ',' : '<'); in mps_parse_flags() 242 if (retval != tmp) in mps_parse_flags() 245 return (retval); in mps_parse_flags()
|
/freebsd/usr.bin/brandelf/ |
H A D | brandelf.c | 71 int ch, flags, retval, type; in main() local 77 retval = 0; in main() 147 retval = 1; in main() 152 retval = 1; in main() 158 retval = 1; in main() 177 retval = 1; in main() 188 return (retval); in main()
|
/freebsd/contrib/file/src/ |
H A D | getopt_long.c | 327 int retval; local 332 retval = getopt_internal(nargc, (char **)nargv, options); 333 if (retval == -2) { 345 retval = -1; 347 return retval; 363 int retval; local 375 retval = getopt_internal(nargc, (char **)nargv, options); 376 if (retval == -2) { 490 retval = 0; 492 retval = long_options[match].val; [all …]
|
/freebsd/sys/dev/bhnd/ |
H A D | bhnd_erom_if.m | 69 * @retval 0 if this is the only possible device enumeration 74 * @retval ENXIO If the bhnd bus type is not handled by this parser. 93 * @retval 0 success 124 * @retval 0 success 152 * @retval 0 success 153 * @retval ENOENT No core matching @p desc was found. 154 * @retval non-zero Reading or parsing failed. 179 * @retval 0 success 180 * @retval ENOENT No core matching @p desc was found. 183 * @retval non-zero Reading or parsing failed. [all …]
|
H A D | bhnd_bus_if.m | 302 * @retval 0 success 324 * @retval 0 success 495 * @retval 0 success 522 * @retval 0 success 555 * @retval 0 success 576 * @retval 0 success 597 * @retval 0 success 641 * @retval 0 success 664 * @retval 0 success 870 * @retval 0 success [all …]
|
/freebsd/lib/libc/stdio/ |
H A D | fpurge.c | 50 int retval; in fpurge() local 54 retval = EOF; in fpurge() 61 retval = 0; in fpurge() 64 return (retval); in fpurge()
|
/freebsd/usr.sbin/nscd/ |
H A D | cachelib.c | 139 retval = 0; in ht_item_hash_func() 141 retval = (127 * retval + (unsigned char)hp->key[i]) % in ht_item_hash_func() 144 return retval; in ht_item_hash_func() 482 retval = calloc(1, sizeof(*retval)); in init_cache() 496 return (retval); in init_cache() 939 retval = calloc(1, in open_cache_mp_write_session() 940 sizeof(*retval)); in open_cache_mp_write_session() 950 return (retval); in open_cache_mp_write_session() 1077 retval = calloc(1, in open_cache_mp_read_session() 1078 sizeof(*retval)); in open_cache_mp_read_session() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 70 if (retval.find(keyname) != retval.end()) in cacheAnnotationFromMD() 71 retval[keyname].push_back(Val->getZExtValue()); in cacheAnnotationFromMD() 75 retval[keyname] = tmp; in cacheAnnotationFromMD() 115 unsigned &retval) { in findOneNVVMAnnotation() argument 125 retval = AC.Cache[m][gv][prop][0]; in findOneNVVMAnnotation() 130 std::vector<unsigned> &retval) { in findAllNVVMAnnotation() argument 140 retval = AC.Cache[m][gv][prop]; in findAllNVVMAnnotation() 291 bool retval = findOneNVVMAnnotation(&F, "kernel", x); in isKernelFunction() local 292 if (!retval) { in isKernelFunction() 301 bool retval = findAllNVVMAnnotation(&F, "align", Vs); in getAlign() local [all …]
|
/freebsd/sys/dev/vmware/vmci/ |
H A D | vmci_datagram.c | 453 int retval; in vmci_datagram_dispatch_as_guest() local 459 retval = vmci_send_datagram(dg); in vmci_datagram_dispatch_as_guest() 462 return (retval); in vmci_datagram_dispatch_as_guest() 521 int retval; in vmci_datagram_invoke_guest_handler() local 547 retval = VMCI_ERROR_NO_MEM; in vmci_datagram_invoke_guest_handler() 554 retval = vmci_schedule_delayed_work( in vmci_datagram_invoke_guest_handler() 556 if (retval < VMCI_SUCCESS) { in vmci_datagram_invoke_guest_handler() 558 "work for datagram (result=%d).\n", retval); in vmci_datagram_invoke_guest_handler() 568 retval = VMCI_SUCCESS; in vmci_datagram_invoke_guest_handler() 572 return (retval); in vmci_datagram_invoke_guest_handler()
|
/freebsd/contrib/ldns/ |
H A D | util.c | 435 char *retval; in ldns_bubblebabble() local 439 if(!retval) return NULL; in ldns_bubblebabble() 440 retval[j++] = 'x'; in ldns_bubblebabble() 449 retval[j++] = vowels[idx0]; in ldns_bubblebabble() 451 retval[j++] = vowels[idx2]; in ldns_bubblebabble() 456 retval[j++] = '-'; in ldns_bubblebabble() 466 retval[j++] = vowels[idx0]; in ldns_bubblebabble() 468 retval[j++] = vowels[idx2]; in ldns_bubblebabble() 471 retval[j++] = 'x'; in ldns_bubblebabble() 472 retval[j++] = '\0'; in ldns_bubblebabble() [all …]
|
/freebsd/contrib/tcsh/ |
H A D | tw.spell.c | 43 int retval; in spell_me() local 57 retval = (StrQcmp(oldname->s, newname.s) != 0); in spell_me() 62 return retval; in spell_me() 76 retval = t_search(&guess, SPELL, in spell_me() 79 if (retval >= 4 || retval < 0) { in spell_me()
|
/freebsd/tests/sys/cddl/zfs/tests/zvol/zvol_swap/ |
H A D | zvol_swap_002_pos.ksh | 85 typeset -i retval=0 90 retval=$? 92 (( $retval != $ENOSPC )) && \ 93 log_fail "ENOSPC was not returned, $retval was returned instead"
|
/freebsd/usr.bin/elfctl/ |
H A D | elfctl.c | 94 int ch, fd, retval; in main() local 100 retval = 0; in main() 143 retval = 1; in main() 149 retval = 1; in main() 158 retval = 1; in main() 164 retval = 1; in main() 174 retval = 1; in main() 181 retval = 1; in main() 186 retval = 1; in main() 200 return (retval); in main()
|