Home
last modified time | relevance | path

Searched refs:result (Results 1 – 18 of 18) 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 …]
Dparser.c128 static int match_number(substring_t *s, int *result, int base) in match_number() argument
149 *result = (int) val; in match_number()
164 static int match_u64int(substring_t *s, u64 *result, int base) in match_u64int() argument
179 *result = val; in match_u64int()
193 int match_int(substring_t *s, int *result) in match_int() argument
195 return match_number(s, result, 0); in match_int()
210 int match_u64(substring_t *s, u64 *result) in match_u64() argument
212 return match_u64int(s, result, 0); in match_u64()
225 int match_octal(substring_t *s, int *result) in match_octal() argument
227 return match_number(s, result, 8); in match_octal()
[all …]
Dbsearch.c38 int result; in bsearch() local
42 result = cmp(key, pivot); in bsearch()
44 if (result == 0) in bsearch()
47 if (result > 0) { in bsearch()
Dtest_hexdump.c55 const char * const *result; in test_hexdump_prepare_test() local
70 result = test_data_8_le; in test_hexdump_prepare_test()
72 result = test_data_4_le; in test_hexdump_prepare_test()
74 result = test_data_2_le; in test_hexdump_prepare_test()
76 result = test_data_1_le; in test_hexdump_prepare_test()
81 const char *q = *result++; in test_hexdump_prepare_test()
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 …]
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.c161 unsigned long result = 0; in __bitmap_and() local
164 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
166 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
168 return result != 0; in __bitmap_and()
199 unsigned long result = 0; in __bitmap_andnot() local
202 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
204 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
206 return result != 0; in __bitmap_andnot()
Dprime_numbers.c223 bool result; in is_prime_number() local
236 result = test_bit(x, p->primes); in is_prime_number()
239 return result; in is_prime_number()
Dtest_bitmap.c95 int result = 0; \
100 result = 1; \
102 result; \
Dvsprintf.c61 unsigned long long result; in simple_strtoull() local
65 rv = _parse_integer(cp, base, &result); in simple_strtoull()
72 return result; in simple_strtoull()
DKconfig.debug315 most likely result in an oops.
326 This option tells gcc to inline less (but it does result in
946 anything erroneous after an oops which could result in data
1000 This is to ensure no erroneous behaviour occurs which could result in
1267 result in dmesg getting spammed for a surprisingly long
Dtest_bpf.c83 __u32 result; member
6310 test->test[i].result == 0) in run_one()
6322 if (ret == test->test[i].result) { in run_one()
6326 test->test[i].result); in run_one()
/lib/lz4/
Dlz4_decompress.c386 int result; in LZ4_decompress_safe_continue() local
389 result = LZ4_decompress_generic(source, dest, in LZ4_decompress_safe_continue()
397 if (result <= 0) in LZ4_decompress_safe_continue()
398 return result; in LZ4_decompress_safe_continue()
400 lz4sd->prefixSize += result; in LZ4_decompress_safe_continue()
401 lz4sd->prefixEnd += result; in LZ4_decompress_safe_continue()
405 result = LZ4_decompress_generic(source, dest, in LZ4_decompress_safe_continue()
410 if (result <= 0) in LZ4_decompress_safe_continue()
411 return result; in LZ4_decompress_safe_continue()
412 lz4sd->prefixSize = result; 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/zstd/
Dbitstream.h354 BIT_DStream_status result = BIT_DStream_unfinished; in BIT_reloadDStream() local
357 result = BIT_DStream_endOfBuffer; in BIT_reloadDStream()
362 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.c3226 size_t const result = in ZSTD_compressStream() local
3230 return result; in ZSTD_compressStream()
3241 …size_t const result = ZSTD_compressStream_generic(zcs, (char *)(output->dst) + output->pos, &sizeW… in ZSTD_flushStream() local
3245 if (ZSTD_isError(result)) in ZSTD_flushStream()
3246 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