Searched defs:temp (Results 1 - 25 of 34) sorted by relevance

12

/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/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/adb/
H A Dadb_utils.h81 int temp = fd_; local
83 return 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/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/webservd/webservd/
H A Dconfig_unittest.cc141 base::ScopedTempDir temp; local
142 ASSERT_TRUE(temp.CreateUniqueTempDir());
143 base::FilePath config_path{temp.path().Append("test.config")};
/system/bt/btif/src/
H A Dbtif_uid.c52 uid_set_node_t* temp = node; local
54 osi_free(temp);
H A Dbtif_sock_sco.c244 uint16_t temp = sco_socket->sco_handle; local
246 new_sco_socket->sco_handle = temp;
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
636 UINT8 temp[4]; local
[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/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/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/media/audio_utils/
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 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...]
/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/stack/a2dp/
H A Da2d_api.c176 UINT8 temp[8]; local
207 p = temp;
210 (UINT32)2, (UINT8*)temp);
/system/bt/stack/avrc/
H A Davrc_sdp.c200 UINT8 temp[8]; local
257 p = temp;
260 (UINT32)2, (UINT8*)temp);
/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/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/stack/avct/
H A Davct_lcb_act.c535 UINT16 temp; local
550 temp = (curr_msg_len + AVCT_HDR_LEN_START - p_lcb->peer_mtu);
551 nosp = temp / (p_lcb->peer_mtu - 1) + 1;
552 if ( (temp % (p_lcb->peer_mtu - 1)) != 0)
/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/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/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/extras/showslab/
H A Dshowslab.c163 struct slab_info *temp = list->next; local
165 list = temp;
/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...]

Completed in 1895 milliseconds

12