/device/common/ |
D | generate-factory-images-common.sh | 34 rm -rf tmp 35 mkdir -p tmp/$PRODUCT-$VERSION 40 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$XLOADERSRC 44 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$BOOTLOADERSRC 48 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$RADIOSRC 52 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/radio-cdma.img 56 cp ${SRCPREFIX}$PRODUCT-img-$BUILD.zip tmp/$PRODUCT-$VERSION/image-$PRODUCT-$VERSION.zip 59 cp tmp/RADIO/$XLOADERSRC tmp/$PRODUCT-$VERSION/xloader-$DEVICE-$XLOADER.img 63 cp tmp/RADIO/$BOOTLOADERSRC tmp/$PRODUCT-$VERSION/bootloader-$DEVICE-$BOOTLOADER.img 65 cp $BOOTLOADERFILE tmp/$PRODUCT-$VERSION/bootloader-$DEVICE-$BOOTLOADER.img [all …]
|
D | generate-packages.sh | 39 rm -rf tmp 40 FILEDIR=tmp/vendor/$COMPANY/$DEVICE/proprietary 42 FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE 46 FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE 128 cp -R $COMPANY/staging/* tmp/vendor/$COMPANY/$DEVICE || echo \ \ \ \ Error copying makefiles 133 cat PROLOGUE > tmp/$SCRIPT || echo \ \ \ \ Error generating script 134 cat $COMPANY/COPYRIGHT >> tmp/$SCRIPT || echo \ \ \ \ Error generating script 135 cat PART1 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script 136 cat $COMPANY/LICENSE >> tmp/$SCRIPT || echo \ \ \ \ Error generating script 137 cat PART2 >> tmp/$SCRIPT || echo \ \ \ \ Error generating script [all …]
|
/device/asus/fugu/libaudio/ |
D | alsa_utils.cpp | 34 char tmp[256]; in find_alsa_card_by_name() local 36 snprintf(tmp, sizeof(tmp), "/proc/asound/card%d/id", card_id); in find_alsa_card_by_name() 37 tmp[sizeof(tmp) - 1] = 0; in find_alsa_card_by_name() 38 fd = open(tmp, O_RDONLY); in find_alsa_card_by_name() 42 amt = read(fd, tmp, sizeof(tmp) - 1); in find_alsa_card_by_name() 45 tmp[amt - 1] = 0; in find_alsa_card_by_name() 46 if (!strcmp(name, tmp)) in find_alsa_card_by_name() 99 int tmp, mode_cnt; in loadCaps() local 125 if ((tmp = mixer_ctl_get_value(ctrls[kBasicAudNdx], 0)) <= 0) { in loadCaps() 137 if ((tmp = mixer_ctl_get_value(ctrls[kSpeakerAlloc], 0)) < 0) in loadCaps() [all …]
|
D | ATVAudioPolicyManager.cpp | 78 audio_devices_t tmp = AUDIO_DEVICE_NONE;; in setDeviceConnectionState() local 96 tmp = mAvailableOutputDevices.types() | device; in setDeviceConnectionState() 100 tmp = mAvailableOutputDevices.types() & ~device; in setDeviceConnectionState() 107 gAudioHardwareOutput.updateRouting(tmp); in setDeviceConnectionState() 108 tmp = mAvailableOutputDevices.types(); in setDeviceConnectionState() 118 if (tmp != mAvailableOutputDevices.types()) in setDeviceConnectionState()
|
D | AudioHardwareOutput.cpp | 289 uint32_t tmp = 0; in setParameters() local 290 if (mSettings.hdmi.allowed && (tmp < mSettings.hdmi.delayCompUsec)) in setParameters() 291 tmp = mSettings.hdmi.delayCompUsec; in setParameters() 292 if (mMaxDelayCompUsec != tmp) in setParameters() 293 mMaxDelayCompUsec = tmp; in setParameters() 365 String8 tmp; in getParameters() local 370 if (param.get(kHDMIAllowedParamKey, tmp) == NO_ERROR) in getParameters() 373 if (param.get(kHDMIDelayCompParamKey, tmp) == NO_ERROR) in getParameters() 377 if (param.get(kFixedHDMIOutputParamKey, tmp) == NO_ERROR) in getParameters() 380 if (param.get(kFixedHDMIOutputLevelParamKey, tmp) == NO_ERROR) in getParameters() [all …]
|
D | AudioHotplugThread.cpp | 153 uint64_t tmp = 1; in shutdown() local 154 ::write(mShutdownEventFD, &tmp, sizeof(tmp)); in shutdown()
|
/device/google/contexthub/contexthubhal/ |
D | message_buf.h | 100 uint16_t tmp = htole16(val); in writeU16() local 101 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU16() 102 pos += sizeof(tmp); in writeU16() 117 uint32_t tmp = htole32(val); in writeU32() local 118 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU32() 119 pos += sizeof(tmp); in writeU32() 134 uint64_t tmp = htole64(val); in writeU64() local 135 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU64() 136 pos += sizeof(tmp); in writeU64()
|
/device/google/contexthub/lib/nanohub/ |
D | rsa.c | 23 static bool biModIterative(uint32_t *num, const uint32_t *denum, uint32_t *tmp, uint32_t *state1, u… in biModIterative() argument 35 memcpy(tmp + 1, denum, RSA_BYTES); in biModIterative() 36 tmp[0] = 0; in biModIterative() 44 while (!(tmp[RSA_LIMBS] & 0x80000000)) { in biModIterative() 46 tmp[i] <<= 1; in biModIterative() 47 if (tmp[i - 1] & 0x80000000) in biModIterative() 48 tmp[i]++; in biModIterative() 60 if (num[limbsh + i] < tmp[i]) in biModIterative() 62 if (num[limbsh + i] > tmp[i]) in biModIterative() 70 t -= (uint64_t)tmp[i]; in biModIterative() [all …]
|
D | aes.c | 352 struct AesSetupTempWorksSpace tmp; in aesCbcInitForDecr() local 354 aesInitForDecr(&ctx->aes, &tmp, k); in aesCbcInitForDecr() 371 uint32_t i, tmp[AES_BLOCK_WORDS]; in aesCbcDecr() local 373 aesDecr(&ctx->aes, src, tmp); in aesCbcDecr() 375 tmp[i] ^= ctx->iv[i]; in aesCbcDecr() 378 memcpy(dst, tmp, sizeof(uint32_t[AES_BLOCK_WORDS])); in aesCbcDecr()
|
/device/generic/goldfish/opengl/system/GLESv1_enc/ |
D | gl_enc.cpp | 36 int tmp = OP_glAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; in glAlphaFunc_enc() local 62 int tmp = OP_glClearColor;memcpy(ptr, &tmp, 4); ptr += 4; in glClearColor_enc() local 90 int tmp = OP_glClearDepthf;memcpy(ptr, &tmp, 4); ptr += 4; in glClearDepthf_enc() local 116 int tmp = OP_glClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glClipPlanef_enc() local 143 int tmp = OP_glColor4f;memcpy(ptr, &tmp, 4); ptr += 4; in glColor4f_enc() local 171 int tmp = OP_glDepthRangef;memcpy(ptr, &tmp, 4); ptr += 4; in glDepthRangef_enc() local 197 int tmp = OP_glFogf;memcpy(ptr, &tmp, 4); ptr += 4; in glFogf_enc() local 224 int tmp = OP_glFogfv;memcpy(ptr, &tmp, 4); ptr += 4; in glFogfv_enc() local 251 int tmp = OP_glFrustumf;memcpy(ptr, &tmp, 4); ptr += 4; in glFrustumf_enc() local 282 int tmp = OP_glGetClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glGetClipPlanef_enc() local [all …]
|
/device/generic/goldfish/opengl/system/GLESv2_enc/ |
D | gl2_enc.cpp | 36 int tmp = OP_glActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glActiveTexture_enc() local 61 int tmp = OP_glAttachShader;memcpy(ptr, &tmp, 4); ptr += 4; in glAttachShader_enc() local 88 int tmp = OP_glBindAttribLocation;memcpy(ptr, &tmp, 4); ptr += 4; in glBindAttribLocation_enc() local 116 int tmp = OP_glBindBuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindBuffer_enc() local 142 int tmp = OP_glBindFramebuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindFramebuffer_enc() local 168 int tmp = OP_glBindRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindRenderbuffer_enc() local 194 int tmp = OP_glBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glBindTexture_enc() local 220 int tmp = OP_glBlendColor;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendColor_enc() local 248 int tmp = OP_glBlendEquation;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquation_enc() local 273 int tmp = OP_glBlendEquationSeparate;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquationSeparate_enc() local [all …]
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | renderControl_enc.cpp | 36 int tmp = OP_rcGetRendererVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetRendererVersion_enc() local 75 int tmp = OP_rcGetEGLVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetEGLVersion_enc() local 119 int tmp = OP_rcQueryEGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcQueryEGLString_enc() local 162 int tmp = OP_rcGetGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetGLString_enc() local 205 int tmp = OP_rcGetNumConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetNumConfigs_enc() local 246 int tmp = OP_rcGetConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetConfigs_enc() local 289 int tmp = OP_rcChooseConfig;memcpy(ptr, &tmp, 4); ptr += 4; in rcChooseConfig_enc() local 335 int tmp = OP_rcGetFBParam;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetFBParam_enc() local 373 int tmp = OP_rcCreateContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcCreateContext_enc() local 413 int tmp = OP_rcDestroyContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcDestroyContext_enc() local [all …]
|
/device/google/contexthub/firmware/src/algos/ |
D | fusion.c | 315 struct Mat33 tmp = wx; in fusionPredict() local 316 mat33ScalarMul(&tmp, k1 * ilwe); in fusionPredict() 319 mat33Sub(&fusion->Phi0[0], &tmp); in fusionPredict() 321 tmp = wx2; in fusionPredict() 322 mat33ScalarMul(&tmp, k0); in fusionPredict() 324 mat33Add(&fusion->Phi0[0], &tmp); in fusionPredict() 326 tmp = wx; in fusionPredict() 327 mat33ScalarMul(&tmp, k0); in fusionPredict() 328 fusion->Phi0[1] = tmp; in fusionPredict() 332 tmp = wx2; in fusionPredict() [all …]
|
D | mat.c | 194 struct Mat33 tmp = *A; in mat33Invert() local 201 if (fabsf(tmp.elem[j][i]) > fabsf(tmp.elem[i][i])) { in mat33Invert() 208 t = tmp.elem[i][k]; in mat33Invert() 209 tmp.elem[i][k] = tmp.elem[swap][k]; in mat33Invert() 210 tmp.elem[swap][k] = t; in mat33Invert() 218 t = 1.0f / tmp.elem[i][i]; in mat33Invert() 220 tmp.elem[i][k] *= t; in mat33Invert() 226 t = tmp.elem[j][i]; in mat33Invert() 228 tmp.elem[j][k] -= tmp.elem[i][k] * t; in mat33Invert() 297 float tmp = A->elem[i][k]; in mat33SwapRows() local [all …]
|
/device/google/dragon/audio/hal/ |
D | utlist.h | 113 #define LL_FOREACH_SAFE(head, el, tmp) \ argument 114 for ((el) = (head); (el) && (tmp = (el)->next, 1); (el) = tmp) 209 #define DL_FOREACH_INTERNAL(head, el, tmp) \ argument 210 __typeof__(el) tmp; \ 211 for ((el) = (head); (el) && (tmp = (el)->next, 1); (el) = tmp)
|
/device/google/contexthub/firmware/inc/ |
D | isr.h | 59 struct link_t *cur, *tmp; in dispatchIsr() local 63 list_iterate(&interrupt->isrs, cur, tmp) { in dispatchIsr() 78 struct link_t *cur, *tmp; in unchainIsrAll() local 80 list_iterate(&interrupt->isrs, cur, tmp) { in unchainIsrAll()
|
D | util.h | 58 #define INTEGER_TO_VA_LIST(__ptr) ({uintptr_t tmp = __ptr; (*(va_list*)(&tmp)); })
|
/device/google/contexthub/firmware/src/cpu/cortexm4f/ |
D | atomic.c | 21 uint32_t prevVal, storeFailed, tmp; in atomicAddByte() local 28 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(byte) in atomicAddByte() 39 uint32_t prevVal, storeFailed, tmp; in atomicAdd32bits() local 46 :"=r"(prevVal), "=r"(storeFailed), "=r"(tmp), "=r"(addend), "=r"(word) in atomicAdd32bits()
|
D | atomicBitset.c | 46 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetClearBit() local 57 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetClearBit() 66 uint32_t idx = num / 32, mask = 1UL << (num & 31), status, tmp; in atomicBitsetSetBit() local 77 :"=r"(tmp), "=r"(status), "=r"(wordPtr), "=r"(mask) in atomicBitsetSetBit()
|
/device/google/accessory/arduino/USB_Host_Shield/ |
D | Max3421e.h | 63 uint8_t tmp; in spi_init() local 73 tmp = SPSR; in spi_init() 74 tmp = SPDR; in spi_init()
|
D | Max3421e.cpp | 159 byte tmp; in regRd() local 198 byte tmp = 0; in reset() local 202 tmp++; //timeout after 256 attempts in reset() 203 if( tmp == 0 ) { in reset()
|
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 345 int32_t tmp = (adc_T >> 4) - (int32_t)mTask.comp.dig_T1; in compensateTemp() local 347 int32_t var2 = (((tmp * tmp) >> 12) * (int32_t)mTask.comp.dig_T3) >> 14; in compensateTemp() 371 static void getTempAndBaro(const uint8_t *tmp, float *pressure_Pa, float *temp_centigrade) in getTempAndBaro() argument 373 int32_t pres_adc = ((int32_t)tmp[0] << 12) | ((int32_t)tmp[1] << 4) | (tmp[2] >> 4); in getTempAndBaro() 374 int32_t temp_adc = ((int32_t)tmp[3] << 12) | ((int32_t)tmp[4] << 4) | (tmp[5] >> 4); in getTempAndBaro()
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | ColorWheel.java | 163 ColorMatrix tmp = new ColorMatrix(); in rotateColor() local 166 tmp.setRotate(0, deg); in rotateColor() 167 cm.postConcat(tmp); in rotateColor() 168 tmp.setYUV2RGB(); in rotateColor() 169 cm.postConcat(tmp); in rotateColor()
|
/device/generic/goldfish/camera/ |
D | EmulatedCamera.cpp | 1013 char tmp[2048]; in PrintParamDiff() local 1019 snprintf(tmp, sizeof(tmp), "%.*s", (int)(intptr_t)(next-wrk), wrk); in PrintParamDiff() 1021 char* val = strchr(tmp, '='); in PrintParamDiff() 1024 const char* in_current = current.get(tmp); in PrintParamDiff() 1027 ALOGD("=== Value changed: %s: %s -> %s", tmp, in_current, val); in PrintParamDiff() 1030 ALOGD("+++ New parameter: %s=%s", tmp, val); in PrintParamDiff() 1033 ALOGW("No value separator in %s", tmp); in PrintParamDiff()
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 287 uint64_t tmp = strtoull(argv[i], &end, 16); in main() local 289 *u64Arg = tmp; in main() 292 uint32_t tmp = strtoul(argv[i], &end, 16); in main() local 294 *u32Arg = tmp; in main()
|