Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/opengl/java/android/opengl/
DGLU.java75 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/
DMatrix.java266 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/
DSensorEventConnection.cpp231 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 …]
DSensorEventConnection.h56 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/
Dadb.cpp182 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/
DBasicGLRenderer.java47 float[] scratch = new float[16]; in onDrawFrame() local
59 Matrix.multiplyMM(scratch, 0, mMVPMatrix, 0, mRotationMatrix, 0); in onDrawFrame()
/frameworks/ml/nn/common/operations/
DSVDF.cpp196 float scratch[batch_size * num_filters]; in EvalFloat32() local
199 float* scratch_ptr_batch = scratch + b * num_filters; in EvalFloat32()
215 float* scratch_ptr_batch = scratch + b * num_filters; in EvalFloat32()
/frameworks/base/startop/view_compiler/
Ddex_builder.cc481 std::array<Value, kMaxArgs> scratch = GetScratchRegisters<kMaxArgs>(); in EncodeInvoke() local
502 EncodeMove(Instruction::OpWithArgs(move_op, scratch[i], instruction.args()[i])); in EncodeInvoke()
508 RegisterValue(scratch[0])); in EncodeInvoke()
/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp2644 ANeuralNetworksOperandType scratch = floatTensor2D; in TEST() local
2673 {scratch, outputStateOut, cellStateOut, output}); in TEST()
2732 ANeuralNetworksOperandType scratch = floatTensor2D; in lstmTestV1_2() local
2765 {scratch, outputStateOut, cellStateOut, output}); in lstmTestV1_2()
/frameworks/ml/nn/common/
DCpuExecutor.cpp1097 RunTimeOperandInfo& scratch = operands[outs[LSTMCell::kScratchBufferTensor]]; in executeOperation() local
1107 setInfoAndAllocateIfNeeded(&scratch, scratchShape, &result) && in executeOperation()
/frameworks/ml/nn/tools/api/
Dtypes.spec1644 * * 0: The scratch buffer.
/frameworks/native/vulkan/api/
Dvulkan.api11653 VkBuffer scratch,
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt103630 Ljava/io/RandomAccessFile;->scratch:[B