HomeSort by relevance Sort by last modified time
    Searched refs:Digit (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/pdfium/third_party/bigint/
BigUnsignedInABase.hh 22 * and `std::string's (by switching digit values for appropriate characters).
27 * BigUnsignedInABase uses ``digits'' (or Digit) where BigUnsigned uses
42 typedef unsigned short Digit;
44 typedef Digit Base;
51 BigUnsignedInABase(int, Index c) : NumberlikeArray<Digit>(0, c) {}
61 BigUnsignedInABase() : NumberlikeArray<Digit>(), base(2) {}
64 BigUnsignedInABase(const BigUnsignedInABase &x) : NumberlikeArray<Digit>(x), base(x.base) {}
68 NumberlikeArray<Digit>::operator =(x);
73 BigUnsignedInABase(const Digit *d, Index l, Base base);
109 using NumberlikeArray<Digit>::getCapacity
    [all...]
BigUnsignedInABase.cc 9 BigUnsignedInABase::BigUnsignedInABase(const Digit *d, Index l, Base base)
10 : NumberlikeArray<Digit>(d, l), base(base) {
55 // Get last digit. This is like `lastDigit = x2 % buBase, x2 /= buBase'.
58 // Save the digit.
122 Digit theDigit = blk[digitNum];
  /device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
Handles.c 36 INTN Digit;
124 Digit = (( Value >> Shift ) & 0xf ) | '0';
125 if ( '9' < Digit ) {
126 Digit += 'a' - '0' - 10;
130 // Display the address digit
134 (UINT8) Digit );
194 Digit = (( Value >> Shift ) & 0xf ) | '0';
195 if ( '9' < Digit ) {
196 Digit += 'a' - '0' - 10;
200 // Display the address digit
    [all...]
HTTP.c 1189 UINT32 Digit;
1204 // Determine the next digit
1206 Digit = (UINT32)(( Value >> Shift ) & 0xf );
1207 if ( 10 <= Digit ) {
1208 Digit += 'a' - '0' - 10;
1212 // Display the digit
1214 Status = HttpSendByte ( SocketFD, pPort, (UINT8)( '0' + Digit ));
1249 UINT32 Digit;
1265 // Determine the next digit
1267 Digit = (UINT32)(( Value >> Shift ) & 0xf );
    [all...]
  /external/skia/tests/
SkPEGTest.cpp 30 struct Digit {
135 const auto match = Digit::Match(gTests[i].fInput);
175 const auto m = Seq<LIT<'x'>, Digit>::Match("x5");
180 const auto m = Seq<Digit, Digit>::Match("42");
188 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("")));
189 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match("\t")));
190 REPORTER_ASSERT(r, !(Choice<Digit,Alpha>::Match(" ")));
191 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("a")));
192 REPORTER_ASSERT(r, (Choice<Digit,Alpha>::Match("3")))
    [all...]
  /prebuilts/go/darwin-x86/src/unicode/
digit.go 7 // IsDigit reports whether the rune is a decimal digit.
12 return isExcludingLatin(Digit, r)
digit_test.go 122 if Is(Digit, i) != IsDigit(i) {
123 t.Errorf("IsDigit(U+%04X) disagrees with Is(Digit)", i)
  /prebuilts/go/linux-x86/src/unicode/
digit.go 7 // IsDigit reports whether the rune is a decimal digit.
12 return isExcludingLatin(Digit, r)
digit_test.go 122 if Is(Digit, i) != IsDigit(i) {
123 t.Errorf("IsDigit(U+%04X) disagrees with Is(Digit)", i)
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/
String.c 461 OUT UINT8 *Digit,
467 Determines if a Unicode character is a hexadecimal digit.
471 Digit - Pointer to byte that receives the value of the hex character.
475 TRUE - If the character is a hexadecimal digit.
481 *Digit = (UINT8) (Char - L'0');
486 *Digit = (UINT8) (Char - L'A' + 0x0A);
491 *Digit = (UINT8) (Char - L'a' + 0x0A);
535 The first character in the string that is not hex digit stops the conversion.
556 UINT8 Digit;
562 for (Idx = 0, HexCnt = 0; IsHexDigit (&Digit, Str[Idx]); Idx++, HexCnt++);
    [all...]
  /frameworks/data-binding/compilerCommon/
BindingExpression.g4 218 : Digit (DigitOrUnderscore* Digit)?
222 Digit
234 : Digit
  /external/protobuf/src/google/protobuf/io/
tokenizer.cc 131 CHARACTER_CLASS(Digit, '0' <= c && c <= '9');
152 // Given a char, interpret it as a numeric digit and return its value.
154 inline int DigitValue(char digit) {
155 if ('0' <= digit && digit <= '9') return digit - '0';
156 if ('a' <= digit && digit <= 'z') return digit - 'a' + 10;
157 if ('A' <= digit && digit <= 'Z') return digit - 'A' + 10
883 int digit = DigitValue(*ptr); local
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
StrGather.py 89 # Convert a dec number to a formatted hex string in length digit
90 # The digit is set to default 8
96 # @param Digit: The needed digit of hex string
100 def DecToHexStr(Dec, Digit = 8):
101 return eval("'0x%0" + str(Digit) + "X' % int(Dec)")
105 # Convert a dec number to a formatted hex list in size digit
106 # The digit is set to default 8
111 # @param Digit: The needed digit of hex list
    [all...]
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
IScsiMisc.c 456 UINT8 Digit;
472 Digit = (UINT8) AsciiStrHexToUint64 (TemStr);
473 if (Digit == 0 && TemStr[0] != '0') {
480 BinBuffer [Index/2] = Digit;
482 BinBuffer [Index/2] = (UINT8) ((BinBuffer [Index/2] << 4) + Digit);
  /external/llvm/lib/Support/
ScaledNumber.cpp 43 // Check whether the upper digit is empty.
150 static bool doesRoundUp(char Digit) {
151 switch (Digit) {
297 // Round with the first truncated digit.
APInt.cpp 50 /// A utility function that converts a character to a digit.
180 /// This function adds a single "digit" integer, y, to the multiple
181 /// "digit" integer array, x[]. x[] is modified to reflect the addition and
188 y = 1; // Carry one to next digit.
206 /// This function subtracts a single "digit" (64-bit word), y, from
207 /// the multi-digit integer array, x[], propagating the borrowed 1 value until
217 y = 1; // We have to "borrow 1" from next "digit"
292 /// @brief Multiply a multi-digit APInt by a single digit (64-bit) integer.
298 // For each digit of x
    [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
IScsiMisc.c 386 UINT8 Digit;
402 Digit = (UINT8) AsciiStrHexToUint64 (TemStr);
403 if (Digit == 0 && TemStr[0] != '0') {
410 BinBuffer [Index/2] = Digit;
412 BinBuffer [Index/2] = (UINT8) ((BinBuffer [Index/2] << 4) + Digit);
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
basic.rb 379 lexer grammar Digit;
386 DIGIT: '0' .. '9';
390 lexer = Digit::Lexer.new( '085' )
393 token.name.should == 'DIGIT'
399 token.name.should == 'DIGIT'
405 token.name.should == 'DIGIT'
415 lexer = Digit::Lexer.new( '2a' )
  /device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/TftpServer/
TftpServer.c     [all...]
  /device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
PxeBcSupport.c     [all...]
PxeBcSupport.h 466 @param[out] Digit The converted UINT8 for output.
475 OUT UINT8 *Digit,
PxeBcDhcp6.c 398 UINT8 Digit;
417 if (EFI_ERROR (PxeBcUniHexToUint8 (&Digit, *(BootFilePara + Index)))) {
421 Size = (Size + Digit) * 10;
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
EfiCommonLib.h 1198 OUT UINT8 *Digit,
1204 Determines if a Unicode character is a hexadecimal digit.
1208 Digit - Pointer to byte that receives the value of the hex character.
1212 TRUE - If the character is a hexadecimal digit.
1248 The first character in the string that is not hex digit stops the conversion.
  /device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DevicePathFromText.c 347 UINT8 Digit;
350 Digit = 0;
360 Digit = (UINT8) (*Str - L'a' + 0x0A);
362 Digit = (UINT8) (*Str - L'A' + 0x0A);
364 Digit = (UINT8) (*Str - L'0');
374 Byte = (UINT8) (Digit << 4);
378 Byte = (UINT8) (Byte | Digit);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Support/
APInt.cpp 47 /// A utility function that converts a character to a digit.
177 /// add_1 - This function adds a single "digit" integer, y, to the multiple
178 /// "digit" integer array, x[]. x[] is modified to reflect the addition and
185 y = 1; // Carry one to next digit.
203 /// sub_1 - This function subtracts a single "digit" (64-bit word), y, from
204 /// the multi-digit integer array, x[], propagating the borrowed 1 value until
214 y = 1; // We have to "borrow 1" from next "digit"
289 /// @brief Multiply a multi-digit APInt by a single digit (64-bit) integer.
295 // For each digit of x
    [all...]

Completed in 2012 milliseconds

1 2 3