Home
last modified time | relevance | path

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

/lib/
Dchecksum.c49 unsigned int result = 0; in do_csum() local
56 result += (*buff << 8); in do_csum()
58 result = *buff; in do_csum()
65 result += *(unsigned short *) buff; in do_csum()
75 result += carry; in do_csum()
76 result += w; in do_csum()
77 carry = (w > result); in do_csum()
79 result += carry; in do_csum()
80 result = (result & 0xffff) + (result >> 16); in do_csum()
83 result += *(unsigned short *) buff; in do_csum()
[all …]
Dtest_string.c119 char *result; in strchr_selftest() local
123 result = strchr(test_string, test_string[i]); in strchr_selftest()
124 if (result - test_string != i) in strchr_selftest()
128 result = strchr(empty_string, '\0'); in strchr_selftest()
129 if (result != empty_string) in strchr_selftest()
132 result = strchr(empty_string, 'a'); in strchr_selftest()
133 if (result) in strchr_selftest()
136 result = strchr(test_string, 'z'); in strchr_selftest()
137 if (result) in strchr_selftest()
147 char *result; in strnchr_selftest() local
[all …]
Dparser.c126 static int match_number(substring_t *s, int *result, int base) in match_number() argument
144 *result = (int) val; in match_number()
159 static int match_u64int(substring_t *s, u64 *result, int base) in match_u64int() argument
171 *result = val; in match_u64int()
185 int match_int(substring_t *s, int *result) in match_int() argument
187 return match_number(s, result, 0); in match_int()
202 int match_u64(substring_t *s, u64 *result) in match_u64() argument
204 return match_u64int(s, result, 0); in match_u64()
217 int match_octal(substring_t *s, int *result) in match_octal() argument
219 return match_number(s, result, 8); in match_octal()
[all …]
Dbsearch.c35 int result; in bsearch() local
39 result = cmp(key, pivot); in bsearch()
41 if (result == 0) in bsearch()
44 if (result > 0) { in bsearch()
Dtest_hexdump.c72 const char * const *result; in test_hexdump_prepare_test() local
88 result = is_be ? test_data_8_be : test_data_8_le; in test_hexdump_prepare_test()
90 result = is_be ? test_data_4_be : test_data_4_le; in test_hexdump_prepare_test()
92 result = is_be ? test_data_2_be : test_data_2_le; in test_hexdump_prepare_test()
94 result = test_data_1; in test_hexdump_prepare_test()
99 const char *q = *result++; in test_hexdump_prepare_test()
Dassoc_array.c173 struct assoc_array_walk_result *result) in assoc_array_walk() argument
218 result->terminal_node.node = node; in assoc_array_walk()
219 result->terminal_node.level = level; in assoc_array_walk()
220 result->terminal_node.slot = slot; in assoc_array_walk()
270 result->wrong_shortcut.shortcut = shortcut; in assoc_array_walk()
271 result->wrong_shortcut.level = level; in assoc_array_walk()
272 result->wrong_shortcut.sc_level = sc_level; in assoc_array_walk()
273 result->wrong_shortcut.sc_segments = sc_segments; in assoc_array_walk()
274 result->wrong_shortcut.dissimilarity = dissimilarity; in assoc_array_walk()
308 struct assoc_array_walk_result result; in assoc_array_find() local
[all …]
Drandom32.c308 u32 result; member
319 u32 result; member
435 if (test1[i].result != prandom_u32_state(&state)) in prandom_state_selftest()
453 if (test2[i].result != prandom_u32_state(&state)) in prandom_state_selftest()
Dbitmap.c176 unsigned long result = 0; in __bitmap_and() local
179 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
181 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
183 return result != 0; in __bitmap_and()
214 unsigned long result = 0; in __bitmap_andnot() local
217 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
219 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
221 return result != 0; in __bitmap_andnot()
Dtest_bitmap.c97 int result = 0; \
102 result = 1; \
104 result; \
Dvsprintf.c63 unsigned long long result; in simple_strtoull() local
67 rv = _parse_integer(cp, base, &result); in simple_strtoull()
74 return result; in simple_strtoull()
DKconfig.debug332 most likely result in an oops.
343 This option tells gcc to inline less (but it does result in
983 anything erroneous after an oops which could result in data
1037 This is to ensure no erroneous behaviour occurs which could result in
1300 result in dmesg getting spammed for a surprisingly long
1598 with given return value. As a result, function caller will see
Dtest_bpf.c77 __u32 result; member
6688 test->test[i].result == 0) in run_one()
6700 if (ret == test->test[i].result) { in run_one()
6704 test->test[i].result); in run_one()
/lib/lz4/
Dlz4_decompress.c581 int result; in LZ4_decompress_safe_continue() local
586 result = LZ4_decompress_safe(source, dest, in LZ4_decompress_safe_continue()
588 if (result <= 0) in LZ4_decompress_safe_continue()
589 return result; in LZ4_decompress_safe_continue()
590 lz4sd->prefixSize = result; in LZ4_decompress_safe_continue()
591 lz4sd->prefixEnd = (BYTE *)dest + result; in LZ4_decompress_safe_continue()
595 result = LZ4_decompress_safe_withPrefix64k(source, dest, in LZ4_decompress_safe_continue()
598 result = LZ4_decompress_safe_withSmallPrefix(source, in LZ4_decompress_safe_continue()
602 result = LZ4_decompress_safe_doubleDict(source, dest, in LZ4_decompress_safe_continue()
606 if (result <= 0) in LZ4_decompress_safe_continue()
[all …]
Dlz4_compress.c896 int result; in LZ4_compress_fast_continue() local
900 result = LZ4_compress_generic( in LZ4_compress_fast_continue()
905 result = LZ4_compress_generic( in LZ4_compress_fast_continue()
912 return result; in LZ4_compress_fast_continue()
917 int result; in LZ4_compress_fast_continue() local
921 result = LZ4_compress_generic( in LZ4_compress_fast_continue()
926 result = LZ4_compress_generic( in LZ4_compress_fast_continue()
934 return result; in LZ4_compress_fast_continue()
/lib/math/
Dint_pow.c21 u64 result = 1; in int_pow() local
25 result *= base; in int_pow()
30 return result; in int_pow()
Dprime_numbers.c224 bool result; in is_prime_number() local
237 result = test_bit(x, p->primes); in is_prime_number()
240 return result; in is_prime_number()
/lib/zstd/
Dbitstream.h359 BIT_DStream_status result = BIT_DStream_unfinished; in BIT_reloadDStream() local
362 result = BIT_DStream_endOfBuffer; in BIT_reloadDStream()
367 return result; in BIT_reloadDStream()
Ddecompress.c374 size_t const result = ZSTD_getFrameParams(&(dctx->fParams), src, headerSize); in ZSTD_decodeFrameHeader() local
375 if (ZSTD_isError(result)) in ZSTD_decodeFrameHeader()
376 return result; /* invalid header */ in ZSTD_decodeFrameHeader()
377 if (result > 0) in ZSTD_decodeFrameHeader()
Dcompress.c3227 size_t const result = in ZSTD_compressStream() local
3231 return result; in ZSTD_compressStream()
3242 …size_t const result = ZSTD_compressStream_generic(zcs, (char *)(output->dst) + output->pos, &sizeW… in ZSTD_flushStream() local
3246 if (ZSTD_isError(result)) in ZSTD_flushStream()
3247 return result; in ZSTD_flushStream()
/lib/raid6/
Ds390vx.uc29 * vector register y left by 1 bit and stores the result in
40 * or 0x00 if the high bit is 0. The result is stored in vector