/third_party/gstreamer/gstplugins_base/gst-libs/gst/fft/ |
D | kiss_fft_f32.c | 41 kiss_fft_f32_cpx scratch[6]; in kf_bfly4() local 55 C_MUL (scratch[0], Fout[m], *tw1); in kf_bfly4() 56 C_MUL (scratch[1], Fout[m2], *tw2); in kf_bfly4() 57 C_MUL (scratch[2], Fout[m3], *tw3); in kf_bfly4() 59 C_SUB (scratch[5], *Fout, scratch[1]); in kf_bfly4() 60 C_ADDTO (*Fout, scratch[1]); in kf_bfly4() 61 C_ADD (scratch[3], scratch[0], scratch[2]); in kf_bfly4() 62 C_SUB (scratch[4], scratch[0], scratch[2]); in kf_bfly4() 63 C_SUB (Fout[m2], *Fout, scratch[3]); in kf_bfly4() 67 C_ADDTO (*Fout, scratch[3]); in kf_bfly4() [all …]
|
D | kiss_fft_s16.c | 41 kiss_fft_s16_cpx scratch[6]; in kf_bfly4() local 55 C_MUL (scratch[0], Fout[m], *tw1); in kf_bfly4() 56 C_MUL (scratch[1], Fout[m2], *tw2); in kf_bfly4() 57 C_MUL (scratch[2], Fout[m3], *tw3); in kf_bfly4() 59 C_SUB (scratch[5], *Fout, scratch[1]); in kf_bfly4() 60 C_ADDTO (*Fout, scratch[1]); in kf_bfly4() 61 C_ADD (scratch[3], scratch[0], scratch[2]); in kf_bfly4() 62 C_SUB (scratch[4], scratch[0], scratch[2]); in kf_bfly4() 63 C_SUB (Fout[m2], *Fout, scratch[3]); in kf_bfly4() 67 C_ADDTO (*Fout, scratch[3]); in kf_bfly4() [all …]
|
D | kiss_fft_f64.c | 41 kiss_fft_f64_cpx scratch[6]; in kf_bfly4() local 55 C_MUL (scratch[0], Fout[m], *tw1); in kf_bfly4() 56 C_MUL (scratch[1], Fout[m2], *tw2); in kf_bfly4() 57 C_MUL (scratch[2], Fout[m3], *tw3); in kf_bfly4() 59 C_SUB (scratch[5], *Fout, scratch[1]); in kf_bfly4() 60 C_ADDTO (*Fout, scratch[1]); in kf_bfly4() 61 C_ADD (scratch[3], scratch[0], scratch[2]); in kf_bfly4() 62 C_SUB (scratch[4], scratch[0], scratch[2]); in kf_bfly4() 63 C_SUB (Fout[m2], *Fout, scratch[3]); in kf_bfly4() 67 C_ADDTO (*Fout, scratch[3]); in kf_bfly4() [all …]
|
D | kiss_fft_s32.c | 41 kiss_fft_s32_cpx scratch[6]; in kf_bfly4() local 55 C_MUL (scratch[0], Fout[m], *tw1); in kf_bfly4() 56 C_MUL (scratch[1], Fout[m2], *tw2); in kf_bfly4() 57 C_MUL (scratch[2], Fout[m3], *tw3); in kf_bfly4() 59 C_SUB (scratch[5], *Fout, scratch[1]); in kf_bfly4() 60 C_ADDTO (*Fout, scratch[1]); in kf_bfly4() 61 C_ADD (scratch[3], scratch[0], scratch[2]); in kf_bfly4() 62 C_SUB (scratch[4], scratch[0], scratch[2]); in kf_bfly4() 63 C_SUB (Fout[m2], *Fout, scratch[3]); in kf_bfly4() 67 C_ADDTO (*Fout, scratch[3]); in kf_bfly4() [all …]
|
/third_party/openssl/crypto/modes/ |
D | xts128.c | 37 } tweak, scratch; in CRYPTO_xts128_encrypt() local 52 memcpy(scratch.c, inp, 16); in CRYPTO_xts128_encrypt() 53 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 54 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 56 scratch.u[0] = ((u64_a1 *)inp)[0] ^ tweak.u[0]; in CRYPTO_xts128_encrypt() 57 scratch.u[1] = ((u64_a1 *)inp)[1] ^ tweak.u[1]; in CRYPTO_xts128_encrypt() 59 (*ctx->block1) (scratch.c, scratch.c, ctx->key1); in CRYPTO_xts128_encrypt() 61 scratch.u[0] ^= tweak.u[0]; in CRYPTO_xts128_encrypt() 62 scratch.u[1] ^= tweak.u[1]; in CRYPTO_xts128_encrypt() 63 memcpy(out, scratch.c, 16); in CRYPTO_xts128_encrypt() [all …]
|
D | ccm128.c | 149 } scratch; in CRYPTO_ccm128_encrypt() local 185 (*block) (ctx->nonce.c, scratch.c, key); in CRYPTO_ccm128_encrypt() 188 temp.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt() 189 temp.u[1] ^= scratch.u[1]; in CRYPTO_ccm128_encrypt() 192 ((u64_a1 *)out)[0] = scratch.u[0] ^ ((u64_a1 *)inp)[0]; in CRYPTO_ccm128_encrypt() 193 ((u64_a1 *)out)[1] = scratch.u[1] ^ ((u64_a1 *)inp)[1]; in CRYPTO_ccm128_encrypt() 204 (*block) (ctx->nonce.c, scratch.c, key); in CRYPTO_ccm128_encrypt() 206 out[i] = scratch.c[i] ^ inp[i]; in CRYPTO_ccm128_encrypt() 212 (*block) (ctx->nonce.c, scratch.c, key); in CRYPTO_ccm128_encrypt() 213 ctx->cmac.u[0] ^= scratch.u[0]; in CRYPTO_ccm128_encrypt() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_scratch.c | 39 struct nouveau_scratch_state *scratch = in nouveau_get_scratch() local 40 &to_nouveau_context(ctx)->scratch; in nouveau_get_scratch() 43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) { in nouveau_get_scratch() 44 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 46 buf = scratch->buf + scratch->offset; in nouveau_get_scratch() 47 *offset = scratch->offset; in nouveau_get_scratch() 48 scratch->offset += size; in nouveau_get_scratch() 51 scratch->index = (scratch->index + 1) % NOUVEAU_SCRATCH_COUNT; in nouveau_get_scratch() 52 nouveau_bo_ref(scratch->bo[scratch->index], bo); in nouveau_get_scratch() 55 buf = scratch->buf = (*bo)->map; in nouveau_get_scratch() [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/ |
D | swr_scratch.cpp | 85 struct swr_scratch_buffers *scratch; in swr_init_scratch_buffers() local 87 scratch = CALLOC_STRUCT(swr_scratch_buffers); in swr_init_scratch_buffers() 88 ctx->scratch = scratch; in swr_init_scratch_buffers() 94 struct swr_scratch_buffers *scratch = ctx->scratch; in swr_destroy_scratch_buffers() local 96 if (scratch) { in swr_destroy_scratch_buffers() 97 AlignedFree(scratch->vs_constants.base); in swr_destroy_scratch_buffers() 98 AlignedFree(scratch->fs_constants.base); in swr_destroy_scratch_buffers() 99 AlignedFree(scratch->gs_constants.base); in swr_destroy_scratch_buffers() 100 AlignedFree(scratch->tcs_constants.base); in swr_destroy_scratch_buffers() 101 AlignedFree(scratch->tes_constants.base); in swr_destroy_scratch_buffers() [all …]
|
/third_party/toybox/lib/ |
D | tty.c | 162 int scan_key_getsize(char *scratch, int timeout_ms, unsigned *xx, unsigned *yy) in scan_key_getsize() argument 174 if (*scratch) { in scan_key_getsize() 180 scratch[(1+*scratch)&15] = 0; in scan_key_getsize() 181 sscanf(scratch+1, "\033%n[%n%3u%n;%n%3u%nR%n", pos, pos+1, &y, in scan_key_getsize() 185 *scratch = 0; in scan_key_getsize() 189 } else for (i=0; i<6; i++) if (pos[i]==*scratch) maybe = 1; in scan_key_getsize() 194 for (j = 0; j<*scratch; j++) if (scratch[j+1] != test[j]) break; in scan_key_getsize() 195 if (j == *scratch) { in scan_key_getsize() 199 *scratch = 0; in scan_key_getsize() 217 if (toys.signal>0 || 1 != read(0, scratch+1+*scratch, 1)) in scan_key_getsize() [all …]
|
/third_party/libuv/test/ |
D | test-random.c | 27 static char scratch[256]; variable 32 char zero[sizeof(scratch)]; in random_cb() 37 ASSERT(buf == (void*) scratch); in random_cb() 41 ASSERT(0 == memcmp(scratch, zero, sizeof(zero))); in random_cb() 43 ASSERT(buflen == sizeof(scratch)); in random_cb() 45 ASSERT(0 != memcmp(scratch, zero, sizeof(zero))); in random_cb() 57 ASSERT(UV_EINVAL == uv_random(loop, &req, scratch, sizeof(scratch), -1, in TEST_IMPL() 59 ASSERT(UV_E2BIG == uv_random(loop, &req, scratch, -1, -1, random_cb)); in TEST_IMPL() 61 ASSERT(0 == uv_random(loop, &req, scratch, 0, 0, random_cb)); in TEST_IMPL() 67 ASSERT(0 == uv_random(loop, &req, scratch, sizeof(scratch), 0, random_cb)); in TEST_IMPL()
|
/third_party/ffmpeg/libavformat/ |
D | segafilm.c | 92 unsigned char scratch[256]; in film_read_header() local 101 if (avio_read(pb, scratch, 16) != 16) in film_read_header() 103 data_offset = AV_RB32(&scratch[4]); in film_read_header() 104 film->version = AV_RB32(&scratch[8]); in film_read_header() 109 if (avio_read(pb, scratch, 20) != 20) in film_read_header() 118 if (avio_read(pb, scratch, 32) != 32) in film_read_header() 120 film->audio_samplerate = AV_RB16(&scratch[24]); in film_read_header() 121 film->audio_channels = scratch[21]; in film_read_header() 122 film->audio_bits = scratch[22]; in film_read_header() 123 if (scratch[23] == 2 && film->audio_channels > 0) in film_read_header() [all …]
|
D | ipmovie.c | 285 unsigned char scratch[1024]; in process_ipmovie_chunk() local 387 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 392 s->frame_pts_inc = ((uint64_t)AV_RL32(&scratch[0])) * AV_RL16(&scratch[4]); in process_ipmovie_chunk() 402 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 407 s->audio_sample_rate = AV_RL16(&scratch[4]); in process_ipmovie_chunk() 408 audio_flags = AV_RL16(&scratch[2]); in process_ipmovie_chunk() 441 if (avio_read(pb, scratch, opcode_size) != in process_ipmovie_chunk() 446 width = AV_RL16(&scratch[0]) * 8; in process_ipmovie_chunk() 447 height = AV_RL16(&scratch[2]) * 8; in process_ipmovie_chunk() 456 if (opcode_version < 2 || !AV_RL16(&scratch[6])) { in process_ipmovie_chunk() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/effectv/ |
D | gstaging.c | 117 scratching (scratch * scratches, gint scratch_lines, guint32 * dest, gint width, in scratching() 122 scratch *scratch; in scratching() local 125 scratch = &scratches[i]; in scratching() 127 if (scratch->life) { in scratching() 128 scratch->x = scratch->x + scratch->dx; in scratching() 130 if (scratch->x < 0 || scratch->x > width * 256) { in scratching() 131 scratch->life = 0; in scratching() 134 p = dest + (scratch->x >> 8); in scratching() 135 if (scratch->init) { in scratching() 136 y1 = scratch->init; in scratching() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
D | nouveau_buffer.c | 964 if (!nv->scratch.runout) in nouveau_scratch_runout_release() 968 nv->scratch.runout)) in nouveau_scratch_runout_release() 971 nv->scratch.end = 0; in nouveau_scratch_runout_release() 972 nv->scratch.runout = NULL; in nouveau_scratch_runout_release() 984 if (nv->scratch.runout) in nouveau_scratch_runout() 985 n = nv->scratch.runout->nr; in nouveau_scratch_runout() 988 nv->scratch.runout = REALLOC(nv->scratch.runout, n == 0 ? 0 : in nouveau_scratch_runout() 989 (sizeof(*nv->scratch.runout) + (n + 0) * sizeof(void *)), in nouveau_scratch_runout() 990 sizeof(*nv->scratch.runout) + (n + 1) * sizeof(void *)); in nouveau_scratch_runout() 991 nv->scratch.runout->nr = n + 1; in nouveau_scratch_runout() [all …]
|
D | nouveau_context.h | 51 } scratch; member 81 nv->scratch.wrap = nv->scratch.id; in nouveau_scratch_done() 82 if (unlikely(nv->scratch.runout)) in nouveau_scratch_done() 99 if (ctx->scratch.bo[i]) in nouveau_context_destroy() 100 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]); in nouveau_context_destroy()
|
/third_party/ffmpeg/libavcodec/ |
D | mlp.c | 125 uint32_t scratch = 0; in ff_mlp_calculate_parity() local 129 scratch ^= *buf; in ff_mlp_calculate_parity() 131 scratch ^= *((const uint32_t*)buf); in ff_mlp_calculate_parity() 133 scratch = xor_32_to_8(scratch); in ff_mlp_calculate_parity() 136 scratch ^= *buf; in ff_mlp_calculate_parity() 138 return scratch; in ff_mlp_calculate_parity()
|
/third_party/gstreamer/gstplugins_good/gst/monoscope/ |
D | convolve.c | 91 double *scratch; member 113 state->scratch = calloc (state->small * 3, sizeof (double)); in convolve_init() 126 free (state->scratch); in convolve_close() 161 convolve_run (stack_entry * top, unsigned size, double *scratch) in convolve_run() argument 191 s_left = scratch + size * 3; in convolve_run() 194 s_right = scratch + size * 4; in convolve_run() 244 double *mid = scratch + size * 4; in convolve_run() 289 double *scratch = state->scratch; in convolve_match() local 309 top[1].b.null = scratch; in convolve_match() 315 convolve_run (top, state->small, scratch); in convolve_match() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceRegistersARM32.h | 30 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 44 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 55 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 66 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 77 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ argument 117 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ in getNumGPRegs() argument 132 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ in getNumGPRs() argument 167 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ in getNumSRegs() argument 187 #define X(val, encode, name, cc_arg, scratch, preserved, stackptr, frameptr, \ in getNumDRegs() argument
|
D | IceRegistersX8632.h | 35 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 47 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 59 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 71 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 97 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getRegName() argument 110 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedGPR() argument 124 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedByteReg() argument 138 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in isXmm() argument 150 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedXmm() argument 164 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncoding() argument [all …]
|
D | IceRegistersX8664.h | 35 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 47 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 59 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 71 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ argument 82 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getRegName() argument 95 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedGPR() argument 109 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedByteReg() argument 123 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in isXmm() argument 135 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncodedXmm() argument 149 #define X(val, encode, name, base, scratch, preserved, stackptr, frameptr, \ in getEncoding() argument [all …]
|
/third_party/toybox/toys/example/ |
D | demo_scankey.c | 25 char c = 'X', scratch[16]; in demo_scankey_main() local 29 memset(scratch, 0, 16); in demo_scankey_main() 44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height); in demo_scankey_main() 48 if (*scratch) { in demo_scankey_main() 51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height))) in demo_scankey_main()
|
/third_party/skia/third_party/externals/wuffs/release/c/ |
D | wuffs-v0.2.c | 2778 uint64_t scratch; member 3254 uint64_t scratch; member 3265 uint64_t scratch; member 3268 uint64_t scratch; member 3276 uint64_t scratch; member 3279 uint64_t scratch; member 3282 uint64_t scratch; member 3288 uint64_t scratch; member 3294 uint64_t scratch; member 3510 uint64_t scratch; member [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | bytestream.cpp | 19 char* scratch, int32_t scratch_capacity, in GetAppendBuffer() argument 26 return scratch; in GetAppendBuffer() 68 char* scratch, in GetAppendBuffer() argument 81 return scratch; in GetAppendBuffer()
|
/third_party/icu/icu4c/source/common/ |
D | bytestream.cpp | 19 char* scratch, int32_t scratch_capacity, in GetAppendBuffer() argument 26 return scratch; in GetAppendBuffer() 68 char* scratch, in GetAppendBuffer() argument 81 return scratch; in GetAppendBuffer()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | bytestream.cpp | 19 char* scratch, int32_t scratch_capacity, in GetAppendBuffer() argument 26 return scratch; in GetAppendBuffer() 68 char* scratch, in GetAppendBuffer() argument 81 return scratch; in GetAppendBuffer()
|