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

123

/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
373 temp
[all...]
/system/bt/embdrv/sbc/encoder/srce/
H A Dsbc_dct.c99 register int32_t x0, x1, x2, x3, x4, x5, x6, x7, temp; local
114 temp = x0;
117 SBC_IDCT_MULT(SBC_COS_PI_SUR_4, (temp - x4),
118 x4); /*x4 = ( temp - x4 ) * cos(1*pi/4) ; */
126 temp = x2;
129 SBC_IDCT_MULT(SBC_COS_3PI_SUR_8, (temp - x6),
130 x6); /*x6 = ( temp - x6 ) * cos(3*pi/8) ;*/
146 temp = x1;
148 x5 = temp - x5;
156 temp
231 int32_t 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.cpp33 component_t& temp, // incomming fragment / output
41 integer_t fragment(temp.reg, temp.h, temp.flags);
42 if (!(temp.flags & CORRUPTIBLE)) {
43 temp.reg = regs.obtain();
44 temp.flags |= CORRUPTIBLE;
60 build_blendFOneMinusF(temp, factor, fragment, fogColor);
65 component_t& temp, // incomming fragment / output
78 if (!temp
32 build_fog( component_t& temp, int component, Scratch& regs) argument
64 build_blending( component_t& temp, const pixel_t& pixel, int component, Scratch& regs) argument
[all...]
/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/bt/types/
H A Draw_address.cc56 char* temp = nullptr; local
57 new_addr.address[i] = strtol(token.c_str(), &temp, 16);
58 if (*temp != '\0') return false;
/system/core/libnetutils/
H A Dpacket.c96 uint16_t temp; local
121 temp = htons(IPPROTO_UDP);
122 udpsum = checksum(&temp, sizeof(temp), udpsum);
123 temp = udp.len;
124 udpsum = checksum(&temp, sizeof(temp), udpsum);
167 uint16_t temp; local
243 temp = packet.udp.check;
246 packet.udp.check = temp;
[all...]
/system/nfc/halimpl/bcm2079x/adaptation/
H A DHalAdaptation.cpp83 char temp[120]; local
118 if (GetStrValue(NAME_UART_PARITY, temp, sizeof(temp))) {
119 if (strcmp(temp, "even") == 0)
121 else if (strcmp(temp, "odd") == 0)
123 else if (strcmp(temp, "none") == 0)
128 if (GetStrValue(NAME_UART_STOPBITS, temp, sizeof(temp))) {
129 if (strcmp(temp, "1") == 0)
131 else if (strcmp(temp, "
[all...]
/system/bt/bta/ar/
H A Dbta_ar.cc223 uint8_t temp[8], *p; local
251 p = temp;
254 UINT_DESC_TYPE, (uint32_t)2, (uint8_t*)temp);
272 uint8_t temp[8], *p; local
294 p = temp;
297 UINT_DESC_TYPE, (uint32_t)2, (uint8_t*)temp);
/system/bt/utils/src/
H A Dbt_utils.cc97 int temp; local
98 if (sscanf(buf, "%d", &temp) == 1) {
99 g_DoSchedulingGroup[g_TaskIdx] = temp == 0;
/system/core/libcutils/
H A Dfs.c147 char temp[PATH_MAX]; local
148 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) {
153 int fd = TEMP_FAILURE_RETRY(mkstemp(temp));
155 ALOGE("Failed to open %s: %s", temp, strerror(errno));
166 ALOGE("Failed to write %s: %s", temp, strerror(errno));
170 ALOGE("Failed to close %s: %s", temp, strerror(errno));
174 if (rename(temp, path) == -1) {
175 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno));
184 unlink(temp);
/system/bt/btif/src/
H A Dbtif_sdp_server.cc378 uint8_t temp[4]; local
379 uint8_t* p_temp = temp;
432 UINT_DESC_TYPE, (uint32_t)4, temp);
436 p_temp = temp; // The macro modifies p_temp, hence rewind.
439 UINT_DESC_TYPE, (uint32_t)2, temp);
466 uint8_t temp[4]; local
467 uint8_t* p_temp = temp;
509 UINT_DESC_TYPE, (uint32_t)4, temp);
513 p_temp = temp; // The macro modifies p_temp, hence rewind.
516 UINT_DESC_TYPE, (uint32_t)2, temp);
543 uint8_t temp[4]; local
628 uint8_t temp[4]; local
[all...]
H A Dbtif_uid.cc49 uid_set_node_t* temp = node; local
51 osi_free(temp);
/system/bt/stack/smp/
H A Dp_256_multprecision.cc81 uint32_t temp; local
85 temp = a[i] + carrier;
86 carrier = (temp < carrier);
87 temp += b[i];
88 carrier |= (temp < b[i]);
89 c[i] = temp;
99 uint32_t temp; local
103 temp = a[i] - borrow;
104 borrow = (temp > a[i]);
105 c[i] = temp
140 uint32_t temp; local
213 uint32_t temp; local
[all...]
/system/bt/service/common/bluetooth/
H A Duuid.cc96 char* temp = nullptr; local
97 id_[start_index + i] = strtol(octet_text.c_str(), &temp, 16);
98 if (*temp != '\0') return;
/system/bt/stack/avrc/
H A Davrc_sdp.cc192 uint8_t temp[8]; local
249 p = temp;
252 UINT_DESC_TYPE, (uint32_t)2, (uint8_t*)temp);
/system/chre/core/tests/
H A Dmemory_manager_test.cc92 node *temp = curr->next; local
94 curr = 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/bt/stack/hid/
H A Dhidd_api.cc269 uint16_t temp; local
271 p = (uint8_t*)&temp;
274 UINT_DESC_TYPE, 2, (uint8_t*)&temp);
276 p = (uint8_t*)&temp;
279 UINT_DESC_TYPE, 2, (uint8_t*)&temp);
353 p = (uint8_t*)&temp;
356 UINT_DESC_TYPE, 2, (uint8_t*)&temp);
/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/core/adb/
H A Djdwp_service.cpp185 std::string temp; local
194 if (temp.length() + next.length() > bufferlen) {
198 temp.append(next);
201 memcpy(buffer, temp.data(), temp.length());
202 return temp.length();

Completed in 412 milliseconds

123