Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 25 of 326) sorted by relevance

12345678910>>...14

/external/strace/tests/
Dwait.expected1 wait4\([[:digit:]]+, 0x[[:xdigit:]]+, WNOHANG\|__WALL, NULL\) += 0
2 waitid\(P_PID, [[:digit:]]+, \{\}, WNOHANG\|WEXITED, NULL\) += 0
3digit:]]+, \[\{WIFEXITED\(s\) && WEXITSTATUS\(s\) == 42\}\], 0, \{ru_utime=\{[[:digit:]], [[:digit
4 …LD, si_code=CLD_EXITED, si_pid=[[:digit:]]+, si_uid=[[:digit:]]+, si_status=42, si_utime=[[:digit:…
5 wait4\([[:digit:]]+, \[\{WIFSIGNALED\(s\) && WTERMSIG\(s\) == SIGUSR1\}\], __WALL, NULL\) += [[:dig…
6 … si_code=CLD_KILLED, si_pid=[[:digit:]]+, si_uid=[[:digit:]]+, si_status=SIGUSR1, si_utime=[[:digi…
7 wait4\([[:digit:]]+, \[\{WIFSTOPPED\(s\) && WSTOPSIG\(s\) == SIGSTOP\}\], WSTOPPED, NULL\) += [[:di…
8 …si_code=CLD_STOPPED, si_pid=[[:digit:]]+, si_uid=[[:digit:]]+, si_status=SIGSTOP, si_utime=[[:digi…
9 …_code=CLD_CONTINUED, si_pid=[[:digit:]]+, si_uid=[[:digit:]]+, si_status=SIGCONT, si_utime=[[:digi…
10 … [[:digit:]]+, \{si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=[[:digit:]]+, si_uid=[[:digit:]]+, s…
/external/smali/smali/src/main/java/org/jf/smali/
DLiteralTools.java67 } else if (Character.digit(byteChars[position], 8) >= 0) { in parseByte()
74 int digit; in parseByte() local
78 digit = Character.digit(byteChars[position], radix); in parseByte()
79 if (digit < 0) { in parseByte()
86 if (shiftedResult < 0 && shiftedResult >= -digit) { in parseByte()
89 result = (byte)(shiftedResult + digit); in parseByte()
137 } else if (Character.digit(shortChars[position], 8) >= 0) { in parseShort()
144 int digit; in parseShort() local
148 digit = Character.digit(shortChars[position], radix); in parseShort()
149 if (digit < 0) { in parseShort()
[all …]
/external/libcxx/test/std/re/re.traits/
Dlookup_classname.pass.cpp36 test("d", std::ctype_base::digit); in main()
37 test("D", std::ctype_base::digit); in main()
38 test("d", std::ctype_base::digit, true); in main()
39 test("D", std::ctype_base::digit, true); in main()
75 test("digit", std::ctype_base::digit); in main()
76 test("Digit", std::ctype_base::digit); in main()
77 test("digit", std::ctype_base::digit, true); in main()
78 test("Digit", std::ctype_base::digit, true); in main()
80 test("digit", std::ctype_base::digit); in main()
81 test("DIGIT", std::ctype_base::digit); in main()
[all …]
/external/libunwind/src/
Dos-linux.h114 unsigned long num_digits = 0, digit, val = 0; in scan_hex() local
122 digit = *cp; in scan_hex()
123 if ((digit - '0') <= 9) in scan_hex()
124 digit -= '0'; in scan_hex()
125 else if ((digit - 'a') < 6) in scan_hex()
126 digit -= 'a' - 10; in scan_hex()
127 else if ((digit - 'A') < 6) in scan_hex()
128 digit -= 'A' - 10; in scan_hex()
131 val = (val << 4) | digit; in scan_hex()
144 unsigned long num_digits = 0, digit, val = 0; in scan_dec() local
[all …]
/external/webrtc/webrtc/base/
Durlencode.cc20 int digit = *pch; in HexPairValue() local
21 if (digit >= '0' && digit <= '9') { in HexPairValue()
22 value += digit - '0'; in HexPairValue()
24 else if (digit >= 'A' && digit <= 'F') { in HexPairValue()
25 value += digit - 'A' + 10; in HexPairValue()
27 else if (digit >= 'a' && digit <= 'f') { in HexPairValue()
28 value += digit - 'a' + 10; in HexPairValue()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DDateNumberFormat.java209 int digit = ch - digits[0]; in parse() local
210 if (digit < 0 || 9 < digit) { in parse()
211 digit = UCharacter.digit(ch); in parse()
213 if (digit < 0 || 9 < digit) { in parse()
214 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse()
215 if ( ch == digits[digit]) { in parse()
220 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse()
222 num = num * 10 + digit; in parse()
DPunycode.java108 private static char digitToBasic(int digit, boolean uppercase) { in digitToBasic() argument
111 if(digit<26) { in digitToBasic()
113 return (char)(CAPITAL_A+digit); in digitToBasic()
115 return (char)(SMALL_A+digit); in digitToBasic()
118 return (char)((ZERO-26)+digit); in digitToBasic()
274 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, in decode() local
331 digit=basicToDigit[src.charAt(in++) & 0xFF]; in decode()
332 if(digit<0) { in decode()
335 if(digit>(0x7fffffff-i)/w) { in decode()
340 i+=digit*w; in decode()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DDateNumberFormat.java213 int digit = ch - digits[0]; in parse() local
214 if (digit < 0 || 9 < digit) { in parse()
215 digit = UCharacter.digit(ch); in parse()
217 if (digit < 0 || 9 < digit) { in parse()
218 for ( digit = 0 ; digit < 10 ; digit++ ) { in parse()
219 if ( ch == digits[digit]) { in parse()
224 if (0 <= digit && digit <= 9 && num < PARSE_THRESHOLD) { in parse()
226 num = num * 10 + digit; in parse()
DPunycode.java110 private static char digitToBasic(int digit, boolean uppercase) { in digitToBasic() argument
113 if(digit<26) { in digitToBasic()
115 return (char)(CAPITAL_A+digit); in digitToBasic()
117 return (char)(SMALL_A+digit); in digitToBasic()
120 return (char)((ZERO-26)+digit); in digitToBasic()
276 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, in decode() local
333 digit=basicToDigit[src.charAt(in++) & 0xFF]; in decode()
334 if(digit<0) { in decode()
337 if(digit>(0x7fffffff-i)/w) { in decode()
342 i+=digit*w; in decode()
[all …]
/external/boringssl/src/crypto/ec/
Dwnaf.c146 int digit = 0; in compute_wNAF() local
154 digit = window_val - next_bit; /* -2^w < digit < 0 */ in compute_wNAF()
163 digit = window_val & (mask >> 1); /* 0 < digit < 2^w */ in compute_wNAF()
167 digit = window_val; /* 0 < digit < 2^w */ in compute_wNAF()
170 if (digit <= -bit || digit >= bit || !(digit & 1)) { in compute_wNAF()
175 window_val -= digit; in compute_wNAF()
186 r[j++] = sign * digit; in compute_wNAF()
382 int digit = wNAF[i][k]; in ec_wNAF_mul() local
385 if (digit) { in ec_wNAF_mul()
386 is_neg = digit < 0; in ec_wNAF_mul()
[all …]
/external/icu/icu4c/source/common/
Dustrfmt.c32 int digit; in uprv_itou() local
37 digit = (int)(i % radix); in uprv_itou()
38 buffer[length++]=(UChar)(digit<=9?(0x0030+digit):(0x0030+digit+7)); in uprv_itou()
Dpunycode.cpp93 digitToBasic(int32_t digit, UBool uppercase) { in digitToBasic() argument
96 if(digit<26) { in digitToBasic()
98 return (char)(_CAPITAL_A+digit); in digitToBasic()
100 return (char)(_SMALL_A+digit); in digitToBasic()
103 return (char)((_ZERO_-26)+digit); in digitToBasic()
379 int32_t n, destLength, i, bias, basicLength, j, in, oldi, w, k, digit, t, in u_strFromPunycode() local
456 digit=basicToDigit[(uint8_t)src[in++]]; in u_strFromPunycode()
457 if(digit<0) { in u_strFromPunycode()
461 if(digit>(0x7fffffff-i)/w) { in u_strFromPunycode()
467 i+=digit*w; in u_strFromPunycode()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DWNafL2RMultiplier.java40 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive() local
42 int n = Math.abs(digit); in multiplyPositive()
43 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive()
73 int digit = wi >> 16, zeroes = wi & 0xFFFF; in multiplyPositive()
75 int n = Math.abs(digit); in multiplyPositive()
76 ECPoint[] table = digit < 0 ? preCompNeg : preComp; in multiplyPositive()
DWNafUtil.java42 int digit = k.testBit(i) ? -1 : 1; in generateCompactNaf() local
43 naf[length++] = (digit << 16) | zeroes; in generateCompactNaf()
98 int digit = k.intValue() & mask; in generateCompactWindowNaf() local
101 ++digit; in generateCompactWindowNaf()
104 carry = (digit & sign) != 0; in generateCompactWindowNaf()
107 digit -= pow2; in generateCompactWindowNaf()
111 wnaf[length++] = (digit << 16) | zeroes; in generateCompactWindowNaf()
261 int digit = k.intValue() & mask; in generateWindowNaf() local
264 ++digit; in generateWindowNaf()
267 carry = (digit & sign) != 0; in generateWindowNaf()
[all …]
/external/icu/icu4c/source/data/translit/
DLatin_NumericPinyin.txt17 $digit = [1-5];
18 $1 &NumericPinyin-Pinyin($3) $2 ← ([aAeE]) ($vowel* $consonant*) ($digit);
19 $1 &NumericPinyin-Pinyin($3) $2 ← ([oO]) ([$vowel-[aeAE]]* $consonant*) ($digit);
20 $1 &NumericPinyin-Pinyin($3) $2 ← ($vowel) ($consonant*) ($digit);
21 &NumericPinyin-Pinyin($1) ← [:letter:] {($digit)};
/external/smali/util/src/main/java/org/jf/util/
DIndentingWriter.java180 int digit = (int)(value & 15); in printUnsignedLongAsHex() local
181 if (digit < 10) { in printUnsignedLongAsHex()
182 buffer[bufferIndex--] = (char)(digit + '0'); in printUnsignedLongAsHex()
184 buffer[bufferIndex--] = (char)((digit - 10) + 'a'); in printUnsignedLongAsHex()
204 long digit = value % 10; in printSignedLongAsDec() local
205 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedLongAsDec()
224 int digit = value % 10; in printSignedIntAsDec() local
225 buffer[bufferIndex--] = (char)(digit + '0'); in printSignedIntAsDec()
/external/ipsec-tools/src/racoon/
Dprsa_tok.l49 digit [0-9]
50 octet (([01]?{digit}?{digit})|((2([0-4]{digit}))|(25[0-5])))
82 {digit}+ { prsalval.num = atol(prsatext); return NUMBER; }
/external/libcxx/test/std/localization/locale.categories/category.ctype/locale.ctype.byname/
Dis_many.pass.cpp46 assert(!(m[0] & F::digit)); in main()
60 assert(!(m[1] & F::digit)); in main()
74 assert(!(m[2] & F::digit)); in main()
88 assert(!(m[3] & F::digit)); in main()
102 assert(!(m[4] & F::digit)); in main()
116 assert(!(m[5] & F::digit)); in main()
130 assert( (m[6] & F::digit)); in main()
155 assert(!(m[0] & F::digit)); in main()
169 assert(!(m[1] & F::digit)); in main()
183 assert(!(m[2] & F::digit)); in main()
[all …]
/external/v8/src/
Dbignum-dtoa.cc158 uint16_t digit; in GenerateShortestDigits() local
159 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateShortestDigits()
160 DCHECK(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateShortestDigits()
163 buffer[(*length)++] = digit + '0'; in GenerateShortestDigits()
250 uint16_t digit; in GenerateCountedDigits() local
251 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits()
252 DCHECK(digit <= 9); // digit is a uint16_t and therefore always positive. in GenerateCountedDigits()
255 buffer[i] = digit + '0'; in GenerateCountedDigits()
260 uint16_t digit; in GenerateCountedDigits() local
261 digit = numerator->DivideModuloIntBignum(*denominator); in GenerateCountedDigits()
[all …]
/external/valgrind/coregrind/
Dm_libcbase.c81 static Bool is_dec_digit(HChar c, Long* digit) in is_dec_digit() argument
83 if (c >= '0' && c <= '9') { *digit = (Long)(c - '0'); return True; } in is_dec_digit()
87 static Bool is_hex_digit(HChar c, Long* digit) in is_hex_digit() argument
89 if (c >= '0' && c <= '9') { *digit = (Long)(c - '0'); return True; } in is_hex_digit()
90 if (c >= 'A' && c <= 'F') { *digit = (Long)((c - 'A') + 10); return True; } in is_hex_digit()
91 if (c >= 'a' && c <= 'f') { *digit = (Long)((c - 'a') + 10); return True; } in is_hex_digit()
98 Long n = 0, digit = 0; in VG_() local
108 while (is_dec_digit(*str, &digit)) { in VG_()
110 n = 10*n + digit; in VG_()
125 Long digit = 0; in VG_() local
[all …]
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc153 inline int DigitValue(char digit) { in DigitValue() argument
154 if ('0' <= digit && digit <= '9') return digit - '0'; in DigitValue()
155 if ('a' <= digit && digit <= 'z') return digit - 'a' + 10; in DigitValue()
156 if ('A' <= digit && digit <= 'Z') return digit - 'A' + 10; in DigitValue()
873 int digit = DigitValue(*ptr); in ParseInteger() local
874 GOOGLE_LOG_IF(DFATAL, digit < 0 || digit >= base) in ParseInteger()
877 if (digit > max_value || result > (max_value - digit) / base) { in ParseInteger()
881 result = result * base + digit; in ParseInteger()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DInts.java600 private static int digit(char c) { in digit() method in Ints
666 int digit = digit(string.charAt(index++)); in tryParse() local
667 if (digit < 0 || digit >= radix) { in tryParse()
670 int accum = -digit; in tryParse()
675 digit = digit(string.charAt(index++)); in tryParse()
676 if (digit < 0 || digit >= radix || accum < cap) { in tryParse()
680 if (accum < Integer.MIN_VALUE + digit) { in tryParse()
683 accum -= digit; in tryParse()
/external/guava/guava/src/com/google/common/primitives/
DInts.java652 private static int digit(char c) { in digit() method in Ints
718 int digit = digit(string.charAt(index++)); in tryParse() local
719 if (digit < 0 || digit >= radix) { in tryParse()
722 int accum = -digit; in tryParse()
727 digit = digit(string.charAt(index++)); in tryParse()
728 if (digit < 0 || digit >= radix || accum < cap) { in tryParse()
732 if (accum < Integer.MIN_VALUE + digit) { in tryParse()
735 accum -= digit; in tryParse()
/external/pdfium/xfa/src/fxbarcode/oned/
DBC_OneDimReader.cpp113 int32_t digit = (int32_t)s[i] - (int32_t)'0'; in CheckStandardUPCEANChecksum() local
114 if (digit < 0 || digit > 9) { in CheckStandardUPCEANChecksum()
118 sum += digit; in CheckStandardUPCEANChecksum()
122 int32_t digit = (int32_t)s[j] - (int32_t)'0'; in CheckStandardUPCEANChecksum() local
123 if (digit < 0 || digit > 9) { in CheckStandardUPCEANChecksum()
127 sum += digit; in CheckStandardUPCEANChecksum()
/external/icu/icu4c/source/samples/numfmt/
Dutil.cpp35 uint32_t digit; in appendHex() local
37 digit = (number >> ((--digits) * 4)) & 0xF; in appendHex()
38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit); in appendHex()

12345678910>>...14