Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 91) sorted by relevance

1234

/lib/tests/
A Dstring_helpers_kunit.c27 const char *out; member
34 .out = "\f\\ \n\r\t\v",
44 .out = "\\xv\n,\ro2",
49 .out = "\\h\\\"\a\e\\",
78 s = strings[i].out; in test_string_unescape()
104 const char *out; member
118 .out = "\\f\\ \\n\\r\\t\\v",
390 return s1->out; in test_string_find_match()
421 const char *out; in test_string_escape() local
438 if (!out) in test_string_escape()
[all …]
/lib/
A Dstring_helpers.c128 out: in string_get_size()
398 ++out; in escape_space()
401 ++out; in escape_space()
431 ++out; in escape_special()
434 ++out; in escape_special()
449 ++out; in escape_null()
452 ++out; in escape_null()
464 ++out; in escape_octal()
467 ++out; in escape_octal()
470 ++out; in escape_octal()
[all …]
A Ddecompress_unzstd.c138 goto out; in decompress_single()
147 goto out; in decompress_single()
153 goto out; in decompress_single()
159 out: in decompress_single()
220 goto out; in __unzstd()
252 goto out; in __unzstd()
256 goto out; in __unzstd()
261 goto out; in __unzstd()
274 goto out; in __unzstd()
309 if (out.pos != flush(out.dst, out.pos)) { in __unzstd()
[all …]
A Dkfifo.c35 fifo->out = 0; in __kfifo_alloc()
60 fifo->out = 0; in __kfifo_free()
76 fifo->out = 0; in __kfifo_init()
158 l = fifo->in - fifo->out; in __kfifo_out_peek()
184 fifo->out += len; in __kfifo_out()
295 l = fifo->in - fifo->out; in __kfifo_to_user()
304 fifo->out += len; in __kfifo_to_user()
370 l = fifo->in - fifo->out; in __kfifo_dma_out_prepare()
389 ((data)[(out) & (mask)])
494 fifo->out += n + recsize; in __kfifo_out_r()
[all …]
A Dsmp_processor_id.c17 goto out; in check_preemption_disabled()
20 goto out; in check_preemption_disabled()
23 goto out; in check_preemption_disabled()
26 goto out; in check_preemption_disabled()
32 goto out; in check_preemption_disabled()
52 out: in check_preemption_disabled()
A Ddecompress_unxz.c261 unsigned char *out, long *in_used, in unxz() argument
285 b.out = out; in unxz()
289 b.out = malloc(XZ_IOBUF_SIZE); in unxz()
290 if (b.out == NULL) in unxz()
339 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz()
350 free(b.out); in unxz()
390 free(b.out); in unxz()
408 unsigned char *out, long out_size, in __decompress() argument
412 return unxz(in, in_size, fill, flush, out, in_used, error); in __decompress()
A Dtest_memcat_p.c24 struct test_struct **in0, **in1, **out, **p; in test_memcat_p_init() local
56 out = memcat_p(in0, in1); in test_memcat_p_init()
57 if (!out) in test_memcat_p_init()
61 for (i = 0, p = out; *p && (i < INPUT_MAX * 2 - 1); p++, i++) { in test_memcat_p_init()
83 if (out[i] != in0[i] || out[i + INPUT_MAX - 1] != in1[i]) { in test_memcat_p_init()
92 kfree(out); in test_memcat_p_init()
A Dtest_firmware.c244 out: in __test_firmware_config_init()
270 out: in reset_store()
504 out: in config_num_requests_store()
551 out: in config_buf_size_store()
581 out: in config_file_offset_store()
691 out: in trigger_request_store()
747 out: in trigger_request_platform_store()
804 out: in trigger_async_request_store()
850 out: in trigger_custom_fallback_store()
1096 out: in trigger_batched_requests_async_store()
[all …]
A Dkobject_uevent.c74 goto out; in kobject_action_type()
94 out: in kobject_action_type()
134 goto out; in kobject_action_args()
145 goto out; in kobject_action_args()
150 goto out; in kobject_action_args()
173 out: in kobject_action_args()
203 goto out; in kobject_synth_uevent()
208 goto out; in kobject_synth_uevent()
215 goto out; in kobject_synth_uevent()
219 goto out; in kobject_synth_uevent()
[all …]
/lib/zlib_inflate/
A Dinffast.c99 out = strm->next_out; in inflate_fast()
101 end = out + (strm->avail_out - 257); in inflate_fast()
246 if (!((long)(out - 1) & 1)) { in inflate_fast()
247 *out++ = *from++; in inflate_fast()
250 sout = (unsigned short *)(out); in inflate_fast()
262 out = (unsigned char *)sout; in inflate_fast()
279 out = (unsigned char *)sout; in inflate_fast()
282 *out++ = *from++; in inflate_fast()
308 } while (in < last && out < end); in inflate_fast()
318 strm->next_out = out; in inflate_fast()
[all …]
A Dinflate.c128 copy = out - strm->avail_out; in zlib_updatewindow()
361 out = left; in zlib_inflate()
675 copy = out - left; in zlib_inflate()
707 out -= left; in zlib_inflate()
709 state->total += out; in zlib_inflate()
712 UPDATE(state->check, put - out, out); in zlib_inflate()
713 out = left; in zlib_inflate()
749 out -= strm->avail_out; in zlib_inflate()
751 strm->total_out += out; in zlib_inflate()
752 state->total += out; in zlib_inflate()
[all …]
/lib/842/
A D842_decompress.c54 u8 *out; member
157 p->out += n; in do_data()
206 p->out += size; in __do_index()
288 p.out = out; in sw842_decompress()
289 p.ostart = out; in sw842_decompress()
309 if (p.out == out) /* no previous bytes */ in sw842_decompress()
319 memcpy(p.out, p.out - 8, 8); in sw842_decompress()
320 p.out += 8; in sw842_decompress()
333 p.out += 8; in sw842_decompress()
352 *p.out = (u8)tmp; in sw842_decompress()
[all …]
A D842_compress.c92 u8 *out; member
171 u8 *out = p->out; in add_bits() local
191 o = *out & bmask[b]; in add_bits()
195 *out = o | d; in add_bits()
197 put_unaligned(cpu_to_be16(o << 8 | d), (__be16 *)out); in add_bits()
214 p->out += p->bit / 8; in add_bits()
478 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument
495 p->out = out; in sw842_compress()
590 p->out++; in sw842_compress()
600 memset(p->out, 0, pad); in sw842_compress()
[all …]
/lib/crypto/
A Dcurve25519-fiat32.c151 out[0] = x52; in fe_freeze()
152 out[1] = x56; in fe_freeze()
153 out[2] = x60; in fe_freeze()
154 out[3] = x64; in fe_freeze()
155 out[4] = x68; in fe_freeze()
156 out[5] = x72; in fe_freeze()
157 out[6] = x76; in fe_freeze()
158 out[7] = x80; in fe_freeze()
159 out[8] = x84; in fe_freeze()
160 out[9] = x88; in fe_freeze()
[all …]
A Dsha256.c211 u8 *out, size_t digest_size) in __sha256_final() argument
250 sha224_final(&ctx, out); in sha224()
260 sha256_final(&ctx, out); in sha256()
342 u8 *out, size_t digest_size) in __hmac_sha256_final() argument
361 u8 out[SHA224_DIGEST_SIZE]) in hmac_sha224_final()
381 hmac_sha224_final(&ctx, out); in hmac_sha224()
392 hmac_sha256_final(&ctx, out); in hmac_sha256()
398 u8 out[SHA224_DIGEST_SIZE]) in hmac_sha224_usingrawkey()
404 hmac_sha224_final(&ctx, out); in hmac_sha224_usingrawkey()
410 u8 out[SHA256_DIGEST_SIZE]) in hmac_sha256_usingrawkey()
[all …]
A Dsha512.c197 u8 *out, size_t digest_size) in __sha512_final() argument
238 sha384_final(&ctx, out); in sha384()
248 sha512_final(&ctx, out); in sha512()
330 u8 *out, size_t digest_size) in __hmac_sha512_final() argument
349 u8 out[SHA384_DIGEST_SIZE]) in hmac_sha384_final()
369 hmac_sha384_final(&ctx, out); in hmac_sha384()
380 hmac_sha512_final(&ctx, out); in hmac_sha512()
386 u8 out[SHA384_DIGEST_SIZE]) in hmac_sha384_usingrawkey()
392 hmac_sha384_final(&ctx, out); in hmac_sha384_usingrawkey()
398 u8 out[SHA512_DIGEST_SIZE]) in hmac_sha512_usingrawkey()
[all …]
A Dsha1.c202 static void __sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in __sha1_final()
218 put_unaligned_be32(ctx->state.h[i / 4], out + i); in __sha1_final()
221 void sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]) in sha1_final()
223 __sha1_final(ctx, out); in sha1_final()
228 void sha1(const u8 *data, size_t len, u8 out[SHA1_DIGEST_SIZE]) in sha1()
234 sha1_final(&ctx, out); in sha1()
304 put_unaligned_be32(ctx->ostate.h[i / 4], out + i); in hmac_sha1_final()
311 const u8 *data, size_t data_len, u8 out[SHA1_DIGEST_SIZE]) in hmac_sha1()
317 hmac_sha1_final(&ctx, out); in hmac_sha1()
323 u8 out[SHA1_DIGEST_SIZE]) in hmac_sha1_usingrawkey()
[all …]
A Daes.c259 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt() argument
297 put_unaligned_le32(subshift(st1, 0) ^ rkp[4], out); in aes_encrypt()
298 put_unaligned_le32(subshift(st1, 1) ^ rkp[5], out + 4); in aes_encrypt()
299 put_unaligned_le32(subshift(st1, 2) ^ rkp[6], out + 8); in aes_encrypt()
300 put_unaligned_le32(subshift(st1, 3) ^ rkp[7], out + 12); in aes_encrypt()
310 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt() argument
348 put_unaligned_le32(inv_subshift(st1, 0) ^ rkp[4], out); in aes_decrypt()
349 put_unaligned_le32(inv_subshift(st1, 1) ^ rkp[5], out + 4); in aes_decrypt()
350 put_unaligned_le32(inv_subshift(st1, 2) ^ rkp[6], out + 8); in aes_decrypt()
351 put_unaligned_le32(inv_subshift(st1, 3) ^ rkp[7], out + 12); in aes_decrypt()
A Dcurve25519-selftest.c1288 u8 out[CURVE25519_KEY_SIZE], out2[CURVE25519_KEY_SIZE], in curve25519_selftest() local
1292 memset(out, 0, CURVE25519_KEY_SIZE); in curve25519_selftest()
1293 ret = curve25519(out, curve25519_test_vectors[i].private, in curve25519_selftest()
1296 memcmp(out, curve25519_test_vectors[i].result, in curve25519_selftest()
1305 ret = curve25519_generate_public(out, in); in curve25519_selftest()
1309 memcmp(out, out2, CURVE25519_KEY_SIZE) || in curve25519_selftest()
1310 memcmp(out, out3, CURVE25519_KEY_SIZE)) { in curve25519_selftest()
A Dchacha.c78 u8 out[CHACHA_BLOCK_SIZE], int nrounds) in chacha_block_generic()
87 &out[i * sizeof(u32)]); in chacha_block_generic()
105 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_generic()
111 memcpy(&out[0], &permuted_state.x[0], 16); in hchacha_block_generic()
112 memcpy(&out[4], &permuted_state.x[12], 16); in hchacha_block_generic()
/lib/zstd/compress/
A Dfse_compress.c240 BYTE* out = ostart; in FSE_writeNCount_generic() local
273 out+=2; in FSE_writeNCount_generic()
286 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
288 out += 2; in FSE_writeNCount_generic()
308 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
310 out += 2; in FSE_writeNCount_generic()
322 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic()
323 out[1] = (BYTE)(bitStream>>8); in FSE_writeNCount_generic()
324 out+= (bitCount+7) /8; in FSE_writeNCount_generic()
326 assert(out >= ostart); in FSE_writeNCount_generic()
[all …]
/lib/lzo/
A Dlzo1x_decompress_safe.c27 #define TEST_LB(m_pos) if ((m_pos) < out) goto lookbehind_overrun
40 unsigned char *out, size_t *out_len) in lzo1x_decompress_safe() argument
48 unsigned char * const op_end = out + *out_len; in lzo1x_decompress_safe()
52 op = out; in lzo1x_decompress_safe()
273 *out_len = op - out; in lzo1x_decompress_safe()
279 *out_len = op - out; in lzo1x_decompress_safe()
283 *out_len = op - out; in lzo1x_decompress_safe()
287 *out_len = op - out; in lzo1x_decompress_safe()
A Dlzo1x_compress.c33 unsigned char **out, unsigned char *op_end, in LZO_SAFE()
46 op = *out; in LZO_SAFE()
327 *out = op; in LZO_SAFE()
337 unsigned char *out, size_t *out_len, in LZO_SAFE()
340 unsigned char * const op_end = out + *out_len; in LZO_SAFE()
342 unsigned char *op = out; in LZO_SAFE()
421 *out_len = op - out; in LZO_SAFE()
429 unsigned char *out, size_t *out_len, in LZO_SAFE()
433 in, in_len, out, out_len, wrkmem, 0); in LZO_SAFE()
437 unsigned char *out, size_t *out_len, in LZO_SAFE()
[all …]
/lib/crypto/arm/
A Dchacha-glue.c26 u32 out[HCHACHA_OUT_WORDS], int nrounds);
28 u32 out[HCHACHA_OUT_WORDS], int nrounds);
68 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_arch()
71 hchacha_block_arm(state, out, nrounds); in hchacha_block_arch()
74 hchacha_block_neon(state, out, nrounds); in hchacha_block_arch()
/lib/crypto/arm64/
A Dchacha-neon-glue.c37 u32 out[HCHACHA_OUT_WORDS], int nrounds);
65 u32 out[HCHACHA_OUT_WORDS], int nrounds) in hchacha_block_arch()
68 hchacha_block_generic(state, out, nrounds); in hchacha_block_arch()
71 hchacha_block_neon(state, out, nrounds); in hchacha_block_arch()

Completed in 63 milliseconds

1234