Searched defs:scratch (Results 1 - 25 of 182) sorted by relevance

12345678

/external/blktrace/btt/
H A Dtrace.c59 char scratch[15]; local
69 make_dev_hdr(scratch, 15, iop->dip, 1),
/external/aac/libFDK/src/mips/
H A Dfft_rad2_mips.cpp109 int32c scratch[1024]; local
124 mips_fft32(dout, din, twiddles, scratch, ldn);
/external/icu/icu4c/source/common/
H A Dappendable.cpp62 UChar *scratch, int32_t scratchCapacity,
69 return scratch;
60 getAppendBuffer(int32_t minCapacity, int32_t , UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
H A Dbytestream.cpp19 char* scratch, int32_t scratch_capacity,
26 return scratch;
62 char* scratch,
75 return scratch;
17 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
60 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
/external/icu/icu4c/source/i18n/
H A Dbocsu.cpp102 char scratch[64]; local
107 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity);
113 buffer=scratch;
114 capacity=(int32_t)sizeof(scratch);
/external/mesa3d/src/gallium/drivers/swr/
H A Dswr_scratch.cpp77 /* Copy user_buffer to scratch */
88 struct swr_scratch_buffers *scratch; local
90 scratch = CALLOC_STRUCT(swr_scratch_buffers);
91 ctx->scratch = scratch;
97 struct swr_scratch_buffers *scratch = ctx->scratch; local
99 if (scratch) {
100 AlignedFree(scratch->vs_constants.base);
101 AlignedFree(scratch
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_scratch.c39 struct nouveau_scratch_state *scratch = local
40 &to_nouveau_context(ctx)->scratch;
43 if (scratch->buf && size <= NOUVEAU_SCRATCH_SIZE - scratch->offset) {
44 nouveau_bo_ref(scratch->bo[scratch->index], bo);
46 buf = scratch->buf + scratch->offset;
47 *offset = scratch->offset;
48 scratch
76 struct nouveau_scratch_state *scratch = local
91 struct nouveau_scratch_state *scratch = local
[all...]
/external/toybox/toys/example/
H A Dtest_scankey.c25 char c = 'X', scratch[16]; local
29 memset(scratch, 0, 16);
44 key = scan_key_getsize(scratch, -1*!!t[0], &width, &height);
48 if (*scratch) {
51 while (0<(key = scan_key_getsize(scratch, 0, &width, &height)))
/external/skia/src/effects/
H A DSkLumaColorFilter.cpp22 SkArenaAlloc* scratch,
20 onAppendStages(SkRasterPipeline* p, SkColorSpace* dst, SkArenaAlloc* scratch, bool shaderIsOpaque) const argument
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/
H A DTestSSLEnginePair.java94 ByteBuffer scratch = ByteBuffer.allocate(applicationBufferSize);
116 scratch,
123 scratch,
164 ByteBuffer scratch,
191 SSLEngineResult unwrapResult = engine.unwrap(input, scratch);
193 assertEquals(0, scratch.position());
161 handshakeCompleted(SSLEngine engine, ByteBuffer output, ByteBuffer input, ByteBuffer scratch, boolean[] finished) argument
/external/gemmlowp/meta/
H A Dlegacy_single_thread_gemm.h29 void gemm_q8_strided(std::uint8_t* scratch, const std::uint8_t* lhs, argument
52 params.scratch = scratch;
74 void gemv_q8(std::uint8_t* scratch, const std::uint8_t* lhs, argument
96 params.scratch = scratch;
122 void gemm_i32_strided(std::uint8_t* scratch, const std::uint8_t* lhs, argument
145 params.scratch = scratch;
163 void gemv_i32(std::uint8_t* scratch, cons argument
207 gemm_f_strided(std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t m, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, float result_offset, float* result, std::int32_t result_stride) argument
248 gemv_f(std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, float result_offset, float* result) argument
[all...]
H A Dbase.h67 std::uint8_t* scratch; member in struct:gemmlowp::meta::GemmParams
117 std::uint8_t* scratch; member in struct:gemmlowp::meta::Transform1DParams
H A Dlegacy_multi_thread_gemv.h39 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
43 gemv_q8(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, sum_offset,
59 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
63 gemv_f(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result_offset,
78 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
82 gemv_i32(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result);
100 std::uint8_t* scratch, const std::uint8_t* lhs,
110 operation.ExecuteMatrixMatrix(scratch, lhs, rhs, 1, n, k, result, n);
112 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, 1,
124 std::uint8_t* scratch, cons
99 multi_thread_gemv_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t sum_offset, std::int32_t multiplier, std::int32_t shift, std::uint8_t* result) argument
123 multi_thread_gemv_f(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, float result_offset, float* result) argument
145 multi_thread_gemv_i32(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t* result) argument
[all...]
H A Dmulti_thread_gemm.h30 int kernel_k, std::uint8_t* scratch, int m_start,
35 task.scratch = scratch;
52 return scratch + Executor::template EstimateScratchSize<Params>(
75 std::uint8_t* scratch = params.scratch; local
80 scratch = PrepareGemmTask<Executor, Params>(
81 params, kernel_m, kernel_n, kernel_k, scratch, i * m_chunk, m_chunk,
86 scratch, sum_m, params.m - sum_m, 0,
91 scratch
29 PrepareGemmTask(const Params& params, int kernel_m, int kernel_n, int kernel_k, std::uint8_t* scratch, int m_start, int m, int n_start, int n, std::vector<Params>* tasks) argument
[all...]
H A Dmulti_thread_gemv.h39 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
43 gemv_q8(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, sum_offset,
59 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
63 gemv_f(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result_offset,
78 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, argument
82 gemv_i32(scratch, lhs, rhs, n, k, lhs_offset, rhs_offset, result);
100 std::uint8_t* scratch, const std::uint8_t* lhs,
110 operation.ExecuteMatrixMatrix(scratch, lhs, rhs, 1, n, k, result, n);
112 internal::MultiThreadedMatrixMatrix(pool, max_threads, scratch, lhs, rhs, 1,
124 std::uint8_t* scratch, cons
99 multi_thread_gemv_q8(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t sum_offset, std::int32_t multiplier, std::int32_t shift, std::uint8_t* result) argument
123 multi_thread_gemv_f(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, float result_offset, float* result) argument
145 multi_thread_gemv_i32(gemmlowp::WorkersPool* pool, std::int32_t max_threads, std::uint8_t* scratch, const std::uint8_t* lhs, const std::uint8_t* rhs, std::int32_t n, std::int32_t k, std::int32_t lhs_offset, std::int32_t rhs_offset, std::int32_t* result) argument
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DAbstractByteHasher.java31 * Abstract {@link Hasher} that handles converting primitives to bytes using a scratch {@code
38 private final ByteBuffer scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN); field in class:AbstractByteHasher
86 update(scratch.array(), 0, bytes);
88 scratch.clear();
95 scratch.putShort(s);
101 scratch.putInt(i);
107 scratch.putLong(l);
113 scratch.putChar(c);
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc119 string scratch; local
122 &reflection->GetStringReference(message, F("optional_string"), &scratch))
127 0, &scratch))
/external/skia/src/core/
H A DSkModeColorFilter.cpp78 SkArenaAlloc* scratch,
81 p->append_uniform_color(scratch, SkPM4f_from_SkColor(fColor, dst));
76 onAppendStages(SkRasterPipeline* p, SkColorSpace* dst, SkArenaAlloc* scratch, bool shaderIsOpaque) const argument
/external/skia/src/shaders/
H A DSkLocalMatrixShader.cpp67 SkArenaAlloc* scratch,
75 return as_SB(fProxyShader)->appendStages(p, dst, scratch, ctm, paint,
65 onAppendStages(SkRasterPipeline* p, SkColorSpace* dst, SkArenaAlloc* scratch, const SkMatrix& ctm, const SkPaint& paint, const SkMatrix* localM) const argument
/external/v8/src/debug/arm64/
H A Ddebug-arm64.cc87 Register scratch = x10; local
/external/boringssl/src/crypto/cmac/
H A Dcmac.c67 /* Last (possibly partial) scratch */
149 uint8_t scratch[AES_BLOCK_SIZE]; local
154 !EVP_Cipher(&ctx->cipher_ctx, scratch, kZeroIV, AES_BLOCK_SIZE) ||
160 binary_field_mul_x(ctx->k1, scratch);
173 uint8_t scratch[AES_BLOCK_SIZE]; local
197 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) {
204 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, in, AES_BLOCK_SIZE)) {
/external/boringssl/src/decrepit/xts/
H A Dxts.c71 } tweak, scratch; local
84 OPENSSL_memcpy(scratch.c, inp, 16);
85 scratch.u[0] ^= tweak.u[0];
86 scratch.u[1] ^= tweak.u[1];
88 scratch.u[0] = ((uint64_t *)inp)[0] ^ tweak.u[0];
89 scratch.u[1] = ((uint64_t *)inp)[1] ^ tweak.u[1];
91 (*ctx->block1)(scratch.c, scratch.c, ctx->key1);
93 scratch.u[0] ^= tweak.u[0];
94 scratch
[all...]
/external/eigen/unsupported/test/
H A Dcxx11_tensor_morphing.cpp79 float scratch[2*3*1*7*1]; local
80 TensorMap<Tensor<float, 5>> tensor5d(scratch, 2,3,1,7,1);
/external/libopus/celt/mips/
H A Dkiss_fft_mipsr1.h99 kiss_fft_cpx scratch[13]; local
128 scratch[0] = *Fout0;
131 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]);
132 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]);
133 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]);
134 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]);
136 C_ADD( scratch[7],scratch[1],scratch[4]);
137 C_SUB( scratch[1
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_context.h51 } scratch; member in struct:nouveau_context
74 /* This is needed because we don't hold references outside of context::scratch,
81 nv->scratch.wrap = nv->scratch.id;
82 if (unlikely(nv->scratch.runout))
86 /* Get pointer to scratch buffer.
99 if (ctx->scratch.bo[i])
100 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);

Completed in 3986 milliseconds

12345678