Searched refs:base (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.2/user/libs/libc/src/ |
D | printf.c | 9 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags… 350 static char *write_num(char *str, uint64_t num, int base, int field_width, int precision, int flags) in write_num() argument 364 if (base < 2 || base > 36) in write_num() 402 if (base == 16) // 0x占用2个位置 in write_num() 404 else if (base == 8) // O占用一个位置 in write_num() 417 tmp_num[js_num++] = digits[num % base]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_num() 418 num /= base; in write_num() 435 if (base == 16) in write_num() 440 else if (base == 8) in write_num()
|
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.c | 25 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags); 383 static char *write_num(char *str, ul num, int base, int field_width, int precision, int flags) in write_num() argument 397 if (base < 2 || base > 36) in write_num() 435 if (base == 16) // 0x占用2个位置 in write_num() 437 else if (base == 8) // O占用一个位置 in write_num() 450 tmp_num[js_num++] = digits[num % base]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_num() 451 num /= base; in write_num() 468 if (base == 16) in write_num() 473 else if (base == 8) in write_num()
|
D | lz4.c | 1159 const BYTE *base = (const BYTE *)source - startIndex; in LZ4_compress_generic_validated() local 1225 LZ4_putPosition(ip, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated() 1253 match = LZ4_getPositionOnHash(h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated() 1255 LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated() 1268 U32 const current = (U32)(forwardIp - base); in LZ4_compress_generic_validated() 1271 assert(forwardIp - base < (ptrdiff_t)(2 GB - 1)); in LZ4_compress_generic_validated() 1293 match = base + matchIndex; in LZ4_compress_generic_validated() 1308 match = base + matchIndex; in LZ4_compress_generic_validated() 1314 match = base + matchIndex; in LZ4_compress_generic_validated() 1501 LZ4_putPosition(ip - 2, cctx->hashTable, tableType, base); in LZ4_compress_generic_validated() [all …]
|