/system/sepolicy/tools/fc_sort/ |
D | fc_sort.c | 135 file_context_node_t *temp; in fc_merge() local 150 temp = a; in fc_merge() 152 b = temp; in fc_merge() 168 temp = a_current->next; in fc_merge() 171 a_current->next->next = temp; in fc_merge() 215 file_context_bucket_t *temp; in fc_merge_sort() local 234 temp = current->next; in fc_merge_sort() 237 free(temp); in fc_merge_sort() 321 file_context_node_t *temp; in main() local 372 temp = (file_context_node_t *)malloc(sizeof(file_context_node_t)); in main() [all …]
|
/system/bt/embdrv/sbc/encoder/srce/ |
D | sbc_dct.c | 87 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/ |
D | blending.cpp | 32 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 …]
|
/system/media/audio_utils/ |
D | tinysndfile.c | 32 uint8_t *temp; // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping member 77 handle->temp = NULL; in sf_open_read() 369 handle->temp = NULL; in sf_open_write() 402 free(handle->temp); in sf_close() 431 void *temp = NULL; in sf_readf_short() local 434 temp = malloc(desiredBytes); in sf_readf_short() 435 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream); in sf_readf_short() 450 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels); in sf_readf_short() 451 free(temp); in sf_readf_short() 454 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrames * handle->info.channels); in sf_readf_short() [all …]
|
D | channels.c | 37 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); \
|
D | primitives.c | 270 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/libpixelflinger/tests/arch-mips64/disassembler/ |
D | mips64_disassembler_test.cpp | 174 char temp[256], address[16]; in main() local 175 strcpy(temp, test->instr); in main() 177 strcat(temp, address); in main() 178 if(strcmp(instr, temp) != 0) in main() 183 "Actual : %s\n", test->code, temp, instr); in main() 195 char temp[256], address[16]; in main() local 196 strcpy(temp, test->instr); in main() 198 strcat(temp, address); in main() 199 if(strcmp(instr, temp) != 0) in main() 204 "Actual : '%s'\n", test->code, temp, instr); in main()
|
/system/core/libnetutils/ |
D | packet.c | 97 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/ |
D | fs.c | 146 char temp[PATH_MAX]; in fs_write_atomic_int() local 147 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) { in fs_write_atomic_int() 152 int fd = TEMP_FAILURE_RETRY(mkstemp(temp)); in fs_write_atomic_int() 154 ALOGE("Failed to open %s: %s", temp, strerror(errno)); in fs_write_atomic_int() 165 ALOGE("Failed to write %s: %s", temp, strerror(errno)); in fs_write_atomic_int() 169 ALOGE("Failed to close %s: %s", temp, strerror(errno)); in fs_write_atomic_int() 173 if (rename(temp, path) == -1) { in fs_write_atomic_int() 174 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno)); in fs_write_atomic_int() 183 unlink(temp); in fs_write_atomic_int()
|
/system/bt/btif/src/ |
D | btif_sdp_server.c | 380 UINT8 temp[4]; in add_maps_sdp() local 381 UINT8* p_temp = temp; in add_maps_sdp() 433 UINT_DESC_TYPE, (UINT32)4, temp); in add_maps_sdp() 437 p_temp = temp;// The macro modifies p_temp, hence rewind. in add_maps_sdp() 440 UINT_DESC_TYPE, (UINT32)2, temp); in add_maps_sdp() 469 UINT8 temp[4]; in add_mapc_sdp() local 470 UINT8* p_temp = temp; in add_mapc_sdp() 512 UINT_DESC_TYPE, (UINT32)4, temp); in add_mapc_sdp() 516 p_temp = temp;// The macro modifies p_temp, hence rewind. in add_mapc_sdp() 519 UINT_DESC_TYPE, (UINT32)2, temp); in add_mapc_sdp() [all …]
|
D | btif_uid.c | 52 uid_set_node_t* temp = node; in uid_set_destroy() local 54 osi_free(temp); in uid_set_destroy()
|
/system/core/toolbox/upstream-netbsd/lib/libc/string/ |
D | swab.c | 50 char temp; in swab() local 63 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp in swab()
|
/system/bt/service/common/bluetooth/util/ |
D | address_helper.cpp | 49 char* temp = nullptr; in BdAddrFromString() local 50 out_addr->address[i] = strtol(token.c_str(), &temp, 16); in BdAddrFromString() 51 if (*temp != '\0') in BdAddrFromString()
|
/system/bt/stack/smp/ |
D | p_256_multprecision.c | 97 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/ |
D | bta_ar.c | 250 UINT8 temp[8], *p; in bta_ar_reg_avrc() local 284 p = temp; in bta_ar_reg_avrc() 287 (UINT32)2, (UINT8*)temp); in bta_ar_reg_avrc() 305 UINT8 temp[8], *p; in bta_ar_dereg_avrc() local 336 p = temp; in bta_ar_dereg_avrc() 339 (UINT32)2, (UINT8*)temp); in bta_ar_dereg_avrc()
|
/system/bt/utils/src/ |
D | bt_utils.c | 102 int temp; in check_do_scheduling_group() local 103 if (sscanf(buf, "%d", &temp) == 1) { in check_do_scheduling_group() 104 g_DoSchedulingGroup[g_TaskIdx] = temp == 0; in check_do_scheduling_group()
|
/system/core/init/ |
D | perfboot.py | 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/ |
D | VectorImpl.cpp | 180 void* temp = 0; in sort() local 187 if (!temp) { in sort() 191 temp = malloc(mItemSize); in sort() 192 if (!temp) return NO_MEMORY; in sort() 196 _do_destroy(temp, 1); in sort() 199 _do_copy(temp, item, 1); in sort() 212 } while (j>=0 && (cmp(curr, temp, state) > 0)); in sort() 215 _do_copy(next, temp, 1); in sort() 220 if (temp) { in sort() 221 _do_destroy(temp, 1); in sort() [all …]
|
/system/core/adb/ |
D | adb_utils.h | 81 int temp = fd_; in Release() local 83 return temp; in Release()
|
D | adb.cpp | 780 char temp[3]; in launch_server() local 783 if (ReadFile(ack_read.get(), temp, sizeof(temp), &count, NULL)) { in launch_server() 787 memcmp(temp, expected, expected_length) == 0) { in launch_server() 870 char temp[3]; in launch_server() 872 temp[0] = 'A'; temp[1] = 'B'; temp[2] = 'C'; in launch_server() 875 int ret = adb_read(fd[0], temp, 3); in launch_server() 882 if (ret != 3 || temp[0] != 'O' || temp[1] != 'K' || temp[2] != '\n') { in launch_server()
|
/system/core/libpixelflinger/ |
D | fixed.cpp | 115 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/service/common/bluetooth/ |
D | uuid.cpp | 107 char* temp = nullptr; in UUID() local 108 id_[start_index + i] = strtol(octet_text.c_str(), &temp, 16); in UUID() 109 if (*temp != '\0') in UUID()
|
/system/bt/stack/avrc/ |
D | avrc_sdp.c | 200 UINT8 temp[8]; in AVRC_AddRecord() local 257 p = temp; in AVRC_AddRecord() 260 (UINT32)2, (UINT8*)temp); in AVRC_AddRecord()
|
/system/webservd/webservd/ |
D | config_unittest.cc | 141 base::ScopedTempDir temp; in TEST() local 142 ASSERT_TRUE(temp.CreateUniqueTempDir()); in TEST() 143 base::FilePath config_path{temp.path().Append("test.config")}; in TEST()
|
/system/core/bootstat/ |
D | bootstat.cpp | 90 std::vector<char> temp(PROPERTY_VALUE_MAX); in GetProperty() local 91 const int len = property_get(key, &temp[0], nullptr); in GetProperty() 95 return std::string(&temp[0], len); in GetProperty()
|