/frameworks/base/opengl/java/android/opengl/ |
D | GLU.java | 75 float[] scratch = sScratch; in gluLookAt() local 76 synchronized(scratch) { in gluLookAt() 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, in gluLookAt() 79 gl.glMultMatrixf(scratch, 0); in gluLookAt() 150 float[] scratch = sScratch; in gluProject() local 151 synchronized(scratch) { in gluProject() 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, in gluProject() 158 scratch[V_OFFSET + 0] = objX; in gluProject() 159 scratch[V_OFFSET + 1] = objY; in gluProject() 160 scratch[V_OFFSET + 2] = objZ; in gluProject() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | Matrix.java | 266 public Matrix inverse(Matrix result, Matrix scratch) { in inverse() argument 267 if (!(n == m && n == result.n && m == result.m && n == scratch.n && 2 * m == scratch.m)) { in inverse() 273 scratch.put(i, j, get(i, j)); in inverse() 274 scratch.put(i, m + j, i == j ? 1.0 : 0.0); in inverse() 280 double vbest = Math.abs(scratch.get(ibest, ibest)); in inverse() 282 double v = Math.abs(scratch.get(ii, i)); in inverse() 289 for (int j = 0; j < scratch.m; j++) { in inverse() 290 double t = scratch.get(i, j); in inverse() 291 scratch.put(i, j, scratch.get(ibest, j)); in inverse() 292 scratch.put(ibest, j, t); in inverse() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorEventConnection.cpp | 231 sensors_event_t* scratch, in sendEvents() argument 239 if (scratch) { in sendEvents() 285 scratch[count++] = buffer[i]; in sendEvents() 291 scratch[count++] = buffer[i]; in sendEvents() 302 scratch = const_cast<sensors_event_t *>(buffer); in sendEvents() 306 scratch = sanitizedBuffer.get(); in sendEvents() 309 scratch[count++] = buffer[i++]; in sendEvents() 327 appendEventsToCacheLocked(scratch, count); in sendEvents() 333 index_wake_up_event = findWakeUpSensorEventLocked(scratch, count); in sendEvents() 335 scratch[index_wake_up_event].flags |= WAKE_UP_SENSOR_EVENT_NEEDS_ACK; in sendEvents() [all …]
|
D | SensorEventConnection.h | 56 status_t sendEvents(sensors_event_t const* buffer, size_t count, sensors_event_t* scratch, 87 void countFlushCompleteEventsLocked(sensors_event_t const* scratch, int numEventsDropped); 93 int findWakeUpSensorEventLocked(sensors_event_t const* scratch, int count); 110 void reAllocateCacheLocked(sensors_event_t const* scratch, int count);
|
/frameworks/base/tools/bit/ |
D | adb.cpp | 182 skip_bytes(int fd, ssize_t size, char* scratch, int scratchSize) in skip_bytes() argument 187 amt = read(fd, scratch, amt); in skip_bytes() 202 skip_unknown_field(int fd, uint64_t tag, char* scratch, int scratchSize) { in skip_unknown_field() argument 217 return skip_bytes(fd, 8, scratch, scratchSize); in skip_unknown_field() 229 return skip_bytes(fd, (ssize_t)size, scratch, scratchSize); in skip_unknown_field() 231 return skip_bytes(fd, 4, scratch, scratchSize); in skip_unknown_field() 239 read_instrumentation_results(int fd, char* scratch, int scratchSize, in read_instrumentation_results() argument 267 err = skip_unknown_field(fd, tag, scratch, scratchSize); in read_instrumentation_results()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | BasicGLRenderer.java | 47 float[] scratch = new float[16]; in onDrawFrame() local 59 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBTestUtilities.m | 2191 GPBInt32Array *scratch = [GPBInt32Array array]; 2193 [scratch addValue:201 + i * 100]; 2195 [message setValue:scratch forKey:@"repeatedInt32Array"]; 2198 GPBInt64Array *scratch = [GPBInt64Array array]; 2200 [scratch addValue:202 + i * 100]; 2202 [message setValue:scratch forKey:@"repeatedInt64Array"]; 2205 GPBUInt32Array *scratch = [GPBUInt32Array array]; 2207 [scratch addValue:203 + i * 100]; 2209 [message setValue:scratch forKey:@"repeatedUint32Array"]; 2212 GPBUInt64Array *scratch = [GPBUInt64Array array]; [all …]
|
/frameworks/ml/nn/common/operations/ |
D | SVDF.cpp | 180 float scratch[batch_size * num_filters]; in EvalFloat32() local 183 float* scratch_ptr_batch = scratch + b * num_filters; in EvalFloat32() 199 float* scratch_ptr_batch = scratch + b * num_filters; in EvalFloat32()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | wire_format.cc | 911 string scratch; in SerializeFieldWithCachedSizes() local 914 message, field, j, &scratch) : in SerializeFieldWithCachedSizes() 915 message_reflection->GetStringReference(message, field, &scratch); in SerializeFieldWithCachedSizes() 929 string scratch; in SerializeFieldWithCachedSizes() local 932 message, field, j, &scratch) : in SerializeFieldWithCachedSizes() 933 message_reflection->GetStringReference(message, field, &scratch); in SerializeFieldWithCachedSizes() 1098 string scratch; in FieldDataOnlyByteSize() local 1101 message, field, j, &scratch) : in FieldDataOnlyByteSize() 1102 message_reflection->GetStringReference(message, field, &scratch); in FieldDataOnlyByteSize()
|
D | test_util.cc | 2555 string scratch; in ExpectOneofSetViaReflection() local 2575 message, descriptor->FindFieldByName("bar_cord"), &scratch)); in ExpectOneofSetViaReflection() 2583 message, descriptor->FindFieldByName("baz_string"), &scratch)); in ExpectOneofSetViaReflection() 2634 string scratch; in ExpectAllFieldsSetViaReflection1() local 2696 EXPECT_EQ("115", reflection->GetStringReference(message, F("optional_string"), &scratch)); in ExpectAllFieldsSetViaReflection1() 2697 EXPECT_EQ("116", reflection->GetStringReference(message, F("optional_bytes" ), &scratch)); in ExpectAllFieldsSetViaReflection1() 2717 EXPECT_EQ("124", reflection->GetStringReference(message, F("optional_string_piece"), &scratch)); in ExpectAllFieldsSetViaReflection1() 2720 EXPECT_EQ("125", reflection->GetStringReference(message, F("optional_cord"), &scratch)); in ExpectAllFieldsSetViaReflection1() 2741 string scratch; in ExpectAllFieldsSetViaReflection2() local 2790 …PECT_EQ("215", reflection->GetRepeatedStringReference(message, F("repeated_string"), 0, &scratch)); in ExpectAllFieldsSetViaReflection2() [all …]
|
D | generated_message_reflection.h | 253 string* scratch) const; 333 int index, string* scratch) const;
|
D | message.h | 546 string* scratch) const = 0; 657 int index, string* scratch) const = 0;
|
D | generated_message_reflection_unittest.cc | 119 string scratch; in TEST() local 122 &reflection->GetStringReference(message, F("optional_string"), &scratch)) in TEST() 127 0, &scratch)) in TEST()
|
D | text_format.cc | 1815 string scratch; in PrintFieldValue() local 1818 message, field, index, &scratch) in PrintFieldValue() 1819 : reflection->GetStringReference(message, field, &scratch); in PrintFieldValue()
|
D | generated_message_reflection.cc | 1164 const FieldDescriptor* field, string* scratch) const { in GetStringReference() 1231 int index, string* scratch) const { in GetRepeatedStringReference()
|
D | map_test_util.cc | 968 string scratch; in ExpectMapFieldsSetViaReflection() local 1308 string scratch; in ExpectMapFieldsSetViaReflectionIterator() local
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder.cc | 429 std::array<Value, kMaxArgs> scratch = GetScratchRegisters<kMaxArgs>(); in EncodeInvoke() local 450 EncodeMove(Instruction::OpWithArgs(move_op, scratch[i], instruction.args()[i])); in EncodeInvoke() 456 RegisterValue(scratch[0])); in EncodeInvoke()
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 1722 ANeuralNetworksOperandType scratch = floatTensor2D; in TEST() local 1751 {scratch, outputStateOut, cellStateOut, output}); in TEST() 1810 ANeuralNetworksOperandType scratch = floatTensor2D; in lstmTestV1_2() local 1843 {scratch, outputStateOut, cellStateOut, output}); in lstmTestV1_2()
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 1118 RunTimeOperandInfo& scratch = mOperands[outs[LSTMCell::kScratchBufferTensor]]; in executeOperation() local 1128 setInfoAndAllocateIfNeeded(&scratch, scratchShape, &result) && in executeOperation()
|
/frameworks/native/vulkan/api/ |
D | vulkan.api | 11653 VkBuffer scratch,
|