Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 30) sorted by relevance

12

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

12