Searched refs:sval (Results 1 - 25 of 42) sorted by relevance

12

/freebsd-current/lib/libc/stdio/
H A Dprintfcommon.h168 long sval; local
188 sval = val / 10;
190 sval = val;
192 *--cp = to_char(sval % 10);
193 sval /= 10;
194 } while (sval != 0);
231 intmax_t sval; local
245 sval = val / 10;
247 sval = val;
249 *--cp = to_char(sval
[all...]
H A Dxprintf_int.c93 long sval; local
116 sval = val / 10;
118 sval = val;
120 *--cp = to_char(sval % 10);
127 && sval > 9) {
138 sval /= 10;
139 } while (sval != 0);
169 intmax_t sval; local
182 sval = val / 10;
184 sval
[all...]
/freebsd-current/lib/libc/tests/string/
H A Dwcscoll_test.c64 char sval[MAXSTRLEN]; member in struct:__anon83
87 p = data[i].sval;
121 ATF_CHECK_MSG(strxfrm(data[i].xval, data[i].sval,
123 " string exceeded %d bytes", (int)strlen(data[i].sval),
136 int sr = strcoll(data[i].sval, data[j].sval);
142 curloc, data[i].sval, data[j].sval);
/freebsd-current/contrib/one-true-awk/
H A Dtran.c81 FS = &fsloc->sval;
83 RS = &rsloc->sval;
85 OFS = &ofsloc->sval;
87 ORS = &orsloc->sval;
88 OFMT = &setsymtab("OFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval;
89 CONVFMT = &setsymtab("CONVFMT", "%.6g", 0.0, STR|DONTFREE, symtab)->sval;
90 FILENAME = &setsymtab("FILENAME", "", 0.0, STR|DONTFREE, symtab)->sval;
98 SUBSEP = &subseploc->sval;
104 free(symtabloc->sval);
105 symtabloc->sval
[all...]
H A Dlib.c74 fldtab[0]->sval = record;
187 xfree(fldtab[0]->sval);
188 fldtab[0]->sval = buf; /* buf == record */
190 if (is_number(fldtab[0]->sval, & result)) {
367 if (is_number(q->sval, & result)) {
390 r = fldtab[0]->sval;
414 xfree(fldtab[i]->sval);
415 fldtab[i]->sval = fr;
430 xfree(fldtab[i]->sval);
431 fldtab[i]->sval
[all...]
H A Drun.c53 p->csub, p->ctype, p->sval);
262 i, NN(y->nval), y->fval, isarr(y) ? "(array)" : NN(y->sval), y->tval);
289 y = execute((Node *)(fcn->sval)); /* execute body */
303 oargs[i]->sval = t->sval;
339 y->sval = tostring(x->sval);
434 if (is_number(x->sval, & result)) {
441 if (is_number(fldtab[0]->sval, & result)) {
454 if (is_number(x->sval,
[all...]
H A Dparse.c217 xfree(cp->sval);
218 cp->sval = (char *) makesymtab(NSYMTAB);
271 v->sval = (char *) st;
/freebsd-current/contrib/ntp/libntp/
H A Ddecodenetnum.c25 char * sval,
33 if (!(sval && isdigit(*(unsigned char*)sval)))
36 num = strtoul(sval, &ep, 10);
24 _num_or_dflt( char * sval, unsigned long maxval, unsigned long defval ) argument
/freebsd-current/lib/libthr/thread/
H A Dthr_sem.c58 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) argument
89 return _libc_sem_getvalue_compat(sem, sval);
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFFormValue.h29 int64_t sval; member in union:lldb_private::plugin::dwarf::DWARFFormValue::ValueTypeTag::__anon1433
73 int64_t Signed() const { return m_value.value.sval; }
74 void SetSigned(int64_t sval) { m_value.value.sval = sval; } argument
/freebsd-current/libexec/getty/
H A Dchat.c112 int sval; local
115 if (s == NULL || (sval = s - xdigits) >= base)
117 val = (val * base) + sval;
/freebsd-current/contrib/ncurses/ncurses/trace/
H A Dvarargs.c51 #define VA_STR(type) sval = va_arg(ap, type)
77 const char *sval = ""; local
163 param = _nc_visbuf2(1, sval);
/freebsd-current/libexec/fingerd/
H A Dfingerd.c61 socklen_t sval; local
109 sval = sizeof(ss);
110 if (getpeername(0, (struct sockaddr *)&ss, &sval) < 0)
113 (struct sockaddr *)&ss, sval);
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c1600 wlan_config_snmp2value(int which, int sval, int *value) argument
1623 if (sval == TruthValue_true)
1625 else if (sval != TruthValue_false)
1635 *value = sval * 2;
1638 if (sval < IEEE80211_FRAG_MIN || sval > IEEE80211_FRAG_MAX)
1640 *value = sval;
1643 if (sval < IEEE80211_RTS_MIN || sval > IEEE80211_RTS_MAX)
1645 *value = sval;
2010 wlan_config_set_intval(struct wlan_iface *wif, int op, int sval) argument
2770 int val, sval; local
[all...]
/freebsd-current/crypto/openssl/crypto/property/
H A Dproperty_parse.c129 int sval; local
133 sval = *s - '0';
135 sval = ossl_tolower(*s) - 'a' + 10;
142 if (v > ((INT64_MAX - sval) / 16)) {
149 v += sval;
/freebsd-current/contrib/bsnmp/snmpd/
H A Dexport.c279 size_t *sval; local
286 sval = va_arg(ap, size_t *);
287 *sval = oid->subs[sub++];
288 if (sub + *sval > oid->len)
290 if ((*cval = malloc(*sval)) == NULL) {
295 for (i = 0; i < *sval; i++) {
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h232 Stream &operator<<(int8_t sval) = delete; member in class:lldb_private::Stream
233 Stream &operator<<(int16_t sval) = delete; member in class:lldb_private::Stream
234 Stream &operator<<(int32_t sval) = delete; member in class:lldb_private::Stream
235 Stream &operator<<(int64_t sval) = delete; member in class:lldb_private::Stream
/freebsd-current/contrib/lib9p/pytest/
H A Dsequencer.py223 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-current/sys/netgraph/
H A Dng_parse.c721 char *sval; local
725 if ((sval = ng_get_string_token(s, off, &len, &slen)) == NULL)
728 bcopy(sval, buf, slen + 1);
729 free(sval, M_NETGRAPH_PARSE);
785 char *sval; local
789 if ((sval = ng_get_string_token(s, off, &len, &slen)) == NULL)
792 free(sval, M_NETGRAPH_PARSE);
796 bcopy(sval, buf, slen);
797 free(sval, M_NETGRAPH_PARSE);
888 char *sval; local
[all...]
/freebsd-current/lib/libc/gen/
H A Dsem.c450 _libc_sem_getvalue_compat(sem_t * __restrict sem, int * __restrict sval) argument
458 retval = ksem_getvalue((*sem)->semid, sval);
460 *sval = (int)(*sem)->count;
H A Dsem_new.c326 _sem_getvalue(sem_t * __restrict sem, int * __restrict sval) argument
332 *sval = (int)USEM_COUNT(sem->_kern._count);
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_fmts.c296 int64_t sval; local
301 slen = sizeof(sval);
304 error = bhnd_nvram_value_coerce(inp, ilen, itype, &sval, &slen,
310 if (sval < 0)
311 return (bhnd_nvram_value_printf("%I64d", &sval, slen,
/freebsd-current/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c85 char *sval; local
92 (void) nvpair_value_string(nvp, &sval);
93 pyval = Py_BuildValue("s", sval);
/freebsd-current/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp49 size_t Stream::PutSLEB128(int64_t sval) { argument
51 return llvm::encodeSLEB128(sval, m_forwarder);
53 return Printf("0x%" PRIi64, sval);
/freebsd-current/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h43 ValueType(int64_t V) : sval(V) {}
49 int64_t sval; member in union:llvm::DWARFFormValue::ValueType::__anon1564

Completed in 732 milliseconds

12