/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 82 char numstr[8]; in gpio_configure() local 97 if (snprintf(numstr, sizeof(numstr), "%d", num) >= (int)sizeof(numstr)) { in gpio_configure() 106 (void)write(fd, numstr, strlen(numstr)); in gpio_configure()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 366 String numstr = new String(); in testJB6648() local 379 numstr = df.format(5); in testJB6648() 381 Number n = df.parse(numstr); in testJB6648() 382 logln("INFO: Parsed " + numstr + " -> " + n); in testJB6648() 389 numstr = "005"; in testJB6648() 391 Number n = df.parse(numstr); in testJB6648() 392 … logln("INFO: Successful parse for " + numstr + " with strict parse enabled. Number is " + n); in testJB6648() 394 errln("ERROR: Parse Exception encountered in strict mode: numstr -> " + numstr); in testJB6648()
|
D | NumberFormatTest.java | 3131 String numstr = "12345"; in TestJB5358() local 3139 … threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358() 3161 private final String numstr; field in NumberFormatTest.ParseThreadJB5358 3165 … public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument 3167 this.numstr = numstr; in ParseThreadJB5358() 3176 Number n = decfmt.parse(numstr); in run() 4087 final String numstr = "* 1^234:56"; 4088 expect2(fmt, 1234.56, numstr);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | IntlTestDecimalFormatAPI.java | 363 String numstr = new String(); in testJB6648() local 376 numstr = df.format(5); in testJB6648() 378 Number n = df.parse(numstr); in testJB6648() 379 logln("INFO: Parsed " + numstr + " -> " + n); in testJB6648() 386 numstr = "005"; in testJB6648() 388 Number n = df.parse(numstr); in testJB6648() 389 … logln("INFO: Successful parse for " + numstr + " with strict parse enabled. Number is " + n); in testJB6648() 391 errln("ERROR: Parse Exception encountered in strict mode: numstr -> " + numstr); in testJB6648()
|
D | NumberFormatTest.java | 3128 String numstr = "12345"; in TestJB5358() local 3136 … threads[i] = new ParseThreadJB5358((DecimalFormat)fmt.clone(), numstr, expected, errors); in TestJB5358() 3158 private final String numstr; field in NumberFormatTest.ParseThreadJB5358 3162 … public ParseThreadJB5358(DecimalFormat decfmt, String numstr, double expect, ArrayList errors) { in ParseThreadJB5358() argument 3164 this.numstr = numstr; in ParseThreadJB5358() 3173 Number n = decfmt.parse(numstr); in run() 4084 final String numstr = "* 1^234:56"; 4085 expect2(fmt, 1234.56, numstr);
|
/external/openssh/openbsd-compat/ |
D | strtonum.c | 34 strtonum(const char *numstr, long long minval, long long maxval, in strtonum() argument 55 ll = strtoll(numstr, &ep, 10); in strtonum() 56 if (numstr == ep || *ep != '\0') in strtonum()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/ |
D | PpScanner.cpp | 324 TString numstr(ppToken->name); in lFloatConst() local 325 if (numstr.back() == 'f' || numstr.back() == 'F') in lFloatConst() 326 numstr.pop_back(); in lFloatConst() 327 if (numstr.back() == 'h' || numstr.back() == 'H') in lFloatConst() 328 numstr.pop_back(); in lFloatConst() 329 if (numstr.back() == 'l' || numstr.back() == 'L') in lFloatConst() 330 numstr.pop_back(); in lFloatConst() 334 strtodStream.str(numstr.c_str()); in lFloatConst()
|
/external/python/cpython2/Lib/plat-mac/ |
D | ic.py | 55 numstr = ord(data[0]) << 8 | ord(data[1]) 58 for i in range(numstr): 88 numstr = len(data) 89 rv = chr((numstr>>8) & 0xff) + chr(numstr & 0xff)
|
/external/python/cpython2/Modules/ |
D | _json.c | 1311 PyObject *numstr; in _match_number_str() local 1367 numstr = PyString_FromStringAndSize(&str[start], idx - start); in _match_number_str() 1368 if (numstr == NULL) in _match_number_str() 1373 rval = PyObject_CallFunctionObjArgs(s->parse_float, numstr, NULL); in _match_number_str() 1376 double d = PyOS_string_to_double(PyString_AS_STRING(numstr), in _match_number_str() 1386 rval = PyObject_CallFunctionObjArgs(s->parse_int, numstr, NULL); in _match_number_str() 1389 rval = PyInt_FromString(PyString_AS_STRING(numstr), NULL, 10); in _match_number_str() 1392 Py_DECREF(numstr); in _match_number_str() 1413 PyObject *numstr; in _match_number_unicode() local 1467 numstr = PyUnicode_FromUnicode(&str[start], idx - start); in _match_number_unicode() [all …]
|
/external/toybox/lib/ |
D | lib.c | 304 long long atolx(char *numstr) in atolx() argument 306 char *c = numstr, *suffixes="cwbkmgtpe", *end; in atolx() 309 val = xstrtol(numstr, &c, 0); in atolx() 310 if (c != numstr && *c && (end = strchr(suffixes, tolower(*c)))) { in atolx() 321 if (c==numstr || *c) error_exit("not integer: %s", numstr); in atolx() 326 long long atolx_range(char *numstr, long long low, long long high) in atolx_range() argument 328 long long val = atolx(numstr); in atolx_range()
|
D | lib.h | 223 long long atolx_range(char *numstr, long long low, long long high);
|
/external/python/cpython3/Modules/ |
D | _json.c | 952 PyObject *numstr = NULL; in _match_number_unicode() local 1022 numstr = PyUnicode_FromKindAndData(kind, in _match_number_unicode() 1025 if (numstr == NULL) in _match_number_unicode() 1027 rval = PyObject_CallFunctionObjArgs(custom_func, numstr, NULL); in _match_number_unicode() 1035 numstr = PyBytes_FromStringAndSize(NULL, n); in _match_number_unicode() 1036 if (numstr == NULL) in _match_number_unicode() 1038 buf = PyBytes_AS_STRING(numstr); in _match_number_unicode() 1043 rval = PyFloat_FromString(numstr); in _match_number_unicode() 1047 Py_DECREF(numstr); in _match_number_unicode()
|
/external/tcpdump/ |
D | print-telnet.c | 377 (((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x)) 380 numstr(int x) in numstr() function
|
D | print-isakmp.c | 640 static char *numstr(int); 737 (((x) < sizeof(tab)/sizeof(tab[0]) && tab[(x)]) ? tab[(x)] : numstr(x)) 1719 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print() 1723 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print() 1743 ND_PRINT((ndo," type=%s", numstr(ntohs(n.type)))); in ikev1_n_print() 2804 numstr(int x) in numstr() function
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtst.cpp | 7503 UnicodeString numstr("* 1^234:56"); in TestCustomCurrencySignAndSeparator() local 7504 expect2(fmt, (Formattable)((double)1234.56), numstr); in TestCustomCurrencySignAndSeparator()
|