Home
last modified time | relevance | path

Searched refs:nibble (Results 1 – 25 of 40) sorted by relevance

12

/external/u-boot/tools/
Dgen_ethaddr_crc.c19 uint8_t nibble_to_hex(const char *nibble, bool lo) in nibble_to_hex() argument
21 return (strtol(nibble, NULL, 16) << (lo ? 0 : 4)) & (lo ? 0x0f : 0xf0); in nibble_to_hex()
30 char nibble[2] = { 0x00, '\n' }; /* for strtol */ in process_mac() local
32 nibble[0] = *mac_address++; in process_mac()
33 if (isxdigit(nibble[0])) { in process_mac()
34 if (isupper(nibble[0])) in process_mac()
35 nibble[0] = tolower(nibble[0]); in process_mac()
36 ethaddr[i >> 1] |= nibble_to_hex(nibble, (i % 2) != 0); in process_mac()
/external/u-boot/lib/efi_loader/
Defi_variable.c65 int nibble; in hex2mem() local
72 nibble = hex(*hexstr); in hex2mem()
73 if (nibble < 0) in hex2mem()
76 *mem = nibble; in hex2mem()
79 nibble = hex(*hexstr); in hex2mem()
80 if (nibble < 0) in hex2mem()
83 *mem = (*mem << 4) | nibble; in hex2mem()
/external/sonivox/arm-wt-22k/lib_src/
Deas_imaadpcm.c51 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble);
225 static void IMADecoderADPCM (S_DECODER_STATE *pState, EAS_U8 nibble) in IMADecoderADPCM() argument
235 if (nibble & 4) in IMADecoderADPCM()
238 if (nibble & 2) in IMADecoderADPCM()
242 if (nibble & 1) in IMADecoderADPCM()
250 if (nibble & 8) in IMADecoderADPCM()
263 pState->step += imaIndexTable[nibble]; in IMADecoderADPCM()
/external/grpc-grpc/tools/codegen/core/
Dgen_hpack_tables.cc213 static void build_dec_tbl(unsigned state, unsigned nibble, int nibbits, in build_dec_tbl() argument
226 GPR_ASSERT(huffstates[state].next.values[nibble] == NOT_SET); in build_dec_tbl()
227 huffstates[state].next.values[nibble] = st; in build_dec_tbl()
228 huffstates[state].emit.values[nibble] = emit; in build_dec_tbl()
251 build_dec_tbl(state, (nibble << 1) | bit, nibbits + 1, 0, i, in build_dec_tbl()
260 build_dec_tbl(state, (nibble << 1) | bit, nibbits + 1, bitofs + 1, emit, in build_dec_tbl()
/external/fsverity-utils/
Dutil.c325 static char bin2hex_char(u8 nibble) in bin2hex_char() argument
327 ASSERT(nibble <= 0xf); in bin2hex_char()
329 if (nibble < 10) in bin2hex_char()
330 return '0' + nibble; in bin2hex_char()
331 return 'a' + (nibble - 10); in bin2hex_char()
/external/perfetto/src/base/
Ddebug_crash_stack_trace.cc75 char nibble = static_cast<char>(n >> (sizeof(n) * 8 - i - 4)) & 0x0F; in PrintHex() local
76 char c = (nibble < 10) ? '0' + nibble : 'A' + nibble - 10; in PrintHex()
/external/skia/tools/bookmaker/
DtextParser.h706 int nibble = *reader++ - '0'; in EscapeParser() local
707 if (nibble > 9) { in EscapeParser()
708 nibble = (nibble & ~('a' - 'A')) - 'A' + '9' + 1; in EscapeParser()
710 unicode |= nibble; in EscapeParser()
/external/skqp/tools/bookmaker/
DtextParser.h706 int nibble = *reader++ - '0'; in EscapeParser() local
707 if (nibble > 9) { in EscapeParser()
708 nibble = (nibble & ~('a' - 'A')) - 'A' + '9' + 1; in EscapeParser()
710 unicode |= nibble; in EscapeParser()
/external/kernel-headers/original/uapi/linux/
Dif_plip.h21 unsigned long nibble; member
/external/ImageMagick/MagickCore/
Dxwindow.c5995 nibble; in XMakeImageLSBFirst() local
6006 nibble=0; in XMakeImageLSBFirst()
6010 switch (nibble) in XMakeImageLSBFirst()
6015 nibble++; in XMakeImageLSBFirst()
6021 nibble++; in XMakeImageLSBFirst()
6027 nibble++; in XMakeImageLSBFirst()
6034 nibble=0; in XMakeImageLSBFirst()
6047 nibble; in XMakeImageLSBFirst() local
6058 nibble=0; in XMakeImageLSBFirst()
6062 switch (nibble) in XMakeImageLSBFirst()
[all …]
/external/clang/test/CodeGenObjC/
Dblock-var-layout.m36 // many sizeof(void*) chunks to skip (high nibble) and then how many
37 // to scan (low nibble). A zero byte says that we've reached the end
Darc-captured-32bit-block-var-layout.m26 // many sizeof(void*) chunks to skip (high nibble) and then how many
27 // to scan (low nibble). A zero byte says that we've reached the end
Darc-captured-block-var-layout.m26 // many sizeof(void*) chunks to skip (high nibble) and then how many
27 // to scan (low nibble). A zero byte says that we've reached the end
/external/ImageMagick/coders/
Dicon.c1167 nibble, in WriteICONImage() local
1179 nibble=0; in WriteICONImage()
1185 nibble++; in WriteICONImage()
1186 if (nibble == 2) in WriteICONImage()
1189 nibble=0; in WriteICONImage()
1194 if (nibble != 0) in WriteICONImage()
Dbmp.c1961 nibble; in WriteBMPImage() local
1975 nibble=0; in WriteBMPImage()
1981 nibble++; in WriteBMPImage()
1982 if (nibble == 2) in WriteBMPImage()
1985 nibble=0; in WriteBMPImage()
1990 if (nibble != 0) in WriteBMPImage()
Dpsd.c1027 nibble; in ReadPSDChannelPixels() local
1029 p=PushShortPixel(MSBEndian,p,&nibble); in ReadPSDChannelPixels()
1030 pixel=ScaleShortToQuantum(nibble); in ReadPSDChannelPixels()
1035 nibble; in ReadPSDChannelPixels() local
1037 p=PushFloatPixel(MSBEndian,p,&nibble); in ReadPSDChannelPixels()
1038 pixel=ClampToQuantum((MagickRealType)QuantumRange*nibble); in ReadPSDChannelPixels()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAsmWriter.cpp768 unsigned int nibble = (word>>shiftcount) & 15; in WriteConstantInternal() local
769 if (nibble < 10) in WriteConstantInternal()
770 Out << (unsigned char)(nibble + '0'); in WriteConstantInternal()
772 Out << (unsigned char)(nibble - 10 + 'A'); in WriteConstantInternal()
794 unsigned int nibble = (word>>shiftcount) & 15; in WriteConstantInternal() local
795 if (nibble < 10) in WriteConstantInternal()
796 Out << (unsigned char)(nibble + '0'); in WriteConstantInternal()
798 Out << (unsigned char)(nibble - 10 + 'A'); in WriteConstantInternal()
/external/u-boot/arch/x86/include/asm/acpi/
Ddebug.asl64 /* DBGN - Send a single hex nibble */
/external/v8/src/
Dutils.h100 int nibble = 0; in MostSignificantBit() local
102 nibble += 16; in MostSignificantBit()
106 nibble += 8; in MostSignificantBit()
110 nibble += 4; in MostSignificantBit()
113 return nibble + msb4[x]; in MostSignificantBit()
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1389 static grpc_error* huff_nibble(grpc_chttp2_hpack_parser* p, uint8_t nibble) { in huff_nibble() argument
1390 int16_t emit = emit_sub_tbl[16 * emit_tbl[p->huff_state] + nibble]; in huff_nibble()
1391 int16_t next = next_sub_tbl[16 * next_tbl[p->huff_state] + nibble]; in huff_nibble()
/external/u-boot/drivers/usb/gadget/
Dether.c1980 static u8 nibble(unsigned char c) in nibble() function
2000 num = nibble(*str++) << 4; in get_ether_addr()
2001 num |= (nibble(*str++)); in get_ether_addr()
/external/skia/docs/
Dspelling.txt145 need needed needs negative nested never new newly next nibble nine no non-homogeneous
/external/skqp/docs/
Dspelling.txt145 need needed needs negative nested never new newly next nibble nine no non-homogeneous
/external/libexif/m4m/
Dstdint.m4479 /* (btw, those nibble-addressable systems are way off, or so we assume) */
/external/libmtp/m4/
Dstdint.m4477 /* (btw, those nibble-addressable systems are way off, or so we assume) */

12