Searched refs:scratch (Results 1 - 25 of 262) sorted by relevance

1234567891011

/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/opus/src/celt/
H A Dkiss_fft.c122 kiss_fft_cpx scratch[6]; local
134 C_MUL4(scratch[0],Fout[m] , *tw1 );
135 C_MUL4(scratch[1],Fout[m2] , *tw2 );
136 C_MUL4(scratch[2],Fout[m3] , *tw3 );
140 C_SUB( scratch[5] , *Fout, scratch[1] );
141 C_ADDTO(*Fout, scratch[1]);
142 C_ADD( scratch[3] , scratch[0] , scratch[
169 kiss_fft_cpx scratch[6]; local
219 kiss_fft_cpx scratch[5]; local
270 kiss_fft_cpx scratch[5]; local
319 kiss_fft_cpx scratch[13]; local
388 kiss_fft_cpx scratch[13]; local
[all...]
/external/libopus/celt/
H A Dkiss_fft.c122 kiss_fft_cpx scratch[6]; local
134 C_MUL4(scratch[0],Fout[m] , *tw1 );
135 C_MUL4(scratch[1],Fout[m2] , *tw2 );
136 C_MUL4(scratch[2],Fout[m3] , *tw3 );
140 C_SUB( scratch[5] , *Fout, scratch[1] );
141 C_ADDTO(*Fout, scratch[1]);
142 C_ADD( scratch[3] , scratch[0] , scratch[
169 kiss_fft_cpx scratch[6]; local
219 kiss_fft_cpx scratch[5]; local
270 kiss_fft_cpx scratch[5]; local
319 kiss_fft_cpx scratch[13]; local
388 kiss_fft_cpx scratch[13]; local
[all...]
/external/speex/libspeex/
H A Dkiss_fft.c96 kiss_fft_cpx scratch[6]; local
110 C_MUL(scratch[0],Fout[m] , *tw1 );
111 C_MUL(scratch[1],Fout[m2] , *tw2 );
112 C_MUL(scratch[2],Fout[m3] , *tw3 );
114 C_SUB( scratch[5] , *Fout, scratch[1] );
115 C_ADDTO(*Fout, scratch[1]);
116 C_ADD( scratch[3] , scratch[0] , scratch[
178 kiss_fft_cpx scratch[5]; local
223 kiss_fft_cpx scratch[13]; local
[all...]
/external/chromium_org/third_party/openssl/openssl/crypto/modes/
H A Dxts128.c66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; local
79 memcpy(scratch.c,inp,16);
80 scratch.u[0] ^= tweak.u[0];
81 scratch.u[1] ^= tweak.u[1];
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0];
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1];
86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1);
88 scratch.u[0] ^= tweak.u[0];
89 scratch
[all...]
H A Dccm128.c179 union { u64 u[2]; u8 c[16]; } scratch; local
211 (*block)(ctx->nonce.c,scratch.c,key);
214 temp.u[0] ^= scratch.u[0];
215 temp.u[1] ^= scratch.u[1];
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0];
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1];
229 (*block)(ctx->nonce.c,scratch.c,key);
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i];
236 (*block)(ctx->nonce.c,scratch.c,key);
237 ctx->cmac.u[0] ^= scratch
254 union { u64 u[2]; u8 c[16]; } scratch; local
333 union { u64 u[2]; u8 c[16]; } scratch; local
390 union { u64 u[2]; u8 c[16]; } scratch; local
[all...]
/external/openssl/crypto/modes/
H A Dxts128.c66 union { u64 u[2]; u32 d[4]; u8 c[16]; } tweak, scratch; local
79 memcpy(scratch.c,inp,16);
80 scratch.u[0] ^= tweak.u[0];
81 scratch.u[1] ^= tweak.u[1];
83 scratch.u[0] = ((u64*)inp)[0]^tweak.u[0];
84 scratch.u[1] = ((u64*)inp)[1]^tweak.u[1];
86 (*ctx->block1)(scratch.c,scratch.c,ctx->key1);
88 scratch.u[0] ^= tweak.u[0];
89 scratch
[all...]
H A Dccm128.c179 union { u64 u[2]; u8 c[16]; } scratch; local
211 (*block)(ctx->nonce.c,scratch.c,key);
214 temp.u[0] ^= scratch.u[0];
215 temp.u[1] ^= scratch.u[1];
218 ((u64*)out)[0] = scratch.u[0]^((u64*)inp)[0];
219 ((u64*)out)[1] = scratch.u[1]^((u64*)inp)[1];
229 (*block)(ctx->nonce.c,scratch.c,key);
230 for (i=0; i<len; ++i) out[i] = scratch.c[i]^inp[i];
236 (*block)(ctx->nonce.c,scratch.c,key);
237 ctx->cmac.u[0] ^= scratch
254 union { u64 u[2]; u8 c[16]; } scratch; local
333 union { u64 u[2]; u8 c[16]; } scratch; local
390 union { u64 u[2]; u8 c[16]; } scratch; local
[all...]
/external/chromium_org/third_party/skia/src/svg/
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/skia/src/svg/
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/eigen/unsupported/Eigen/src/FFT/
H A Dei_kissfft_impl.h111 Complex scratch[6]; local
114 scratch[0] = Fout[k+m] * m_twiddles[k*fstride];
115 scratch[1] = Fout[k+2*m] * m_twiddles[k*fstride*2];
116 scratch[2] = Fout[k+3*m] * m_twiddles[k*fstride*3];
117 scratch[5] = Fout[k] - scratch[1];
119 Fout[k] += scratch[1];
120 scratch[3] = scratch[0] + scratch[
137 Complex scratch[5]; local
165 Complex scratch[13]; local
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DMessageDigestHashFunction.java64 private final ByteBuffer scratch; // lazy convenience field in class:MessageDigestHashFunction.MessageDigestHasher
69 this.scratch = ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN);
93 scratch.putShort(s);
94 digest.update(scratch.array(), 0, Shorts.BYTES);
95 scratch.clear();
101 scratch.putInt(i);
102 digest.update(scratch.array(), 0, Ints.BYTES);
103 scratch.clear();
109 scratch.putLong(l);
110 digest.update(scratch
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dlog_reader.cc59 bool Reader::ReadRecord(Slice* record, std::string* scratch) { argument
66 scratch->clear();
84 if (scratch->empty()) {
87 ReportCorruption(scratch->size(), "partial record without end(1)");
91 scratch->clear();
102 if (scratch->empty()) {
105 ReportCorruption(scratch->size(), "partial record without end(2)");
109 scratch->assign(fragment.data(), fragment.size());
118 scratch->append(fragment.data(), fragment.size());
127 scratch
[all...]
/external/chromium_org/third_party/mesa/src/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/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/llvm/lib/Target/Sparc/
H A DSparcJITInfo.cpp123 // the instructions emitted in the scratch register.
125 unsigned scratch,
129 // Emit: jmpl %g0+Addr, <scratch>
131 Insts.push_back(JMP_INST(0, LO10(Addr), scratch));
137 // Emit: sethi %hi(Addr), scratch
138 // jmpl scratch+%lo(Addr), scratch
139 // sub scratch, 4, scratch
140 Insts.push_back(SETHI_INST(HI22(Addr), scratch));
124 emitInstrForIndirectJump(intptr_t Addr, unsigned scratch, SmallVectorImpl<uint32_t> &Insts) argument
[all...]
/external/chromium_org/v8/src/mips/
H A Dmacro-assembler-mips.cc179 Register scratch,
183 And(scratch, object, Operand(ExternalReference::new_space_mask(isolate())));
184 Branch(branch, cc, scratch,
281 map, // Used as scratch.
317 // Will clobber 4 registers: object, address, scratch, ip. The
358 value, // Used as scratch.
364 value, // Used as scratch.
393 Register scratch,
399 JumpIfNotInNewSpace(object, scratch, &ok);
407 lw(scratch, MemOperan
178 InNewSpace(Register object, Register scratch, Condition cc, Label* branch) argument
391 RememberedSetHelper(Register object, Register address, Register scratch, SaveFPRegsMode fp_mode, RememberedSetFinalAction and_then) argument
438 CheckAccessGlobalProxy(Register holder_reg, Register scratch, Label* miss) argument
508 GetNumberHash(Register reg0, Register scratch) argument
2733 Swap(Register reg1, Register reg2, Register scratch) argument
3110 UndoAllocationInNewSpace(Register object, Register scratch) argument
3330 CopyBytes(Register src, Register dst, Register length, Register scratch) argument
3411 CheckFastElements(Register map, Register scratch, Label* fail) argument
3424 CheckFastObjectElements(Register map, Register scratch, Label* fail) argument
3439 CheckFastSmiElements(Register map, Register scratch, Label* fail) argument
3521 CompareMapAndBranch(Register obj, Register scratch, Handle<Map> map, Label* early_success, Condition cond, Label* branch_to) argument
3541 CheckMap(Register obj, Register scratch, Handle<Map> map, Label* fail, SmiCheckType smi_check_type) argument
3555 DispatchMap(Register obj, Register scratch, Handle<Map> map, Handle<Code> success, SmiCheckType smi_check_type) argument
3570 CheckMap(Register obj, Register scratch, Heap::RootListIndex index, Label* fail, SmiCheckType smi_check_type) argument
3822 IsObjectJSObjectType(Register heap_object, Register map, Register scratch, Label* fail) argument
3831 IsInstanceJSObjectType(Register map, Register scratch, Label* fail) argument
3840 IsObjectJSStringType(Register object, Register scratch, Label* fail) argument
3852 IsObjectNameType(Register object, Register scratch, Label* fail) argument
3865 TryGetFunctionPrototype(Register function, Register result, Register scratch, Label* miss, bool miss_on_bound_function) argument
4145 AdduAndCheckForOverflow(Register dst, Register left, Register right, Register overflow_dst, Register scratch) argument
4187 SubuAndCheckForOverflow(Register dst, Register left, Register right, Register overflow_dst, Register scratch) argument
4465 LoadTransitionedArrayMapConditional( ElementsKind expected_kind, ElementsKind transitioned_kind, Register map_in_out, Register scratch, Label* no_map_match) argument
4504 LoadGlobalFunctionInitialMap(Register function, Register map, Register scratch) argument
4743 JumpIfNotPowerOfTwoOrZero( Register reg, Register scratch, Label* not_power_of_two_or_zero) argument
4794 JumpIfSmi(Register value, Label* smi_label, Register scratch, BranchDelaySlot bd) argument
4803 JumpIfNotSmi(Register value, Label* not_smi_label, Register scratch, BranchDelaySlot bd) argument
4880 AssertUndefinedOrAllocationSite(Register object, Register scratch) argument
4906 JumpIfNotHeapNumber(Register object, Register heap_number_map, Register scratch, Label* on_not_heap_number) argument
4972 Register scratch = scratch1; local
5052 JumpIfInstanceTypeIsNotSequentialAscii(Register type, Register scratch, Label* failure) argument
5080 EmitSeqStringSetCharCheck(Register string, Register index, Register value, Register scratch, uint32_t encoding_mask) argument
5116 PrepareCallCFunction(int num_reg_arguments, int num_double_arguments, Register scratch) argument
5142 PrepareCallCFunction(int num_reg_arguments, Register scratch) argument
5227 PatchRelocatedValue(Register li_location, Register scratch, Register new_value) argument
5257 GetRelocatedValue(Register li_location, Register value, Register scratch) argument
5286 CheckPageFlag( Register object, Register scratch, int mask, Condition cc, Label* condition_met) argument
5299 CheckMapDeprecated(Handle<Map> map, Register scratch, Label* if_deprecated) argument
5353 JumpIfDataObject(Register value, Register scratch, Label* not_data_object) argument
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkBuildCondensedInfo.cpp88 static void Get3DName(char* scratch, const char* name) {
90 strcpy(scratch, "3D_");
91 scratch[3]= name[7] & ~0x20;
92 strcpy(&scratch[4], &name[8]);
94 scratch[0] = name[0] & ~0x20;
95 strcpy(&scratch[1], &name[1]);
165 char scratch[64];
170 Get3DName(scratch, gTypeNames[typeNameIndex].fName);
174 sprintf(scratch, "Unknown%d", unknown++);
177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefi
[all...]
/external/skia/src/animator/
H A DSkBuildCondensedInfo.cpp88 static void Get3DName(char* scratch, const char* name) {
90 strcpy(scratch, "3D_");
91 scratch[3]= name[7] & ~0x20;
92 strcpy(&scratch[4], &name[8]);
94 scratch[0] = name[0] & ~0x20;
95 strcpy(&scratch[1], &name[1]);
165 char scratch[64];
170 Get3DName(scratch, gTypeNames[typeNameIndex].fName);
174 sprintf(scratch, "Unknown%d", unknown++);
177 WriteInfo(condensed, info, gInfosCounts[index], scratch, drawPrefi
[all...]
/external/ceres-solver/internal/ceres/
H A Dincomplete_lq_factorization.h78 // scratch is used to prevent allocations inside this function. It is
79 // assumed that scratch is of size matrix->num_cols().
84 vector<pair<int, double> >* scratch,
/external/chromium_org/third_party/icu/source/common/
H A Dbytestream.cpp15 char* scratch, int32_t scratch_capacity,
22 return scratch;
56 char* scratch,
69 return scratch;
13 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
54 GetAppendBuffer(int32_t min_capacity, int32_t , char* scratch, int32_t scratch_capacity, int32_t* result_capacity) argument
/external/icu/icu4c/source/common/
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

Completed in 6075 milliseconds

1234567891011