Searched refs:temp (Results 1 - 25 of 31) sorted by relevance

12

/system/bt/embdrv/sbc/encoder/srce/
H A Dsbc_dct.c87 register SINT32 x0, x1, x2, x3, x4, x5, x6, x7,temp; local
102 temp = x0 ;
104 SBC_IDCT_MULT(SBC_COS_PI_SUR_4, ( temp - x4 ), x4); /*x4 = ( temp - x4 ) * cos(1*pi/4) ; */
112 temp = x2 ;
114 SBC_IDCT_MULT(SBC_COS_3PI_SUR_8,( temp - x6 ), x6); /*x6 = ( temp - x6 ) * cos(3*pi/8) ;*/
131 temp = x1 ;
133 x5 = temp - x5 ;
141 temp
209 SINT32 temp,x2; local
[all...]
/system/core/toolbox/upstream-netbsd/lib/libc/string/
H A Dswab.c50 char temp; local
63 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp32 component_t& temp, // incomming fragment / output
40 integer_t fragment(temp.reg, temp.h, temp.flags);
41 if (!(temp.flags & CORRUPTIBLE)) {
42 temp.reg = regs.obtain();
43 temp.flags |= CORRUPTIBLE;
59 build_blendFOneMinusF(temp, factor, fragment, fogColor);
64 component_t& temp, // incomming fragment / output
77 if (!temp
31 build_fog( component_t& temp, int component, Scratch& regs) argument
63 build_blending( component_t& temp, const pixel_t& pixel, int component, Scratch& regs) argument
[all...]
H A Dtexturing.cpp905 int temp = scratches.obtain(); local
920 AND(AL, 0, temp, mask, pixel);
926 MUL(AL, 0, dh, temp, u);
927 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
928 MUL(AL, 0, dl, temp, u);
936 AND(AL, 0, temp, mask, pixel);
942 MLA(AL, 0, dh, temp, u, dh);
943 AND(AL, 0, temp, mask, reg_imm(pixel, LSR, 8));
944 MLA(AL, 0, dl, temp, u, dl);
951 AND(AL, 0, temp, mas
[all...]
/system/media/audio_utils/
H A Dtinysndfile.c31 uint8_t *temp; // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping member in struct:SNDFILE_
76 handle->temp = NULL;
370 handle->temp = NULL;
403 free(handle->temp);
432 void *temp = NULL; local
435 temp = malloc(desiredBytes);
436 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
451 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels);
452 free(temp);
455 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrame
481 void *temp = NULL; local
531 void *temp = NULL; local
[all...]
H A Dchannels.c37 int32_t temp = (val.c[0] << 24 | val.c[1] << 16 | val.c[2] << 8) >> 8; local
39 int32_t temp = (val.c[2] << 24 | val.c[1] << 16 | val.c[0] << 8) >> 8;
41 return clamp24(temp);
171 /* *dst_ptr++ = temp >> 1; */ \
199 int32_t temp; \
202 temp = uint8x3_to_int32(*src_ptr++); \
203 temp += uint8x3_to_int32(*src_ptr++); \
204 *dst_ptr = int32_to_uint8x3(temp >> 1); \
H A Dprimitives.c270 int32_t temp = *src++; local
271 dst[0] = temp;
272 dst[1] = temp;
288 float temp = *src++; local
289 dst[0] = temp;
290 dst[1] = temp;
/system/core/libnetutils/
H A Dpacket.c97 uint16_t temp; local
122 temp = htons(IPPROTO_UDP);
123 udpsum = checksum(&temp, sizeof(temp), udpsum);
124 temp = udp.len;
125 udpsum = checksum(&temp, sizeof(temp), udpsum);
168 uint16_t temp; local
230 temp = packet.udp.check;
233 packet.udp.check = temp;
[all...]
/system/bt/bta/ar/
H A Dbta_ar.c249 UINT8 temp[8], *p; local
280 p = temp;
283 (UINT32)2, (UINT8*)temp);
301 UINT8 temp[8], *p; local
332 p = temp;
335 (UINT32)2, (UINT8*)temp);
/system/bt/utils/src/
H A Dbt_utils.c101 int temp; local
102 if (sscanf(buf, "%d", &temp) == 1) {
103 g_DoSchedulingGroup[g_TaskIdx] = temp == 0;
/system/core/libcutils/
H A Dfs.c110 char temp[PATH_MAX]; local
111 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) {
116 int fd = TEMP_FAILURE_RETRY(mkstemp(temp));
118 ALOGE("Failed to open %s: %s", temp, strerror(errno));
129 ALOGE("Failed to write %s: %s", temp, strerror(errno));
133 ALOGE("Failed to close %s: %s", temp, strerror(errno));
137 if (rename(temp, path) == -1) {
138 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno));
147 unlink(temp);
/system/bt/btif/src/
H A Dbtif_sdp_server.c381 UINT8 temp[4]; local
382 UINT8* p_temp = temp;
434 UINT_DESC_TYPE, (UINT32)4, temp);
438 p_temp = temp;// The macro modifies p_temp, hence rewind.
441 UINT_DESC_TYPE, (UINT32)2, temp);
470 UINT8 temp[4]; local
471 UINT8* p_temp = temp;
513 UINT_DESC_TYPE, (UINT32)4, temp);
517 p_temp = temp;// The macro modifies p_temp, hence rewind.
520 UINT_DESC_TYPE, (UINT32)2, temp);
549 UINT8 temp[4]; local
637 UINT8 temp[4]; local
[all...]
H A Dbtif_sock_sco.c242 uint16_t temp = sco_socket->sco_handle; local
244 new_sco_socket->sco_handle = temp;
/system/bt/stack/smp/
H A Dp_256_multprecision.c97 DWORD temp; local
102 temp = a[i] + carrier;
103 carrier = (temp < carrier);
104 temp += b[i];
105 carrier |= (temp < b[i]);
106 c[i]=temp;
116 DWORD temp; local
121 temp = a[i] - borrow;
122 borrow = (temp > a[i]);
123 c[i] = temp
167 DWORD temp; local
256 DWORD temp; local
[all...]
/system/core/adb/
H A Dadb_main.cpp165 char temp[ MAX_PATH ]; local
169 GetTempPath( sizeof(temp) - 8, temp );
170 strcat( temp, "adb.log" );
177 flog = fopen( temp, "at" );
H A Dadb.cpp626 char temp[3]; local
629 ret = ReadFile( pipe_read, temp, 3, &count, NULL );
635 if (count != 3 || temp[0] != 'O' || temp[1] != 'K' || temp[2] != '\n') {
672 char temp[3];
674 temp[0] = 'A'; temp[1] = 'B'; temp[2] = 'C';
677 int ret = adb_read(fd[0], temp,
[all...]
H A Djdwp_service.cpp264 char temp[5]; local
287 memcpy(temp, proc->in_buff, 4);
288 temp[4] = 0;
290 if (sscanf( temp, "%04x", &proc->pid ) != 1) {
291 D("could not decode JDWP %p PID number: '%s'\n", proc, temp);
/system/bt/stack/avrc/
H A Davrc_sdp.c225 UINT8 temp[8]; local
273 p = temp;
276 (UINT32)2, (UINT8*)temp);
/system/core/libutils/
H A DVectorImpl.cpp173 void* temp = 0; local
180 if (!temp) {
184 temp = malloc(mItemSize);
185 if (!temp) return NO_MEMORY;
189 _do_destroy(temp, 1);
192 _do_copy(temp, item, 1);
202 } while (j>=0 && (cmp(curr, temp, state) > 0));
205 _do_copy(next, temp, 1);
210 if (temp) {
211 _do_destroy(temp,
[all...]
/system/core/libpixelflinger/
H A Dfixed.cpp115 GGLfixed temp = bit + (r<<1); local
116 if (bshift >= 8) temp <<= (bshift-8);
117 else temp >>= (8-bshift);
118 if (a >= temp) {
120 a -= temp;
/system/extras/perfprofd/
H A DAndroid.mk71 # Clean temp vars
/system/extras/perfprofd/tests/
H A DAndroid.mk46 # Clean temp vars
/system/bt/stack/a2dp/
H A Da2d_api.c174 UINT8 temp[8]; local
205 p = temp;
208 (UINT32)2, (UINT8*)temp);
/system/core/libsync/tests/
H A Dsync_test.cpp150 SyncFence temp(*begin(sources));
152 temp = SyncFence(*itr, temp);
154 if (temp.isValid()) {
155 setFd(temp.getFd());
156 temp.clearFd();
/system/bt/stack/avct/
H A Davct_lcb_act.c543 UINT16 temp; local
558 temp = (curr_msg_len + AVCT_HDR_LEN_START - p_lcb->peer_mtu);
559 nosp = temp / (p_lcb->peer_mtu - 1) + 1;
560 if ( (temp % (p_lcb->peer_mtu - 1)) != 0)

Completed in 457 milliseconds

12