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

12

/system/sepolicy/tools/fc_sort/
H A Dfc_sort.c135 file_context_node_t *temp; local
150 temp = a;
152 b = temp;
168 temp = a_current->next;
171 a_current->next->next = temp;
215 file_context_bucket_t *temp; local
234 temp = current->next;
237 free(temp);
321 file_context_node_t *temp; local
372 temp
[all...]
/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...]
/system/bt/service/common/bluetooth/util/
H A Daddress_helper.cpp49 char* temp = nullptr; local
50 out_addr->address[i] = strtol(token.c_str(), &temp, 16);
51 if (*temp != '\0')
/system/media/audio_utils/
H A Dtinysndfile.c32 uint8_t *temp; // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping member in struct:SNDFILE_
77 handle->temp = NULL;
369 handle->temp = NULL;
402 free(handle->temp);
431 void *temp = NULL; local
434 temp = malloc(desiredBytes);
435 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
450 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels);
451 free(temp);
454 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrame
480 void *temp = NULL; local
530 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/libpixelflinger/tests/arch-mips64/disassembler/
H A Dmips64_disassembler_test.cpp174 char temp[256], address[16]; local
175 strcpy(temp, test->instr);
177 strcat(temp, address);
178 if(strcmp(instr, temp) != 0)
183 "Actual : %s\n", test->code, temp, instr);
195 char temp[256], address[16]; local
196 strcpy(temp, test->instr);
198 strcat(temp, address);
199 if(strcmp(instr, temp) != 0)
204 "Actual : '%s'\n", test->code, temp, inst
[all...]
/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.c250 UINT8 temp[8], *p; local
284 p = temp;
287 (UINT32)2, (UINT8*)temp);
305 UINT8 temp[8], *p; local
336 p = temp;
339 (UINT32)2, (UINT8*)temp);
/system/bt/utils/src/
H A Dbt_utils.c102 int temp; local
103 if (sscanf(buf, "%d", &temp) == 1) {
104 g_DoSchedulingGroup[g_TaskIdx] = temp == 0;
/system/core/libcutils/
H A Dfs.c146 char temp[PATH_MAX]; local
147 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) {
152 int fd = TEMP_FAILURE_RETRY(mkstemp(temp));
154 ALOGE("Failed to open %s: %s", temp, strerror(errno));
165 ALOGE("Failed to write %s: %s", temp, strerror(errno));
169 ALOGE("Failed to close %s: %s", temp, strerror(errno));
173 if (rename(temp, path) == -1) {
174 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno));
183 unlink(temp);
/system/core/adb/
H A Dadb_utils.h81 int temp = fd_; local
83 return temp;
H A Dadb.cpp780 char temp[3]; local
783 if (ReadFile(ack_read.get(), temp, sizeof(temp), &count, NULL)) {
787 memcmp(temp, expected, expected_length) == 0) {
870 char temp[3];
872 temp[0] = 'A'; temp[1] = 'B'; temp[2] = 'C';
875 int ret = adb_read(fd[0], temp, 3);
882 if (ret != 3 || temp[
[all...]
/system/bt/btif/src/
H A Dbtif_sdp_server.c380 UINT8 temp[4]; local
381 UINT8* p_temp = temp;
433 UINT_DESC_TYPE, (UINT32)4, temp);
437 p_temp = temp;// The macro modifies p_temp, hence rewind.
440 UINT_DESC_TYPE, (UINT32)2, temp);
469 UINT8 temp[4]; local
470 UINT8* p_temp = temp;
512 UINT_DESC_TYPE, (UINT32)4, temp);
516 p_temp = temp;// The macro modifies p_temp, hence rewind.
519 UINT_DESC_TYPE, (UINT32)2, temp);
548 UINT8 temp[4]; local
635 UINT8 temp[4]; local
[all...]
H A Dbtif_uid.c52 uid_set_node_t* temp = node; local
54 osi_free(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/bt/service/common/bluetooth/
H A Duuid.cpp107 char* temp = nullptr; local
108 id_[start_index + i] = strtol(octet_text.c_str(), &temp, 16);
109 if (*temp != '\0')
/system/bt/stack/avrc/
H A Davrc_sdp.c200 UINT8 temp[8]; local
257 p = temp;
260 (UINT32)2, (UINT8*)temp);
/system/core/init/
H A Dperfboot.py95 ['ls', '/sys/class/thermal/thermal_zone*/temp'])[0].splitlines()
112 temp = int(self._device.shell(['cat', temp_path])[0].rstrip())
113 max_temp = max(max_temp, temp)
114 if temp >= threshold:
115 return temp
128 temp = self._get_cpu_temp(threshold)
129 if temp < threshold:
130 logging.info('Current CPU temperature %s' % temp)
133 temp, threshold)
/system/core/libutils/
H A DVectorImpl.cpp180 void* temp = 0; local
187 if (!temp) {
191 temp = malloc(mItemSize);
192 if (!temp) return NO_MEMORY;
196 _do_destroy(temp, 1);
199 _do_copy(temp, item, 1);
212 } while (j>=0 && (cmp(curr, temp, state) > 0));
215 _do_copy(next, temp, 1);
220 if (temp) {
221 _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/tests/
H A DAndroid.mk46 # Clean temp vars
/system/bt/stack/a2dp/
H A Da2d_api.c176 UINT8 temp[8]; local
207 p = temp;
210 (UINT32)2, (UINT8*)temp);

Completed in 676 milliseconds

12