/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_scratch.c | 39 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->offset += size 76 struct nouveau_scratch_state *scratch = local 91 struct nouveau_scratch_state *scratch = local [all...] |
/external/strace/linux/arc/ |
get_scno.c | 5 tcp->scno = arc_regs.scratch.r8;
|
get_error.c | 4 if (check_errno && is_negated_errno(arc_regs.scratch.r0)) { 6 tcp->u_error = -arc_regs.scratch.r0; 8 tcp->u_rval = arc_regs.scratch.r0;
|
arch_regs.c | 2 unsigned long *const arc_sp_ptr = &arc_regs.scratch.sp;
|
set_scno.c | 4 arc_regs.scratch.r8 = scno;
|
set_error.c | 4 arc_regs.scratch.r0 = -tcp->u_error; 11 arc_regs.scratch.r0 = tcp->u_rval;
|
get_syscall_args.c | 5 unsigned long *arc_args = &arc_regs.scratch.r0;
|
/external/libopus/celt/mips/ |
kiss_fft_mipsr1.h | 99 kiss_fft_cpx scratch[13]; local 128 scratch[0] = *Fout0; 131 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); 132 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); 133 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); 134 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); 136 C_ADD( scratch[7],scratch[1],scratch[4]); 137 C_SUB( scratch[10],scratch[1],scratch[4]) [all...] |
/external/mesa3d/src/gallium/drivers/swr/ |
swr_scratch.cpp | 77 /* Copy user_buffer to scratch */ 88 struct swr_scratch_buffers *scratch; local 90 scratch = CALLOC_STRUCT(swr_scratch_buffers); 91 ctx->scratch = scratch; 97 struct swr_scratch_buffers *scratch = ctx->scratch; local 99 if (scratch) { 100 AlignedFree(scratch->vs_constants.base); 101 AlignedFree(scratch->fs_constants.base) [all...] |
/external/speex/libspeex/ |
kiss_fft.c | 96 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[2] ) 178 kiss_fft_cpx scratch[5]; local 223 kiss_fft_cpx scratch[13]; local [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLU.java | 75 float[] scratch = sScratch; local 76 synchronized(scratch) { 77 Matrix.setLookAtM(scratch, 0, eyeX, eyeY, eyeZ, centerX, centerY, centerZ, 79 gl.glMultMatrixf(scratch, 0); 150 float[] scratch = sScratch; local 151 synchronized(scratch) { 155 Matrix.multiplyMM(scratch, M_OFFSET, project, projectOffset, 158 scratch[V_OFFSET + 0] = objX; 159 scratch[V_OFFSET + 1] = objY; 160 scratch[V_OFFSET + 2] = objZ 216 float[] scratch = sScratch; local [all...] |
/external/boringssl/src/decrepit/xts/ |
xts.c | 71 } tweak, scratch; local 84 OPENSSL_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.u[1] ^= tweak.u[1] [all...] |
/external/libopus/celt/ |
kiss_fft.c | 137 kiss_fft_cpx scratch[6]; local 149 C_MUL(scratch[0],Fout[m] , *tw1 ); 150 C_MUL(scratch[1],Fout[m2] , *tw2 ); 151 C_MUL(scratch[2],Fout[m3] , *tw3 ); 153 C_SUB( scratch[5] , *Fout, scratch[1] ); 154 C_ADDTO(*Fout, scratch[1]); 155 C_ADD( scratch[3] , scratch[0] , scratch[2] ) 189 kiss_fft_cpx scratch[5]; local 246 kiss_fft_cpx scratch[13]; local [all...] |
/external/eigen/unsupported/Eigen/src/FFT/ |
ei_kissfft_impl.h | 111 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[2] 137 Complex scratch[5]; local 165 Complex scratch[13]; local [all...] |
/external/toybox/lib/ |
interestingtimes.c | 66 int scan_key_getsize(char *scratch, int miliwait, unsigned *xx, unsigned *yy) 70 if (512&(key = scan_key(scratch, miliwait))) { 145 // scratch space is necessary because last char of !seq could start new seq 146 // Zero out first byte of scratch before first call to scan_key 148 int scan_key(char *scratch, int miliwait) 160 if (*scratch) { 166 scratch[(1+*scratch)&15] = 0; 167 sscanf(scratch+1, "\033%n[%n%3u%n;%n%3u%nR%n", pos, pos+1, &y, 171 *scratch = 0 [all...] |
/device/google/contexthub/firmware/lib/libc/ |
strlen.c | 58 int scratch; local 67 : "=&r" (len), "=&r" (scratch) : "r" (str) : "memory", "cc"); 75 : "=&r" (end), "=&r" (scratch) : "0" (str) : "memory", "cc");
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractByteHasher.java | 31 * 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);
|
/art/compiler/utils/arm/ |
jni_macro_assembler_arm_vixl.h | 67 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE; 71 ManagedRegister scratch) OVERRIDE; 78 ManagedRegister scratch) OVERRIDE; 103 ManagedRegister scratch) OVERRIDE; 107 ManagedRegister scratch) OVERRIDE; 109 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE; 111 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE; 116 ManagedRegister scratch, 122 ManagedRegister scratch, 128 ManagedRegister scratch, [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
Matrix.java | 168 * Caller supplies an object to contain the result, as well as scratch space 233 * @param scratch is workspace of dimension n by 2*n 236 * @throws IllegalArgumentException if shape of scratch or result is wrong 238 public Matrix inverse(Matrix result, Matrix scratch) { 239 if (!(n == m && n == result.n && m == result.m && n == scratch.n && 2 * m == scratch.m)) { 245 scratch.put(i, j, get(i, j)); 246 scratch.put(i, m + j, i == j ? 1.0 : 0.0); 252 double vbest = Math.abs(scratch.get(ibest, ibest)); 254 double v = Math.abs(scratch.get(ii, i)) [all...] |
/external/toybox/toys/example/ |
test_scankey.c | 25 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)))
|
/art/compiler/utils/ |
jni_macro_assembler.h | 79 virtual void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) = 0; 83 ManagedRegister scratch) = 0; 90 ManagedRegister scratch) = 0; 115 ManagedRegister scratch) = 0; 119 ManagedRegister scratch) = 0; 121 virtual void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) = 0; 123 virtual void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) = 0; 128 ManagedRegister scratch, 134 ManagedRegister scratch, 140 ManagedRegister scratch, [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/ |
nouveau_context.h | 51 } scratch; member in struct:nouveau_context 74 /* This is needed because we don't hold references outside of context::scratch, 81 nv->scratch.wrap = nv->scratch.id; 82 if (unlikely(nv->scratch.runout)) 86 /* Get pointer to scratch buffer. 99 if (ctx->scratch.bo[i]) 100 nouveau_bo_ref(NULL, &ctx->scratch.bo[i]);
|
/art/compiler/utils/x86/ |
jni_macro_assembler_x86.h | 62 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE; 66 ManagedRegister scratch) OVERRIDE; 71 ManagedRegister scratch) OVERRIDE; 92 ManagedRegister scratch) OVERRIDE; 94 void CopyRawPtrToThread(ThreadOffset32 thr_offs, FrameOffset fr_offs, ManagedRegister scratch) 97 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE; 99 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE; 101 void Copy(FrameOffset dest, ManagedRegister src_base, Offset src_offset, ManagedRegister scratch, 104 void Copy(ManagedRegister dest_base, Offset dest_offset, FrameOffset src, ManagedRegister scratch, 107 void Copy(FrameOffset dest, FrameOffset src_base, Offset src_offset, ManagedRegister scratch, [all...] |
/art/compiler/utils/x86_64/ |
jni_macro_assembler_x86_64.h | 63 void StoreImmediateToFrame(FrameOffset dest, uint32_t imm, ManagedRegister scratch) OVERRIDE; 67 ManagedRegister scratch) OVERRIDE; 74 ManagedRegister scratch) OVERRIDE; 97 ManagedRegister scratch) OVERRIDE; 99 void CopyRawPtrToThread(ThreadOffset64 thr_offs, FrameOffset fr_offs, ManagedRegister scratch) 102 void CopyRef(FrameOffset dest, FrameOffset src, ManagedRegister scratch) OVERRIDE; 104 void Copy(FrameOffset dest, FrameOffset src, ManagedRegister scratch, size_t size) OVERRIDE; 109 ManagedRegister scratch, 115 ManagedRegister scratch, 121 ManagedRegister scratch, [all...] |
/external/gemmlowp/meta/ |
legacy_multi_thread_gemm.h | 34 void CacheFriendlyMatrixMatrix(std::uint8_t* scratch, const IN_TYPE* lhs, 46 scratch, lhs, rhs + i * chunk_size, m, optimal_n, k, 51 scratch, lhs, rhs + chunks_count_less_one * chunk_size, m, n_left, k, 54 operation.ExecuteCacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, 67 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, 71 CacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, result, result_stride, 75 void ExecuteCacheFriendlyMatrixMatrix(std::uint8_t* scratch, 81 gemm_q8_strided(scratch, lhs, rhs, m, n, k, lhs_offset, rhs_offset, 97 void ExecuteMatrixMatrix(std::uint8_t* scratch, const std::uint8_t* lhs, 101 CacheFriendlyMatrixMatrix(scratch, lhs, rhs, m, n, k, result, result_stride [all...] |