Searched defs:scratch (Results 1 - 25 of 195) 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.cpp60 UChar *scratch, int32_t scratchCapacity,
67 return scratch;
58 getAppendBuffer(int32_t minCapacity, int32_t , UChar *scratch, int32_t scratchCapacity, int32_t *resultCapacity) argument
H A Dbytestream.cpp17 char* scratch, int32_t scratch_capacity,
24 return scratch;
60 char* scratch,
73 return scratch;
15 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
58 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.cpp100 char scratch[64]; local
105 char *buffer=sink.GetAppendBuffer(1, length*2, scratch, (int32_t)sizeof(scratch), &capacity);
111 buffer=scratch;
112 capacity=(int32_t)sizeof(scratch);
/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/skia/src/svg/parser/
H A DSkSVGCircle.cpp35 char scratch[16]; local
36 sprintf(scratch, "%g", SkScalarToDouble(left));
37 parser._addAttribute("left", scratch);
38 sprintf(scratch, "%g", SkScalarToDouble(top));
39 parser._addAttribute("top", scratch);
40 sprintf(scratch, "%g", SkScalarToDouble(right));
41 parser._addAttribute("right", scratch);
42 sprintf(scratch, "%g", SkScalarToDouble(bottom));
43 parser._addAttribute("bottom", scratch);
H A DSkSVGEllipse.cpp37 char scratch[16]; local
38 sprintf(scratch, "%g", SkScalarToDouble(left));
39 parser._addAttribute("left", scratch);
40 sprintf(scratch, "%g", SkScalarToDouble(top));
41 parser._addAttribute("top", scratch);
42 sprintf(scratch, "%g", SkScalarToDouble(right));
43 parser._addAttribute("right", scratch);
44 sprintf(scratch, "%g", SkScalarToDouble(bottom));
45 parser._addAttribute("bottom", scratch);
/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/ceres-solver/internal/ceres/
H A Dresidual_block_test.cc76 double scratch[64]; local
108 residual_block.Evaluate(true, &cost, NULL, NULL, scratch);
113 residual_block.Evaluate(true, &cost, residuals, NULL, scratch);
137 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch);
156 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch);
203 double scratch[64]; local
247 residual_block.Evaluate(true, &cost, NULL, NULL, scratch);
252 residual_block.Evaluate(true, &cost, residuals, NULL, scratch);
276 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch);
314 residual_block.Evaluate(true, &cost, residuals, jacobian_ptrs, scratch);
[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/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_context.h42 } scratch; member in struct:nouveau_context
57 /* This is needed because we don't hold references outside of context::scratch,
64 nv->scratch.wrap = nv->scratch.id;
65 if (unlikely(nv->scratch.nr_runout))
69 /* Get pointer to scratch buffer.
82 if (ctx->scratch.bo[i])
83 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
/external/protobuf/src/google/protobuf/
H A Dgenerated_message_reflection_unittest.cc113 string scratch; local
116 &reflection->GetStringReference(message, F("optional_string"), &scratch))
121 0, &scratch))
/external/v8/src/debug/arm64/
H A Ddebug-arm64.cc85 Register scratch = x10; local
90 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingValue));
91 __ PushMultipleTimes(scratch, LiveEdit::kFramePaddingInitialSize);
92 __ Mov(scratch, Smi::FromInt(LiveEdit::kFramePaddingInitialSize));
93 __ Push(scratch);
132 __ Mov(scratch, after_break_target);
133 __ Ldr(scratch, MemOperand(scratch));
134 __ Br(scratch);
151 Register scratch local
[all...]
/external/v8/src/ic/arm64/
H A Dstub-cache-arm64.cc28 Register scratch, Register scratch2, Register scratch3) {
44 DCHECK(!AreAliased(name, offset, scratch, scratch2, scratch3));
50 __ Mov(scratch, key_offset);
51 __ Add(scratch, scratch, Operand(scratch3, LSL, kPointerSizeLog2));
54 __ Ldr(scratch2, MemOperand(scratch));
59 __ Ldr(scratch2, MemOperand(scratch, map_off_addr - key_off_addr));
65 __ Ldr(scratch, MemOperand(scratch, value_off_addr - key_off_addr));
68 __ Ldr(scratch2.W(), FieldMemOperand(scratch, Cod
25 ProbeTable(Isolate* isolate, MacroAssembler* masm, Code::Flags flags, StubCache::Table table, Register receiver, Register name, Register offset, Register scratch, Register scratch2, Register scratch3) argument
90 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
[all...]
/external/v8/src/ic/ia32/
H A Dstub-cache-ia32.cc148 Register name, Register scratch, Register extra,
157 DCHECK(!scratch.is(receiver));
158 DCHECK(!scratch.is(name));
161 DCHECK(!extra.is(scratch));
163 // Assert scratch and extra registers are valid, and extra2/3 are unused.
164 DCHECK(!scratch.is(no_reg));
168 Register offset = scratch;
169 scratch = no_reg;
146 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
/external/v8/src/ic/x64/
H A Dstub-cache-x64.cc84 Register name, Register scratch, Register extra,
96 DCHECK(!scratch.is(receiver));
97 DCHECK(!scratch.is(name));
99 // Check scratch register is valid, extra and extra2 are unused.
100 DCHECK(!scratch.is(no_reg));
105 // If vector-based ics are in use, ensure that scratch doesn't conflict with
113 DCHECK(!AreAliased(vector, slot, scratch));
118 DCHECK(!AreAliased(vector, slot, scratch));
130 __ movl(scratch, FieldOperand(name, Name::kHashFieldOffset));
132 __ addl(scratch, FieldOperan
82 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
[all...]
/external/v8/src/ic/x87/
H A Dstub-cache-x87.cc148 Register name, Register scratch, Register extra,
157 DCHECK(!scratch.is(receiver));
158 DCHECK(!scratch.is(name));
161 DCHECK(!extra.is(scratch));
163 // Assert scratch and extra registers are valid, and extra2/3 are unused.
164 DCHECK(!scratch.is(no_reg));
168 Register offset = scratch;
169 scratch = no_reg;
146 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
/external/boringssl/src/crypto/cmac/
H A Dcmac.c65 /* Last (possibly partial) scratch */
147 uint8_t scratch[AES_BLOCK_SIZE]; local
152 !EVP_Cipher(&ctx->cipher_ctx, scratch, kZeroIV, AES_BLOCK_SIZE) ||
158 binary_field_mul_x(ctx->k1, scratch);
171 uint8_t scratch[AES_BLOCK_SIZE]; local
195 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, ctx->block, AES_BLOCK_SIZE)) {
202 if (!EVP_Cipher(&ctx->cipher_ctx, scratch, in, AES_BLOCK_SIZE)) {
/external/boringssl/src/decrepit/xts/
H A Dxts.c71 } tweak, scratch; local
84 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/skia/src/animator/
H A DSkDisplayEvent.cpp153 char scratch[8]; local
155 size_t size = convert > 0 ? SkUTF8_FromUnichar(convert, scratch) : 0;
156 fKeyString.set(scratch, size);
161 size = SkUTF8_FromUnichar(fMax, scratch);
162 value->fOperand.fString->append(scratch, size);
/external/toybox/lib/
H A Dinterestingtimes.c66 int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy) argument
70 if (512&(key = scan_key(scratch, miliwait))) {
146 // scratch space is necessary because last char of !seq could start new seq
147 // Zero out first byte of scratch before first call to scan_key
149 int scan_key(char *scratch, int miliwait) argument
161 if (*scratch) {
167 scratch[(1+*scratch)&15] = 0;
168 sscanf(scratch+1, "\033%n[%n%3u%n;%n%3u%nR%n", pos, pos+1, &y,
172 *scratch
[all...]
/external/v8/src/ic/arm/
H A Dstub-cache-arm.cc21 Register offset, Register scratch, Register scratch2,
40 Register base_addr = scratch;
41 scratch = no_reg;
96 Register name, Register scratch, Register extra,
106 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3));
108 // Check scratch, extra and extra2 registers are valid.
109 DCHECK(!scratch.is(no_reg));
115 // If vector-based ics are in use, ensure that scratch, extra, extra2 and
127 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3));
139 __ ldr(scratch, FieldMemOperan
17 ProbeTable(Isolate* isolate, MacroAssembler* masm, Code::Flags flags, StubCache::Table table, Register receiver, Register name, Register offset, Register scratch, Register scratch2, Register offset_scratch) argument
94 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
[all...]
/external/v8/src/ic/mips/
H A Dstub-cache-mips.cc21 Register offset, Register scratch, Register scratch2,
40 Register base_addr = scratch;
41 scratch = no_reg;
90 Register name, Register scratch, Register extra,
100 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3));
103 DCHECK(!scratch.is(no_reg));
109 // If vector-based ics are in use, ensure that scratch, extra, extra2 and
121 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3));
133 __ lw(scratch, FieldMemOperand(name, Name::kHashFieldOffset));
135 __ Addu(scratch, scratc
17 ProbeTable(Isolate* isolate, MacroAssembler* masm, Code::Flags flags, StubCache::Table table, Register receiver, Register name, Register offset, Register scratch, Register scratch2, Register offset_scratch) argument
88 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
[all...]
/external/v8/src/ic/mips64/
H A Dstub-cache-mips64.cc21 Register offset, Register scratch, Register scratch2,
40 Register base_addr = scratch;
41 scratch = no_reg;
92 Register name, Register scratch, Register extra,
103 DCHECK(!AreAliased(receiver, name, scratch, extra, extra2, extra3));
106 DCHECK(!scratch.is(no_reg));
112 // If vector-based ics are in use, ensure that scratch, extra, extra2 and
124 DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3));
136 __ ld(scratch, FieldMemOperand(name, Name::kHashFieldOffset));
138 __ Daddu(scratch, scratc
17 ProbeTable(Isolate* isolate, MacroAssembler* masm, Code::Flags flags, StubCache::Table table, Register receiver, Register name, Register offset, Register scratch, Register scratch2, Register offset_scratch) argument
90 GenerateProbe(MacroAssembler* masm, Code::Kind ic_kind, Code::Flags flags, Register receiver, Register name, Register scratch, Register extra, Register extra2, Register extra3) argument
[all...]

Completed in 996 milliseconds

12345678