Home
last modified time | relevance | path

Searched refs:result (Results 1 – 10 of 10) sorted by relevance

/lib/
Dchecksum.c53 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 …]
Dbsearch.c38 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()
Dparser.c128 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()
Dtest-hexdump.c51 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()
Dassoc_array.c185 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 …]
Dbitmap.c159 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()
Drandom32.c128 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()
Dvsprintf.c52 unsigned long long result; in simple_strtoull() local
56 rv = _parse_integer(cp, base, &result); in simple_strtoull()
63 return result; in simple_strtoull()
Dtest_bpf.c83 __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()
DKconfig.debug291 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