Searched refs:val (Results 1 – 6 of 6) sorted by relevance
/bootable/recovery/minzip/ |
D | Bits.h | 271 INLINE void set1(unsigned char* buf, unsigned char val) in set1() argument 273 *buf = (unsigned char)(val); in set1() 279 INLINE void set2BE(unsigned char* buf, unsigned short val) in set2BE() argument 281 *buf++ = (unsigned char)(val >> 8); in set2BE() 282 *buf = (unsigned char)(val); in set2BE() 288 INLINE void set4BE(unsigned char* buf, unsigned int val) in set4BE() argument 290 *buf++ = (unsigned char)(val >> 24); in set4BE() 291 *buf++ = (unsigned char)(val >> 16); in set4BE() 292 *buf++ = (unsigned char)(val >> 8); in set4BE() 293 *buf = (unsigned char)(val); in set4BE() [all …]
|
D | Hash.c | 35 unsigned int roundUpPower2(unsigned int val) in roundUpPower2() argument 37 val--; in roundUpPower2() 38 val |= val >> 1; in roundUpPower2() 39 val |= val >> 2; in roundUpPower2() 40 val |= val >> 4; in roundUpPower2() 41 val |= val >> 8; in roundUpPower2() 42 val |= val >> 16; in roundUpPower2() 43 val++; in roundUpPower2() 45 return val; in roundUpPower2() 283 int i, val; in mzHashForeach() local [all …]
|
D | Zip.c | 192 unsigned int val; in parseZipArchive() local 199 val = get4LE(pArchive->addr); in parseZipArchive() 200 if (val == ENDSIG) { in parseZipArchive() 203 } else if (val != LOCSIG) { in parseZipArchive() 204 LOGW("Not a Zip archive (found 0x%08x)\n", val); in parseZipArchive()
|
/bootable/recovery/minui/ |
D | mkfont.c | 33 unsigned val = (*x ? 0 : 255); in main() local 35 if((val == run_val) && (run_count < 127)) { in main() 40 run_val = val; in main()
|
/bootable/recovery/edify/ |
D | lexer.ll | 69 int val; 70 sscanf(yytext+2, "%x", &val); 71 string_buffer.push_back(static_cast<char>(val));
|
D | expr.cpp | 172 char* val = Evaluate(state, argv[0]); in SleepFn() local 173 if (val == NULL) { in SleepFn() 176 int v = strtol(val, NULL, 10); in SleepFn() 178 return StringValue(val); in SleepFn() 220 char* val = Evaluate(state, argv[0]); in LogicalNotFn() local 221 if (val == NULL) return NULL; in LogicalNotFn() 222 bool bv = BooleanString(val); in LogicalNotFn() 223 free(val); in LogicalNotFn()
|