/lib/ |
D | string_helpers.c | 62 goto out; in string_get_size() 122 out: in string_get_size() 270 char *out = dst; in string_unescape() local 278 unescape_space(&src, &out)) in string_unescape() 282 unescape_octal(&src, &out)) in string_unescape() 286 unescape_hex(&src, &out)) in string_unescape() 290 unescape_special(&src, &out)) in string_unescape() 293 *out++ = '\\'; in string_unescape() 295 *out++ = *src++; in string_unescape() 297 *out = '\0'; in string_unescape() [all …]
|
D | test-string_helpers.c | 36 const char *out; member 43 .out = "\f\\ \n\r\t\v", 48 .out = " \001\00387\0064\005 \\8aH?7", 53 .out = "\\xv\n,\ro2", 58 .out = "\\h\\\"\a\e\\", 73 goto out; in test_string_unescape() 85 s = strings[i].out; in test_string_unescape() 86 len = strlen(strings[i].out); in test_string_unescape() 108 out: in test_string_unescape() 115 const char *out; member [all …]
|
D | kfifo.c | 21 return (fifo->mask + 1) - (fifo->in - fifo->out); in kfifo_unused() 34 fifo->out = 0; in __kfifo_alloc() 59 fifo->out = 0; in __kfifo_free() 75 fifo->out = 0; in __kfifo_init() 157 l = fifo->in - fifo->out; in __kfifo_out_peek() 161 kfifo_copy_out(fifo, buf, len, fifo->out); in __kfifo_out_peek() 170 fifo->out += len; in __kfifo_out() 281 l = fifo->in - fifo->out; in __kfifo_to_user() 284 ret = kfifo_copy_to_user(fifo, to, len, fifo->out, copied); in __kfifo_to_user() 290 fifo->out += len; in __kfifo_to_user() [all …]
|
D | smp_processor_id.c | 17 goto out; in check_preemption_disabled() 20 goto out; in check_preemption_disabled() 27 goto out; in check_preemption_disabled() 33 goto out; in check_preemption_disabled() 51 out: in check_preemption_disabled()
|
D | test_memcat_p.c | 24 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()
|
D | decompress_unxz.c | 254 unsigned char *out, long *in_used, in unxz() argument 278 b.out = out; in unxz() 282 b.out = malloc(XZ_IOBUF_SIZE); in unxz() 283 if (b.out == NULL) in unxz() 332 if (flush(b.out, b.out_pos) != (long)b.out_pos) in unxz() 343 free(b.out); in unxz() 383 free(b.out); in unxz()
|
D | test_firmware.c | 180 goto out; in __test_firmware_config_init() 192 out: in __test_firmware_config_init() 212 goto out; in reset_store() 218 out: in reset_store() 386 goto out; in config_num_requests_store() 393 out: in config_num_requests_store() 496 goto out; in trigger_request_store() 501 out: in trigger_request_store() 539 goto out; in trigger_async_request_store() 554 out: in trigger_async_request_store() [all …]
|
D | kobject_uevent.c | 75 goto out; in kobject_action_type() 95 out: in kobject_action_type() 135 goto out; in kobject_action_args() 146 goto out; in kobject_action_args() 151 goto out; in kobject_action_args() 156 goto out; in kobject_action_args() 161 goto out; in kobject_action_args() 166 goto out; in kobject_action_args() 170 goto out; in kobject_action_args() 174 out: in kobject_action_args() [all …]
|
D | debugobjects.c | 1162 goto out; in check_results() 1167 goto out; in check_results() 1172 goto out; in check_results() 1177 goto out; in check_results() 1180 out: in check_results() 1211 goto out; in debug_objects_selftest() 1214 goto out; in debug_objects_selftest() 1217 goto out; in debug_objects_selftest() 1220 goto out; in debug_objects_selftest() 1223 goto out; in debug_objects_selftest() [all …]
|
D | inflate.c | 387 goto out; in huft_build() 414 goto out; in huft_build() 418 goto out; in huft_build() 494 goto out; in huft_build() 560 out: in huft_build() 882 goto out; in inflate_dynamic() 906 goto out; in inflate_dynamic() 930 goto out; in inflate_dynamic() 942 goto out; in inflate_dynamic() 955 goto out; in inflate_dynamic() [all …]
|
D | test_static_keys.c | 215 goto out; in test_key_func() 220 goto out; in test_key_func() 225 goto out; in test_key_func() 227 out: in test_key_func()
|
D | kobject.c | 509 goto out; in kobject_rename() 514 goto out; in kobject_rename() 523 goto out; in kobject_rename() 528 goto out; in kobject_rename() 539 out: in kobject_rename() 575 goto out; in kobject_move() 580 goto out; in kobject_move() 587 goto out; in kobject_move() 593 out: in kobject_move() 1023 goto out; in kobj_ns_type_register() [all …]
|
D | chacha.c | 102 void hchacha_block(const u32 *in, u32 *out, int nrounds) in hchacha_block() argument 110 memcpy(&out[0], &x[0], 16); in hchacha_block() 111 memcpy(&out[4], &x[12], 16); in hchacha_block()
|
D | test_kmod.c | 537 goto out; in trigger_config_run() 556 out: in trigger_config_run() 582 goto out; in trigger_config_store() 594 out: in trigger_config_store() 860 goto out; in reset_store() 866 out: in reset_store() 1147 goto out; in register_test_dev_kmod() 1152 goto out; in register_test_dev_kmod() 1158 goto out; in register_test_dev_kmod() 1167 out: in register_test_dev_kmod()
|
D | Kconfig.kasan | 22 designed to find out-of-bounds accesses and use-after-free bugs. 48 out-of-bounds accesses for stack and global variables and for inline 51 out-of-bounds accesses for global variables yet. 142 (use-after-free or out-of-bounds) at the cost of increased 150 out of bounds accesses, use after free. It is useful for testing
|
/lib/zlib_inflate/ |
D | inffast.c | 93 unsigned char *out; /* local strm->next_out */ in inflate_fast() local 120 out = strm->next_out - OFF; in inflate_fast() 121 beg = out - (start - strm->avail_out); in inflate_fast() 122 end = out + (strm->avail_out - 257); in inflate_fast() 153 PUP(out) = (unsigned char)(this.val); in inflate_fast() 200 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast() 214 PUP(out) = PUP(from); in inflate_fast() 216 from = out - dist; /* rest from output */ in inflate_fast() 225 PUP(out) = PUP(from); in inflate_fast() 232 PUP(out) = PUP(from); in inflate_fast() [all …]
|
D | inflate.c | 101 static void zlib_updatewindow(z_streamp strm, unsigned out) in zlib_updatewindow() argument 109 copy = out - strm->avail_out; in zlib_updatewindow() 325 unsigned in, out; /* save starting available input and output */ in zlib_inflate() local 347 out = left; in zlib_inflate() 567 inflate_fast(strm, out); in zlib_inflate() 651 if (state->offset > state->whave + out - left) { in zlib_inflate() 660 copy = out - left; in zlib_inflate() 692 out -= left; in zlib_inflate() 693 strm->total_out += out; in zlib_inflate() 694 state->total += out; in zlib_inflate() [all …]
|
/lib/842/ |
D | 842_decompress.c | 54 u8 *out; member 145 put_unaligned(cpu_to_be16((u16)v), (__be16 *)p->out); in do_data() 148 put_unaligned(cpu_to_be32((u32)v), (__be32 *)p->out); in do_data() 151 put_unaligned(cpu_to_be64((u64)v), (__be64 *)p->out); in do_data() 157 p->out += n; in do_data() 165 u64 index, offset, total = round_down(p->out - p->ostart, 8); in __do_index() 205 memcpy(p->out, &p->ostart[offset], size); in __do_index() 206 p->out += size; in __do_index() 278 u8 *out, unsigned int *olen) in sw842_decompress() argument 288 p.out = out; in sw842_decompress() [all …]
|
D | 842_compress.c | 92 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() 199 put_unaligned(cpu_to_be32(o << 24 | d << 8), (__be32 *)out); in add_bits() 201 put_unaligned(cpu_to_be32(o << 24 | d), (__be32 *)out); in add_bits() 203 put_unaligned(cpu_to_be64(o << 56 | d << 24), (__be64 *)out); in add_bits() 205 put_unaligned(cpu_to_be64(o << 56 | d << 16), (__be64 *)out); in add_bits() 207 put_unaligned(cpu_to_be64(o << 56 | d << 8), (__be64 *)out); in add_bits() [all …]
|
/lib/lzo/ |
D | lzo1x_decompress_safe.c | 27 #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()
|
D | lzo1x_compress.c | 23 unsigned char *out, size_t *out_len, in lzo1x_1_do_compress() argument 34 op = out; in lzo1x_1_do_compress() 287 *out_len = op - out; in lzo1x_1_do_compress() 292 unsigned char *out, size_t *out_len, in lzogeneric1x_1_compress() argument 296 unsigned char *op = out; in lzogeneric1x_1_compress() 364 *out_len = op - out; in lzogeneric1x_1_compress() 369 unsigned char *out, size_t *out_len, in lzo1x_1_compress() argument 372 return lzogeneric1x_1_compress(in, in_len, out, out_len, wrkmem, 0); in lzo1x_1_compress() 376 unsigned char *out, size_t *out_len, in lzorle1x_1_compress() argument 379 return lzogeneric1x_1_compress(in, in_len, out, out_len, in lzorle1x_1_compress()
|
/lib/crypto/ |
D | aes.c | 258 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_encrypt() argument 296 put_unaligned_le32(subshift(st1, 0) ^ rkp[4], out); in aes_encrypt() 297 put_unaligned_le32(subshift(st1, 1) ^ rkp[5], out + 4); in aes_encrypt() 298 put_unaligned_le32(subshift(st1, 2) ^ rkp[6], out + 8); in aes_encrypt() 299 put_unaligned_le32(subshift(st1, 3) ^ rkp[7], out + 12); in aes_encrypt() 309 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in) in aes_decrypt() argument 347 put_unaligned_le32(inv_subshift(st1, 0) ^ rkp[4], out); in aes_decrypt() 348 put_unaligned_le32(inv_subshift(st1, 1) ^ rkp[5], out + 4); in aes_decrypt() 349 put_unaligned_le32(inv_subshift(st1, 2) ^ rkp[6], out + 8); in aes_decrypt() 350 put_unaligned_le32(inv_subshift(st1, 3) ^ rkp[7], out + 12); in aes_decrypt()
|
D | arc4.c | 37 void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len) in arc4_crypt() argument 61 *out++ = *in++ ^ S[a]; in arc4_crypt()
|
/lib/zstd/ |
D | fse_compress.c | 207 BYTE *out = ostart; in FSE_writeNCount_generic() local 237 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 239 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic() 240 out[1] = (BYTE)(bitStream >> 8); in FSE_writeNCount_generic() 241 out += 2; in FSE_writeNCount_generic() 252 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() 254 out[0] = (BYTE)bitStream; in FSE_writeNCount_generic() 255 out[1] = (BYTE)(bitStream >> 8); in FSE_writeNCount_generic() 256 out += 2; in FSE_writeNCount_generic() 278 if ((!writeIsSafe) && (out > oend - 2)) in FSE_writeNCount_generic() [all …]
|
/lib/xz/ |
D | xz_dec_bcj.c | 51 uint8_t *out; member 404 memcpy(b->out + b->out_pos, s->temp.buf, copy_size); in bcj_flush() 451 memcpy(b->out + b->out_pos, s->temp.buf, s->temp.size); in xz_dec_bcj_run() 459 bcj_apply(s, b->out, &out_start, b->out_pos); in xz_dec_bcj_run() 471 memcpy(s->temp.buf, b->out + b->out_pos, s->temp.size); in xz_dec_bcj_run() 492 s->out = b->out; in xz_dec_bcj_run() 495 b->out = s->temp.buf; in xz_dec_bcj_run() 502 b->out = s->out; in xz_dec_bcj_run()
|