/freebsd/contrib/one-true-awk/ |
H A D | tran.c | 80 FS = &fsloc->sval; in syminit() 82 RS = &rsloc->sval; in syminit() 84 OFS = &ofsloc->sval; in syminit() 86 ORS = &orsloc->sval; in syminit() 87 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 88 CONVFMT = &setsymtab("CONVFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 89 FILENAME = &setsymtab("FILENAME", "", 0.0, STR|DONTFREE, symtab)->sval; in syminit() 97 SUBSEP = &subseploc->sval; in syminit() 103 free(symtabloc->sval); in syminit() 104 symtabloc->sval = (char *) symtab; in syminit() [all …]
|
H A D | lib.c | 74 fldtab[0]->sval = record; in recinit() 187 xfree(fldtab[0]->sval); in getrec() 188 fldtab[0]->sval = buf; /* buf == record */ in getrec() 190 if (is_number(fldtab[0]->sval, & result)) { in getrec() 343 ap = (Array *)ARGVcell->sval; in getargv() 369 if (is_number(q->sval, & result)) { in setclvar() 392 r = fldtab[0]->sval; in fldbld() 416 xfree(fldtab[i]->sval); in fldbld() 417 fldtab[i]->sval = fr; in fldbld() 432 xfree(fldtab[i]->sval); in fldbld() [all …]
|
H A D | run.c | 54 p->csub, p->ctype, p->sval); in tempfree() 263 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval); in call() 290 y = execute((Node *)(fcn->sval)); /* execute body */ in call() 304 oargs[i]->sval = t->sval; in call() 340 y->sval = tostring(x->sval); in copycell() 435 if (is_number(x->sval, & result)) { in awkgetline() 442 if (is_number(fldtab[0]->sval, & result)) { in awkgetline() 455 if (is_number(x->sval, & result)) { in awkgetline() 522 xfree(x->sval); in array() 525 x->sval = (char *) makesymtab(NSYMTAB); in array() [all …]
|
H A D | parse.c | 217 xfree(cp->sval); in makearr() 218 cp->sval = (char *) makesymtab(NSYMTAB); in makearr() 271 v->sval = (char *) st; in defn()
|
/freebsd/lib/libc/stdio/ |
H A D | printfcommon.h | 168 long sval; in __ultoa() local 188 sval = val / 10; in __ultoa() 190 sval = val; in __ultoa() 192 *--cp = to_char(sval % 10); in __ultoa() 193 sval /= 10; in __ultoa() 194 } while (sval != 0); in __ultoa() 231 intmax_t sval; in __ujtoa() local 245 sval = val / 10; in __ujtoa() 247 sval = val; in __ujtoa() 249 *--cp = to_char(sval % 10); in __ujtoa() [all …]
|
H A D | xprintf_int.c | 93 long sval; in __ultoa() local 116 sval = val / 10; in __ultoa() 118 sval = val; in __ultoa() 120 *--cp = to_char(sval % 10); in __ultoa() 127 && sval > 9) { in __ultoa() 138 sval /= 10; in __ultoa() 139 } while (sval != 0); in __ultoa() 169 intmax_t sval; in __ujtoa() local 182 sval = val / 10; in __ujtoa() 184 sval = val; in __ujtoa() [all …]
|
/freebsd/lib/libc/tests/string/ |
H A D | wcscoll_test.c | 64 char sval[MAXSTRLEN]; member 87 p = data[i].sval; in ATF_TC_BODY() 121 ATF_CHECK_MSG(strxfrm(data[i].xval, data[i].sval, in ATF_TC_BODY() 123 " string exceeded %d bytes", (int)strlen(data[i].sval), in ATF_TC_BODY() 136 int sr = strcoll(data[i].sval, data[j].sval); in ATF_TC_BODY() 142 curloc, data[i].sval, data[j].sval); in ATF_TC_BODY()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 1600 wlan_config_snmp2value(int which, int sval, int *value) in wlan_config_snmp2value() argument 1623 if (sval == TruthValue_true) in wlan_config_snmp2value() 1625 else if (sval != TruthValue_false) in wlan_config_snmp2value() 1635 *value = sval * 2; in wlan_config_snmp2value() 1638 if (sval < IEEE80211_FRAG_MIN || sval > IEEE80211_FRAG_MAX) in wlan_config_snmp2value() 1640 *value = sval; in wlan_config_snmp2value() 1643 if (sval < IEEE80211_RTS_MIN || sval > IEEE80211_RTS_MAX) in wlan_config_snmp2value() 1645 *value = sval; in wlan_config_snmp2value() 1648 if (sval < WLAN_BGSCAN_IDLE_MIN) in wlan_config_snmp2value() 1650 *value = sval; in wlan_config_snmp2value() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFFormValue.h | 29 int64_t sval; 73 int64_t Signed() const { return m_value.value.sval; } 74 void SetSigned(int64_t sval) { m_value.value.sval = sval; } 27 int64_t sval; global() member 67 SetSigned(int64_t sval) SetSigned() argument
|
/freebsd/lib/libthr/thread/ |
H A D | thr_sem.c | 58 extern int _libc_sem_getvalue_compat(sem_t * __restrict sem, int * __restrict sval); 67 int _sem_getvalue_compat(sem_t * __restrict sem, int * __restrict sval); 87 _sem_getvalue_compat(sem_t * __restrict sem, int * __restrict sval) in _sem_getvalue_compat() argument 89 return _libc_sem_getvalue_compat(sem, sval); in _sem_getvalue_compat()
|
/freebsd/contrib/ntp/libntp/ |
H A D | decodenetnum.c | 25 char * sval, in _num_or_dflt() argument 33 if (!(sval && isdigit(*(unsigned char*)sval))) in _num_or_dflt() 36 num = strtoul(sval, &ep, 10); in _num_or_dflt()
|
/freebsd/libexec/fingerd/ |
H A D | fingerd.c | 61 socklen_t sval; in main() local 109 sval = sizeof(ss); in main() 110 if (getpeername(0, (struct sockaddr *)&ss, &sval) < 0) in main() 113 (struct sockaddr *)&ss, sval); in main()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | export.c | 279 size_t *sval; in index_decode() local 286 sval = va_arg(ap, size_t *); in index_decode() 287 *sval = oid->subs[sub++]; in index_decode() 288 if (sub + *sval > oid->len) in index_decode() 290 if ((*cval = malloc(*sval)) == NULL) { in index_decode() 295 for (i = 0; i < *sval; i++) { in index_decode()
|
/freebsd/contrib/ncurses/ncurses/trace/ |
H A D | varargs.c | 51 #define VA_STR(type) sval = va_arg(ap, type) 77 const char *sval = ""; in _nc_varargs() local 163 param = _nc_visbuf2(1, sval); in _nc_varargs()
|
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Stream.h | 232 Stream &operator<<(int8_t sval) = delete; 233 Stream &operator<<(int16_t sval) = delete; 234 Stream &operator<<(int32_t sval) = delete; 235 Stream &operator<<(int64_t sval) = delete;
|
/freebsd/sys/dev/usb/net/ |
H A D | if_umbreg.h | 62 static char sval[32]; in umb_val2descr() local 69 snprintf(sval, sizeof (sval), "#%d", val); in umb_val2descr() 70 return sval; in umb_val2descr()
|
/freebsd/sys/netgraph/ |
H A D | ng_parse.c | 721 char *sval; in ng_string_parse() local 725 if ((sval = ng_get_string_token(s, off, &len, &slen)) == NULL) in ng_string_parse() 728 bcopy(sval, buf, slen + 1); in ng_string_parse() 729 free(sval, M_NETGRAPH_PARSE); in ng_string_parse() 785 char *sval; in ng_fixedstring_parse() local 789 if ((sval = ng_get_string_token(s, off, &len, &slen)) == NULL) in ng_fixedstring_parse() 792 free(sval, M_NETGRAPH_PARSE); in ng_fixedstring_parse() 796 bcopy(sval, buf, slen); in ng_fixedstring_parse() 797 free(sval, M_NETGRAPH_PARSE); in ng_fixedstring_parse() 888 char *sval; in ng_sizedstring_parse() local [all …]
|
/freebsd/contrib/lib9p/pytest/ |
H A D | sequencer.py | 223 sval = self.s2b(val) 224 if len(sval) > 65535: 226 'while packing {1!r}'.format(len(sval), self.name)) 227 return [EncDecSimple.string_len.pack(len(sval)), sval]
|
/freebsd/libexec/getty/ |
H A D | chat.c | 112 int sval; in getdigit() local 115 if (s == NULL || (sval = s - xdigits) >= base) in getdigit() 117 val = (val * base) + sval; in getdigit()
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value_fmts.c | 296 int64_t sval; in bhnd_nvram_val_bcm_hex_encode_elem() local 301 slen = sizeof(sval); in bhnd_nvram_val_bcm_hex_encode_elem() 304 error = bhnd_nvram_value_coerce(inp, ilen, itype, &sval, &slen, in bhnd_nvram_val_bcm_hex_encode_elem() 310 if (sval < 0) in bhnd_nvram_val_bcm_hex_encode_elem() 311 return (bhnd_nvram_value_printf("%I64d", &sval, slen, in bhnd_nvram_val_bcm_hex_encode_elem()
|
/freebsd/lib/libc/gen/ |
H A D | sem.c | 450 _libc_sem_getvalue_compat(sem_t * __restrict sem, int * __restrict sval) in _libc_sem_getvalue_compat() argument 458 retval = ksem_getvalue((*sem)->semid, sval); in _libc_sem_getvalue_compat() 460 *sval = (int)(*sem)->count; in _libc_sem_getvalue_compat()
|
/freebsd/crypto/openssl/crypto/property/ |
H A D | property_parse.c | 130 int sval; in parse_hex() 134 sval = *s - '0'; in parse_hex() 136 sval = ossl_tolower(*s) - 'a' + 10; in parse_hex() 143 if (v > ((INT64_MAX - sval) / 16)) { in parse_hex() 150 v += sval; in parse_hex() 129 int sval; parse_hex() local
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Stream.cpp | 49 size_t Stream::PutSLEB128(int64_t sval) { in PutSLEB128() 51 return llvm::encodeSLEB128(sval, m_forwarder); in PutSLEB128() 53 return Printf("0x%" PRIi64, sval); 47 PutSLEB128(int64_t sval) PutSLEB128() argument
|
/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/ |
H A D | ioctl.c | 85 char *sval; in nvl2py() local 92 (void) nvpair_value_string(nvp, &sval); in nvl2py() 93 pyval = Py_BuildValue("s", sval); in nvl2py()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | dwarf.c | 650 Dwarf_Signed sval; in tdesc_array_create() local 684 else if (die_signed(dw, dim, DW_AT_upper_bound, &sval, 0)) in tdesc_array_create() 685 ar->ad_nelems = sval + 1; in tdesc_array_create() 688 else if (die_signed(dw, dim, DW_AT_count, &sval, 0)) in tdesc_array_create() 689 ar->ad_nelems = sval; in tdesc_array_create() 810 Dwarf_Signed sval; in die_enum_create() local 839 if (die_signed(dw, mem, DW_AT_const_value, &sval, 0)) { in die_enum_create() 840 el->el_number = sval; in die_enum_create()
|