Searched refs:result (Results 1 – 10 of 10) sorted by relevance
/lib/ |
D | checksum.c | 53 unsigned int result = 0; in do_csum() local 60 result += (*buff << 8); in do_csum() 62 result = *buff; in do_csum() 69 result += *(unsigned short *) buff; in do_csum() 79 result += carry; in do_csum() 80 result += w; in do_csum() 81 carry = (w > result); in do_csum() 83 result += carry; in do_csum() 84 result = (result & 0xffff) + (result >> 16); in do_csum() 87 result += *(unsigned short *) buff; in do_csum() [all …]
|
D | bsearch.c | 38 int result; in bsearch() local 43 result = cmp(key, base + mid * size); in bsearch() 44 if (result < 0) in bsearch() 46 else if (result > 0) in bsearch()
|
D | parser.c | 128 static int match_number(substring_t *s, int *result, int base) in match_number() argument 149 *result = (int) val; in match_number() 163 int match_int(substring_t *s, int *result) in match_int() argument 165 return match_number(s, result, 0); in match_int() 178 int match_octal(substring_t *s, int *result) in match_octal() argument 180 return match_number(s, result, 8); in match_octal() 193 int match_hex(substring_t *s, int *result) in match_hex() argument 195 return match_number(s, result, 16); in match_hex()
|
D | test-hexdump.c | 51 const char * const *result; in test_hexdump() local 68 result = test_data_8_le; in test_hexdump() 70 result = test_data_4_le; in test_hexdump() 72 result = test_data_2_le; in test_hexdump() 74 result = test_data_1_le; in test_hexdump() 81 const char *q = *result++; in test_hexdump()
|
D | assoc_array.c | 185 struct assoc_array_walk_result *result) in assoc_array_walk() argument 232 result->terminal_node.node = node; in assoc_array_walk() 233 result->terminal_node.level = level; in assoc_array_walk() 234 result->terminal_node.slot = slot; in assoc_array_walk() 285 result->wrong_shortcut.shortcut = shortcut; in assoc_array_walk() 286 result->wrong_shortcut.level = level; in assoc_array_walk() 287 result->wrong_shortcut.sc_level = sc_level; in assoc_array_walk() 288 result->wrong_shortcut.sc_segments = sc_segments; in assoc_array_walk() 289 result->wrong_shortcut.dissimilarity = dissimilarity; in assoc_array_walk() 323 struct assoc_array_walk_result result; in assoc_array_find() local [all …]
|
D | bitmap.c | 159 unsigned long result = 0; in __bitmap_and() local 162 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and() 164 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and() 166 return result != 0; in __bitmap_and() 197 unsigned long result = 0; in __bitmap_andnot() local 200 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot() 202 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot() 204 return result != 0; in __bitmap_andnot()
|
D | random32.c | 128 u32 result; member 139 u32 result; member 276 if (test1[i].result != prandom_u32_state(&state)) in prandom_state_selftest() 294 if (test2[i].result != prandom_u32_state(&state)) in prandom_state_selftest()
|
D | vsprintf.c | 52 unsigned long long result; in simple_strtoull() local 56 rv = _parse_integer(cp, base, &result); in simple_strtoull() 63 return result; in simple_strtoull()
|
D | test_bpf.c | 83 __u32 result; member 5410 test->test[i].result == 0) in run_one() 5422 if (ret == test->test[i].result) { in run_one() 5426 test->test[i].result); in run_one()
|
D | Kconfig.debug | 291 most likely result in an oops. 302 This option tells gcc to inline less (but it does result in 858 anything erroneous after an oops which could result in data 921 This is to ensure no erroneous behaviour occurs which could result in
|