Searched refs:scratch (Results 26 - 50 of 300) sorted by relevance

1234567891011>>

/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,
H A Dincomplete_lq_factorization.cc117 vector<pair<int, double> >* scratch,
136 pair<int, double>& entry = (*scratch)[scratch_count];
144 nth_element(scratch->begin(),
145 scratch->begin() + level_of_fill,
146 scratch->begin() + scratch_count,
149 sort(scratch->begin(), scratch->begin() + scratch_count);
153 const pair<int, double>& entry = (*scratch)[i];
195 vector<pair<int, double> > scratch(num_cols);
206 &scratch,
113 DropEntriesAndAddRow(const Vector& dense_row, const int num_entries, const int level_of_fill, const double drop_tolerance, vector<pair<int, double> >* scratch, CompressedRowSparseMatrix* matrix) argument
[all...]
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...]
H A Dresidual_block_utils_test.cc57 scoped_array<double> scratch(
69 scratch.get()), is_good);
/external/chromium_org/third_party/icu/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
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
/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
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
/external/openssl/crypto/modes/
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/leveldatabase/src/helpers/memenv/
H A Dmemenv_test.cc92 char scratch[100]; local
103 ASSERT_OK(seq_file->Read(5, &result, scratch)); // Read "hello".
106 ASSERT_OK(seq_file->Read(1000, &result, scratch)); // Read "world".
108 ASSERT_OK(seq_file->Read(1000, &result, scratch)); // Try reading past EOF.
111 ASSERT_OK(seq_file->Read(1000, &result, scratch));
117 ASSERT_OK(rand_file->Read(6, 5, &result, scratch)); // Read "world".
119 ASSERT_OK(rand_file->Read(0, 5, &result, scratch)); // Read "hello".
121 ASSERT_OK(rand_file->Read(10, 100, &result, scratch)); // Read "d".
125 ASSERT_TRUE(!rand_file->Read(1000, 5, &result, scratch).ok());
154 char* scratch local
[all...]
/external/aac/libFDK/src/mips/
H A Dfft_rad2_mips.cpp109 int32c scratch[1024]; local
124 mips_fft32(dout, din, twiddles, scratch, ldn);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c548 if (!nv->scratch.nr_runout)
551 --nv->scratch.nr_runout;
552 nouveau_bo_ref(NULL, &nv->scratch.runout[nv->scratch.nr_runout]);
553 } while (nv->scratch.nr_runout);
555 FREE(nv->scratch.runout);
556 nv->scratch.end = 0;
557 nv->scratch.runout = NULL;
567 const unsigned n = nv->scratch.nr_runout++;
569 nv->scratch
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_buffer.c548 if (!nv->scratch.nr_runout)
551 --nv->scratch.nr_runout;
552 nouveau_bo_ref(NULL, &nv->scratch.runout[nv->scratch.nr_runout]);
553 } while (nv->scratch.nr_runout);
555 FREE(nv->scratch.runout);
556 nv->scratch.end = 0;
557 nv->scratch.runout = NULL;
567 const unsigned n = nv->scratch.nr_runout++;
569 nv->scratch
[all...]
/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/chromium_org/third_party/icu/source/test/intltest/
H A Dstrtest.cpp366 char scratch[20]; local
368 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
373 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
378 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
379 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
380 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer");
397 char scratch[1 local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dstrtest.cpp366 char scratch[20]; local
368 char *dest = sink.GetAppendBuffer(0, 50, scratch, (int32_t)sizeof(scratch), &capacity);
373 dest = sink.GetAppendBuffer(10, 50, scratch, 9, &capacity);
378 dest = sink.GetAppendBuffer(5, 50, scratch, (int32_t)sizeof(scratch), &capacity);
379 if(dest != scratch || capacity != (int32_t)sizeof(scratch)) {
380 errln("ByteSink.GetAppendBuffer() did not properly return the scratch buffer");
397 char scratch[1 local
[all...]
/external/chromium_org/v8/src/mips/
H A Dlithium-codegen-mips.cc428 Register LCodeGen::EmitLoadRegister(LOperand* op, Register scratch) { argument
438 __ li(scratch, Operand(static_cast<int32_t>(literal->Number())));
441 __ li(scratch, Operand(Smi::FromInt(constant->Integer32Value())));
446 __ li(scratch, literal);
448 return scratch;
450 __ lw(scratch, ToMemOperand(op));
451 return scratch;
454 return scratch;
834 Register scratch = scratch0(); local
837 __ Push(a1, scratch);
1326 Register scratch = result.is(dividend) ? scratch0() : dividend; local
1468 Register scratch = scratch0(); local
1616 Register scratch = scratch0(); local
1713 Register scratch = scratch1(); local
1774 Register scratch = ToRegister(instr->temp()); local
1820 Register scratch = scratch0(); local
1840 Register scratch = scratch0(); local
1868 Register scratch = scratch0(); local
1903 Register scratch = scratch1(); local
1935 Register scratch = scratch1(); local
2215 const Register scratch = scratch1(); local
2370 Register scratch = scratch0(); local
2379 Register scratch = ToRegister(instr->temp()); local
2545 Register scratch = scratch0(); local
2574 Register scratch = scratch0(); local
2964 Register scratch = scratch0(); local
3043 Register scratch = scratch0(); local
3216 Register scratch = scratch0(); local
3250 Register scratch = scratch0(); local
3350 Register scratch = scratch0(); local
3396 Register scratch = scratch0(); local
3457 Register scratch = scratch0(); local
3590 Register scratch = scratch0(); local
3734 Register scratch = scratch0(); local
3939 Register scratch = a3; local
4099 Register scratch = scratch0(); local
4305 Register scratch = scratch0(); local
4354 Register scratch = scratch0(); local
4423 Register scratch = scratch0(); local
4508 Register scratch = scratch0(); local
4555 Register scratch = scratch0(); local
4594 Register scratch = scratch0(); local
4750 Register scratch = scratch0(); local
4813 Register scratch = scratch0(); local
4835 Register scratch = scratch0(); local
5096 Register scratch = scratch0(); local
5235 Register scratch = scratch0(); local
5304 Register scratch = ToRegister(instr->temp1()); local
5519 Register scratch = scratch0(); local
5869 Register scratch = scratch0(); local
[all...]
H A Dmacro-assembler-mips.h217 // Swap two registers. If the scratch register is omitted then a slightly
219 void Swap(Register reg1, Register reg2, Register scratch = no_reg);
306 Register scratch,
311 Register scratch,
317 Register scratch,
321 // The register scratch can be object itself, but it will be clobbered.
323 Register scratch,
325 InNewSpace(object, scratch, ne, branch);
329 // The register scratch can be object itself, but scratch wil
322 JumpIfNotInNewSpace(Register object, Register scratch, Label* branch) argument
330 JumpIfInNewSpace(Register object, Register scratch, Label* branch) argument
385 RecordWriteContextSlot( Register context, int offset, Register value, Register scratch, RAStatus ra_status, SaveFPRegsMode save_fp, RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, SmiCheck smi_check = INLINE_SMI_CHECK, PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting) argument
1381 TrySmiTag(Register reg, Register scratch, Label* not_a_smi) argument
1384 TrySmiTag(Register dst, Register src, Register scratch, Label* not_a_smi) argument
1402 SmiTst(Register value, Register scratch) argument
1405 NonNegativeSmiTst(Register value, Register scratch) argument
[all...]
/external/chromium_org/v8/src/mips64/
H A Dmacro-assembler-mips64.h238 // Swap two registers. If the scratch register is omitted then a slightly
240 void Swap(Register reg1, Register reg2, Register scratch = no_reg);
327 Register scratch,
332 Register scratch,
338 Register scratch,
342 // The register scratch can be object itself, but it will be clobbered.
344 Register scratch,
346 InNewSpace(object, scratch, ne, branch);
350 // The register scratch can be object itself, but scratch wil
343 JumpIfNotInNewSpace(Register object, Register scratch, Label* branch) argument
351 JumpIfInNewSpace(Register object, Register scratch, Label* branch) argument
406 RecordWriteContextSlot( Register context, int offset, Register value, Register scratch, RAStatus ra_status, SaveFPRegsMode save_fp, RememberedSetAction remembered_set_action = EMIT_REMEMBERED_SET, SmiCheck smi_check = INLINE_SMI_CHECK, PointersToHereCheck pointers_to_here_check_for_value = kPointersToHereMaybeInteresting) argument
1413 TrySmiTag(Register reg, Register scratch, Label* not_a_smi) argument
1417 TrySmiTag(Register dst, Register src, Register scratch, Label* not_a_smi) argument
1473 SmiTst(Register value, Register scratch) argument
1476 NonNegativeSmiTst(Register value, Register scratch) argument
[all...]
/external/chromium_org/v8/src/arm/
H A Dmacro-assembler-arm.cc197 Register scratch,
199 if (scratch.is(no_reg)) {
204 mov(scratch, reg1, LeaveCC, cond);
206 mov(reg2, scratch, LeaveCC, cond);
321 Register scratch,
328 DCHECK(!scratch.is(dst));
333 and_(scratch, src, Operand((1 << width) - 1));
334 mov(scratch, Operand(scratch, LSL, lsb));
335 orr(dst, dst, scratch);
195 Swap(Register reg1, Register reg2, Register scratch, Condition cond) argument
[all...]
/external/chromium_org/v8/src/ia32/
H A Dmacro-assembler-ia32.cc86 Register scratch,
91 mov(scratch, Immediate(index));
92 mov(Operand::StaticArray(scratch, times_pointer_size, roots_array_start),
98 Register scratch,
102 mov(scratch, Immediate(index));
103 cmp(with, Operand::StaticArray(scratch,
126 Register scratch,
131 if (scratch.is(object)) {
132 and_(scratch, Immediate(~Page::kPageAlignmentMask));
134 mov(scratch, Immediat
85 StoreRoot(Register source, Register scratch, Heap::RootListIndex index) argument
97 CompareRoot(Register with, Register scratch, Heap::RootListIndex index) argument
124 InNewSpace( Register object, Register scratch, Condition cc, Label* condition_met, Label::Distance condition_met_distance) argument
782 IsObjectJSObjectType(Register heap_object, Register map, Register scratch, Label* fail) argument
791 IsInstanceJSObjectType(Register map, Register scratch, Label* fail) argument
1253 GetNumberHash(Register r0, Register scratch) argument
1367 LoadAllocationTopHelper(Register result, Register scratch, AllocationFlags flags) argument
1395 UpdateAllocationTopHelper(Register result_end, Register scratch, AllocationFlags flags) argument
1415 Allocate(int object_size, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1491 Allocate(int header_size, ScaleFactor element_size, Register element_count, RegisterValueType element_count_type, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1569 Allocate(Register object_size, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1823 CopyBytes(Register source, Register destination, Register length, Register scratch) argument
1838 mov(Operand(destination, length, times_1, -4), scratch); local
1856 mov(Operand(destination, 8), scratch); local
1859 mov(Operand(destination, 4), scratch); local
1862 mov(Operand(destination, 0), scratch); local
1872 mov_b(Operand(destination, 0), scratch); local
1921 NegativeZeroTest(Register result, Register op1, Register op2, Register scratch, Label* then_label) argument
1936 TryGetFunctionPrototype(Register function, Register result, Register scratch, Label* miss, bool miss_on_bound_function) argument
2458 LoadTransitionedArrayMapConditional( ElementsKind expected_kind, ElementsKind transitioned_kind, Register map_in_out, Register scratch, Label* no_map_match) argument
2581 Ret(int bytes_dropped, Register scratch) argument
2789 LoadPowerOf2(XMMRegister dst, Register scratch, int power) argument
2808 Register scratch = scratch2; local
2875 JumpIfInstanceTypeIsNotSequentialOneByte( Register instance_type, Register scratch, Label* failure) argument
2968 PrepareCallCFunction(int num_arguments, Register scratch) argument
2977 mov(Operand(esp, num_arguments * kPointerSize), scratch); local
3059 CheckPageFlag( Register object, Register scratch, int mask, Condition cc, Label* condition_met, Label::Distance condition_met_distance) argument
3106 CheckMapDeprecated(Handle<Map> map, Register scratch, Label* if_deprecated) argument
[all...]
/external/chromium_org/v8/src/x87/
H A Dmacro-assembler-x87.cc86 Register scratch,
91 mov(scratch, Immediate(index));
92 mov(Operand::StaticArray(scratch, times_pointer_size, roots_array_start),
98 Register scratch,
102 mov(scratch, Immediate(index));
103 cmp(with, Operand::StaticArray(scratch,
126 Register scratch,
131 if (scratch.is(object)) {
132 and_(scratch, Immediate(~Page::kPageAlignmentMask));
134 mov(scratch, Immediat
85 StoreRoot(Register source, Register scratch, Heap::RootListIndex index) argument
97 CompareRoot(Register with, Register scratch, Heap::RootListIndex index) argument
124 InNewSpace( Register object, Register scratch, Condition cc, Label* condition_met, Label::Distance condition_met_distance) argument
585 StoreNumberToDoubleElements( Register maybe_number, Register elements, Register key, Register scratch, Label* fail, int elements_offset) argument
694 IsObjectJSObjectType(Register heap_object, Register map, Register scratch, Label* fail) argument
703 IsInstanceJSObjectType(Register map, Register scratch, Label* fail) argument
1216 GetNumberHash(Register r0, Register scratch) argument
1330 LoadAllocationTopHelper(Register result, Register scratch, AllocationFlags flags) argument
1358 UpdateAllocationTopHelper(Register result_end, Register scratch, AllocationFlags flags) argument
1378 Allocate(int object_size, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1454 Allocate(int header_size, ScaleFactor element_size, Register element_count, RegisterValueType element_count_type, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1532 Allocate(Register object_size, Register result, Register result_end, Register scratch, Label* gc_required, AllocationFlags flags) argument
1786 CopyBytes(Register source, Register destination, Register length, Register scratch) argument
1801 mov(Operand(destination, length, times_1, -4), scratch); local
1819 mov(Operand(destination, 8), scratch); local
1822 mov(Operand(destination, 4), scratch); local
1825 mov(Operand(destination, 0), scratch); local
1835 mov_b(Operand(destination, 0), scratch); local
1884 NegativeZeroTest(Register result, Register op1, Register op2, Register scratch, Label* then_label) argument
1899 TryGetFunctionPrototype(Register function, Register result, Register scratch, Label* miss, bool miss_on_bound_function) argument
2420 LoadTransitionedArrayMapConditional( ElementsKind expected_kind, ElementsKind transitioned_kind, Register map_in_out, Register scratch, Label* no_map_match) argument
2543 Ret(int bytes_dropped, Register scratch) argument
2767 Register scratch = scratch2; local
2835 JumpIfInstanceTypeIsNotSequentialOneByte( Register instance_type, Register scratch, Label* failure) argument
2928 PrepareCallCFunction(int num_arguments, Register scratch) argument
2937 mov(Operand(esp, num_arguments * kPointerSize), scratch); local
3019 CheckPageFlag( Register object, Register scratch, int mask, Condition cc, Label* condition_met, Label::Distance condition_met_distance) argument
3066 CheckMapDeprecated(Handle<Map> map, Register scratch, Label* if_deprecated) argument
[all...]
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dappendable.h98 * May return a pointer to the caller-owned scratch buffer which must have
122 * If a non-scratch buffer is returned, the caller may only pass
126 * The default implementation always returns the scratch buffer.
132 * @param scratch default caller-owned buffer
133 * @param scratchCapacity capacity of the scratch buffer
141 UChar *scratch, int32_t scratchCapacity,
203 * May return a pointer to the caller-owned scratch buffer which must have
214 * @param scratch default caller-owned buffer
215 * @param scratchCapacity capacity of the scratch buffer
223 UChar *scratch, int32_
[all...]

Completed in 611 milliseconds

1234567891011>>