/external/u-boot/drivers/power/regulator/ |
D | s2mps11_regulator.c | 44 static int s2mps11_buck_hex2volt(int buck, int hex) in s2mps11_buck_hex2volt() argument 48 if (hex < 0) in s2mps11_buck_hex2volt() 55 if (hex > S2MPS11_BUCK7_8_10_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 58 uV = hex * S2MPS11_BUCK_HSTEP + S2MPS11_BUCK_UV_HMIN; in s2mps11_buck_hex2volt() 61 if (hex > S2MPS11_BUCK9_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 63 uV = hex * S2MPS11_BUCK9_STEP * 2 + S2MPS11_BUCK9_UV_MIN; in s2mps11_buck_hex2volt() 66 if (buck == 5 && hex > S2MPS11_BUCK5_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 68 else if (buck != 5 && hex > S2MPS11_BUCK_VOLT_MAX_HEX) in s2mps11_buck_hex2volt() 71 uV = hex * S2MPS11_BUCK_LSTEP + S2MPS11_BUCK_UV_MIN; in s2mps11_buck_hex2volt() 77 pr_err("Value: %#x is wrong for BUCK%d", hex, buck); in s2mps11_buck_hex2volt() [all …]
|
D | max77686.c | 71 int hex = 0; in max77686_buck_volt2hex() local 79 hex = (uV - MAX77686_BUCK_UV_LMIN) / MAX77686_BUCK_UV_LSTEP; in max77686_buck_volt2hex() 90 hex = (uV - MAX77686_BUCK_UV_HMIN) / MAX77686_BUCK_UV_HSTEP; in max77686_buck_volt2hex() 95 if (hex >= 0 && hex <= hex_max) in max77686_buck_volt2hex() 96 return hex; in max77686_buck_volt2hex() 102 static int max77686_buck_hex2volt(int buck, int hex) in max77686_buck_hex2volt() argument 107 if (hex < 0) in max77686_buck_hex2volt() 115 if (hex > hex_max) in max77686_buck_hex2volt() 119 uV = hex * MAX77686_BUCK_UV_LSTEP + MAX77686_BUCK_UV_LMIN; in max77686_buck_hex2volt() 123 if (hex > hex_max) in max77686_buck_hex2volt() [all …]
|
D | lp873x_regulator.c | 72 static int lp873x_buck_hex2volt(int hex) in lp873x_buck_hex2volt() argument 74 if (hex > LP873X_BUCK_VOLT_MAX_HEX) in lp873x_buck_hex2volt() 76 else if (hex > 0x9D) in lp873x_buck_hex2volt() 77 return 1400000 + (hex - 0x9D) * 20000; in lp873x_buck_hex2volt() 78 else if (hex > 0x17) in lp873x_buck_hex2volt() 79 return 730000 + (hex - 0x17) * 5000; in lp873x_buck_hex2volt() 80 else if (hex >= 0x14) in lp873x_buck_hex2volt() 81 return 700000 + (hex - 0x14) * 10000; in lp873x_buck_hex2volt() 88 unsigned int hex, adr; in lp873x_buck_val() local 113 hex = lp873x_buck_volt2hex(*uV); in lp873x_buck_val() [all …]
|
D | palmas_regulator.c | 100 static int palmas_smps_hex2volt(int hex, bool range) in palmas_smps_hex2volt() argument 104 if (hex > PALMAS_SMPS_VOLT_MAX_HEX) in palmas_smps_hex2volt() 107 if (hex < 0x7) in palmas_smps_hex2volt() 110 uV = 500000 + (hex - 0x6) * 10000; in palmas_smps_hex2volt() 120 unsigned int hex, adr; in palmas_smps_val() local 151 hex = palmas_smps_volt2hex(*uV); in palmas_smps_val() 152 if (hex < 0) in palmas_smps_val() 153 return hex; in palmas_smps_val() 156 ret |= hex; in palmas_smps_val() 243 static int palmas_ldo_hex2volt(int hex) in palmas_ldo_hex2volt() argument [all …]
|
/external/u-boot/arch/powerpc/cpu/mpc8xx/ |
D | Kconfig | 48 hex "SIUMCR register" 53 hex "SYPCR register" 58 hex "TBSCR register" 63 hex "PISCR register" 71 hex "PLPRCR register" 77 hex "SCCR register" 82 hex "MASK for setting SCCR register" 85 hex "DER register" 92 hex "Preliminary value for BR0" 95 hex "Preliminary value for OR0" [all …]
|
/external/u-boot/board/freescale/ls1012ardb/ |
D | Kconfig | 16 hex "PPA Firmware Addr" 21 hex "PPA Firmware HDR Addr" 33 hex "Flash address of PFE firmware" 37 hex "PFE DDR physical base address" 41 hex "PFE DDR base address" 45 hex "PFE DDR base address" 49 hex "PFE DDR base address" 73 hex "PPA Firmware Addr" 85 hex "Flash address of PFE firmware" 89 hex "PFE DDR physical base address" [all …]
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CompactStringByteConverter.java | 95 System.out.println("\t\t" + Utility.hex(last)); in fromBytes() 104 System.out.println("\t\t" + Utility.hex(last)); in fromBytes() 125 System.out.println(Utility.hex(source)); in writeInt() 138 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeInt() 144 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeInt() 159 … System.out.println(Utility.hex(nextByte & 0xFF, 2) + ", " + Utility.hex(result)); in readInt() 168 … System.out.println(Utility.hex(nextByte & 0xFF, 2) + ", " + Utility.hex(result)); in readInt() 178 System.out.println(Utility.hex(source)); in writeUnsignedInt() 191 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeUnsignedInt() 196 System.out.println(Utility.hex(output[bytePosition - 1] & 0xFF, 2)); in writeUnsignedInt() [all …]
|
/external/u-boot/board/synopsys/hsdk/ |
D | headerize-hsdk.py | 31 print("unknown ARC ID: " + hex(arc_id)) 109 headerised_image_crc = hex(zlib.crc32(fi.read()) & 0xffffffff) 116 "crc32 " + hex(load_addr) + " " + hex(load_size) + " " + hex(crc_calc_adr) 118 "mw.l " + hex(crc_store_adr) + " " + headerised_image_crc + " && " + \ 120 "cmp.l " + hex(crc_store_adr) + " " + hex(crc_calc_adr) + " 1" 130 "fatload mmc 0:1 " + hex(load_addr) + " " + headerised_filename + " && " + \ 133 "sf protect unlock 0x0 " + hex(errase_size) + " && " + \ 134 "sf erase 0x0 " + hex(errase_size) + " && " + \ 135 "sf write " + hex(load_addr) + " 0x0 " + hex(load_size) + " && " + \ 136 "sf protect lock 0x0 " + hex(errase_size)
|
/external/u-boot/board/freescale/ls1012afrdm/ |
D | Kconfig | 16 hex "Flash address of PFE firmware" 20 hex "PPA Firmware Addr" 33 hex "PFE DDR physical base address" 37 hex "PFE DDR base address" 41 hex "PFE DDR base address" 45 hex "PFE DDR base address" 65 hex "Flash address of PFE firmware" 69 hex "PPA Firmware Addr" 73 hex "PPA Firmware HDR Addr" 77 hex "PFE Firmware HDR Addr"
|
/external/v8/src/ |
D | ostreams.cc | 139 std::ostream& operator<<(std::ostream& os, const AsHex& hex) { in operator <<() argument 142 DCHECK_GE(sizeof(hex.value) * 2, hex.min_width); in operator <<() 143 static constexpr size_t kMaxHexLength = 3 + sizeof(hex.value) * 2; in operator <<() 145 snprintf(buf, kMaxHexLength, "%s%.*" PRIx64, hex.with_prefix ? "0x" : "", in operator <<() 146 hex.min_width, hex.value); in operator <<() 150 std::ostream& operator<<(std::ostream& os, const AsHexBytes& hex) { in operator <<() argument 151 uint8_t bytes = hex.min_bytes; in operator <<() 152 while (bytes < sizeof(hex.value) && (hex.value >> (bytes * 8) != 0)) ++bytes; in operator <<() 156 hex.byte_order == AsHexBytes::kLittleEndian ? b : bytes - b - 1; in operator <<() 157 os << AsHex((hex.value >> (8 * printed_byte)) & 0xFF, 2); in operator <<()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | BasicTest.java | 279 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 280 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 281 hex(c)); in TestCompositionExclusion() 283 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 284 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 285 hex(c)); in TestCompositionExclusion() 346 logln("Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b)); in TestZeroIndex() 348 errln("FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b) + in TestZeroIndex() 349 ", expect " + hex(exp)); in TestZeroIndex() 354 logln("Ok: " + hex(b) + " x DECOMP => " + hex(a)); in TestZeroIndex() [all …]
|
D | TestDeprecatedNormalizerAPI.java | 105 errln("ERROR: " + hex(ch) + " has identical decomp"); in doTestComposedChars() 108 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" in doTestComposedChars() 109 + " != iter decomp (" + hex(iterDecomp) + ")" ); in doTestComposedChars() 121 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 142 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); in TestRoundTrip() 150 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 151 + " --> " + hex(comp)); in TestRoundTrip()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | BasicTest.java | 282 errln("FAIL: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 283 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 284 hex(c)); in TestCompositionExclusion() 286 logln("Ok: " + hex(a) + " x DECOMP_COMPAT => " + in TestCompositionExclusion() 287 hex(b) + " x COMPOSE => " + in TestCompositionExclusion() 288 hex(c)); in TestCompositionExclusion() 349 logln("Ok: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b)); in TestZeroIndex() 351 errln("FAIL: " + hex(a) + " x COMPOSE_COMPAT => " + hex(b) + in TestZeroIndex() 352 ", expect " + hex(exp)); in TestZeroIndex() 357 logln("Ok: " + hex(b) + " x DECOMP => " + hex(a)); in TestZeroIndex() [all …]
|
D | TestDeprecatedNormalizerAPI.java | 108 errln("ERROR: " + hex(ch) + " has identical decomp"); in doTestComposedChars() 111 errln("ERROR: Normalizer decomp for " + hex(ch) + " (" + hex(normDecomp) + ")" in doTestComposedChars() 112 + " != iter decomp (" + hex(iterDecomp) + ")" ); in doTestComposedChars() 124 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" in assertNoDecomp() 145 logln("Skipped excluded char " + hex(ch) + " (" + UCharacter.getName(ch) + ")" ); in TestRoundTrip() 153 errln("ERROR: Round trip invalid: " + hex(chStr) + " --> " + hex(decomp) in TestRoundTrip() 154 + " --> " + hex(comp)); in TestRoundTrip()
|
/external/u-boot/board/freescale/ls1012aqds/ |
D | Kconfig | 16 hex "PPA Firmware Addr" 33 hex "Flash address of PFE firmware" 37 hex "PFE DDR physical base address" 41 hex "PFE DDR base address" 45 hex "PFE DDR base address" 49 hex "PFE DDR base address" 53 hex "PFE DDR base address" 57 hex "PFE DDR base address"
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationTest.java | 144 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 162 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 168 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 225 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 226 + Utility.hex(target) + "\" expected " + result in doTestVariant() 233 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 234 + "\" with \"" + Utility.hex(target) in doTestVariant() 245 + Utility.hex(source) in doTestVariant() 246 + "\" with \"" + Utility.hex(target) in doTestVariant() 269 errln("CE(U+fffe)=0x" + Utility.hex(ce) + " != 02.."); in TestMinMax() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationTest.java | 141 + Utility.hex(orders[index]) + " vs 0x" + Utility.hex(o)); in backAndForth() 159 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 165 String hexString = "0x" + Utility.hex(o) + " "; in backAndForth() 222 TestFmwk.errln("Comparing \"" + Utility.hex(source) + "\" with \"" in doTestVariant() 223 + Utility.hex(target) + "\" expected " + result in doTestVariant() 230 TestFmwk.errln("Comparing CollationKeys of \"" + Utility.hex(source) in doTestVariant() 231 + "\" with \"" + Utility.hex(target) in doTestVariant() 242 + Utility.hex(source) in doTestVariant() 243 + "\" with \"" + Utility.hex(target) in doTestVariant() 266 errln("CE(U+fffe)=0x" + Utility.hex(ce) + " != 02.."); in TestMinMax() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
D | trt_resources.cc | 37 using std::hex; in DebugString() 38 oss << " Calibrator = " << hex << calibrator_.get() << dec << endl in DebugString() 39 << " Builder = " << hex << builder_.get() << dec << endl in DebugString() 40 << " Engine = " << hex << engine_.get() << dec << endl in DebugString() 41 << " Logger = " << hex << &logger_ << dec << endl in DebugString() 42 << " Allocator = " << hex << allocator_.get() << dec << endl in DebugString() 43 << " Thread = " << hex << thr_.get() << dec << endl; in DebugString()
|
/external/python/cpython2/Lib/test/ |
D | test_future_builtins.py | 4 from future_builtins import hex, oct, map, zip, filter 8 self.assertEqual(hex(0), '0x0') 9 self.assertEqual(hex(16), '0x10') 10 self.assertEqual(hex(16L), '0x10') 11 self.assertEqual(hex(-16), '-0x10') 12 self.assertEqual(hex(-16L), '-0x10') 13 self.assertRaises(TypeError, hex, {})
|
/external/u-boot/arch/x86/cpu/quark/ |
D | Kconfig | 43 hex "Remote Management Unit (RMU) binary location" 63 hex 68 hex 74 hex 78 hex 84 hex 91 hex 98 hex 104 hex 110 hex [all …]
|
/external/skia/src/utils/ |
D | SkParseColor.cpp | 244 uint32_t hex; in FindColor() local 245 const char* end = SkParse::FindHex(value + 1, &hex); in FindColor() 251 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; in FindColor() 252 unsigned r = nib2byte((hex >> 8) & 0xF); in FindColor() 253 unsigned g = nib2byte((hex >> 4) & 0xF); in FindColor() 254 unsigned b = nib2byte(hex & 0xF); in FindColor() 259 hex |= oldAlpha << 24; in FindColor() 260 *colorPtr = hex; in FindColor()
|
/external/skqp/src/utils/ |
D | SkParseColor.cpp | 244 uint32_t hex; in FindColor() local 245 const char* end = SkParse::FindHex(value + 1, &hex); in FindColor() 251 unsigned a = len == 4 ? nib2byte(hex >> 12) : oldAlpha; in FindColor() 252 unsigned r = nib2byte((hex >> 8) & 0xF); in FindColor() 253 unsigned g = nib2byte((hex >> 4) & 0xF); in FindColor() 254 unsigned b = nib2byte(hex & 0xF); in FindColor() 259 hex |= oldAlpha << 24; in FindColor() 260 *colorPtr = hex; in FindColor()
|
/external/libbrillo/brillo/ |
D | data_encoding.cc | 17 inline int HexToDec(int hex) { in HexToDec() argument 19 if (hex >= '0' && hex <= '9') { in HexToDec() 20 dec = hex - '0'; in HexToDec() 21 } else if (hex >= 'A' && hex <= 'F') { in HexToDec() 22 dec = hex - 'A' + 10; in HexToDec() 23 } else if (hex >= 'a' && hex <= 'f') { in HexToDec() 24 dec = hex - 'a' + 10; in HexToDec()
|
/external/dtc/tests/ |
D | base01.dts | 17 d10 = < 10>; // hex: 0xa 18 d23 = < 23>; // hex: 0x17 19 b101 = < 0x5>; // hex: 0x5 20 o17 = < 017>; // hex: 0xf 21 hd00d = < 0xd00d>; // hex: 0xd00d 23 // hex: 0x4d2 0x163e 0x2334 0xd80
|
/external/syzkaller/pkg/ifuzz/ |
D | ifuzz_test.go | 56 t.Errorf("decoding %v %v failed (mode=%v): %v", insn.Name, hex.EncodeToString(text), mode, err) 58 t.Errorf("whole: %v", hex.EncodeToString(text0)) 66 …t.Errorf("xed decoding %v %v failed (mode=%v): %v", insn.Name, hex.EncodeToString(text), mode, xed… 68 t.Errorf("whole: %v", hex.EncodeToString(text0)) 75 insn.Name, hex.EncodeToString(text), mode, size, xedSize, size, len(text)) 77 t.Errorf("whole: %v", hex.EncodeToString(text0)) 89 insn.Name, hex.EncodeToString(text), mode, size, len(text)) 91 t.Errorf("whole: %v", hex.EncodeToString(text0))
|