/device/common/ |
D | generate-factory-images-common.sh | 38 rm -rf tmp 39 mkdir -p tmp/$PRODUCT-$VERSION 44 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$XLOADERSRC 48 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$BOOTLOADERSRC 52 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$RADIOSRC 56 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/radio-cdma.img 60 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip VENDOR/firmware/$GSCFIRMWARESRC/* 63 cp ${SRCPREFIX}$PRODUCT-img-$BUILD.zip tmp/$PRODUCT-$VERSION/image-$PRODUCT-$VERSION.zip 66 cp tmp/RADIO/$XLOADERSRC tmp/$PRODUCT-$VERSION/xloader-$DEVICE-$XLOADER.img 70 cp tmp/RADIO/$BOOTLOADERSRC tmp/$PRODUCT-$VERSION/bootloader-$DEVICE-$BOOTLOADER.img [all …]
|
D | generate-packages.sh | 39 rm -rf tmp 40 FILEDIR=tmp/vendor/$COMPANY/$DEVICE/proprietary 41 MAKEFILEDIR=tmp/vendor/$COMPANY/$DEVICE/ 42 FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE 46 FILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY/proprietary 47 MAKEFILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY ;; 49 FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;; 109 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/marlin 119 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/muskie/proprietary 129 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/crosshatch/proprietary [all …]
|
/device/linaro/hikey/factory-images/ |
D | generate-factory-images-hikey960.sh | 31 rm -rf tmp 32 mkdir -p tmp/$PRODUCT-$VERSION 35 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-bl31.bin tmp/$PRODUCT-$VERSION/ 36 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-fastboot.img tmp/$PRODUCT-$VERSION/ 37 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-lpm3.img tmp/$PRODUCT-$VERSION/ 38 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-nvme.img tmp/$PRODUCT-$VERSION/ 39 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-ptable.img tmp/$PRODUCT-$VERSION/ 40 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-sec_xloader.img tmp/$PRODUCT-$VERSION/ 41 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/README tmp/$PRODUCT-$VERSION/ 44 cp $ANDROID_BUILD_TOP/out/target/product/hikey960/dt.img tmp/$PRODUCT-$VERSION/ [all …]
|
D | generate-factory-images-hikey.sh | 31 rm -rf tmp 32 mkdir -p tmp/$PRODUCT-$VERSION 35 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/README tmp/$PRODUCT-$VERSION/ 36 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/hisi-idt.py tmp/$PRODUCT-$VERSION/ 37 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/l-loader.bin tmp/$PRODUCT-$VERSION/ 38 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-8g.img tmp/$PRODUCT-$VERSION/ 39 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-4g.img tmp/$PRODUCT-$VERSION/ 40 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/fip.bin tmp/$PRODUCT-$VERSION/ 41 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/nvme.img tmp/$PRODUCT-$VERSION/ 43 cp ${SRCPREFIX}$PRODUCT-img-$BUILD.zip tmp/$PRODUCT-$VERSION/image-$PRODUCT-$VERSION.zip [all …]
|
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/include/ |
D | libfdt.h | 1313 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 1314 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 1348 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 1349 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1468 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1469 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1473 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local 1474 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1680 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local 1681 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() [all …]
|
/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/google/contexthub/firmware/os/algos/ |
D | fusion.c | 322 struct Mat33 tmp = wx; in fusionPredict() local 323 mat33ScalarMul(&tmp, k1 * ilwe); in fusionPredict() 326 mat33Sub(&fusion->Phi0[0], &tmp); in fusionPredict() 328 tmp = wx2; in fusionPredict() 329 mat33ScalarMul(&tmp, k0); in fusionPredict() 331 mat33Add(&fusion->Phi0[0], &tmp); in fusionPredict() 333 tmp = wx; in fusionPredict() 334 mat33ScalarMul(&tmp, k0); in fusionPredict() 335 fusion->Phi0[1] = tmp; in fusionPredict() 339 tmp = wx2; in fusionPredict() [all …]
|
/device/google/contexthub/contexthubhal/ |
D | message_buf.h | 87 uint16_t tmp = htole16(val); in writeU16() local 88 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU16() 89 pos += sizeof(tmp); in writeU16() 104 uint32_t tmp = htole32(val); in writeU32() local 105 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU32() 106 pos += sizeof(tmp); in writeU32() 121 uint64_t tmp = htole64(val); in writeU64() local 122 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU64() 123 pos += sizeof(tmp); in writeU64()
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | mat.c | 228 struct Mat33 tmp = *A; in mat33Invert() local 235 if (fabsf(tmp.elem[j][i]) > fabsf(tmp.elem[i][i])) { in mat33Invert() 242 t = tmp.elem[i][k]; in mat33Invert() 243 tmp.elem[i][k] = tmp.elem[swap][k]; in mat33Invert() 244 tmp.elem[swap][k] = t; in mat33Invert() 252 CHRE_ASSERT(fabsf(tmp.elem[i][i]) > 0); in mat33Invert() 253 if(!(fabsf(tmp.elem[i][i]) > 0)) { in mat33Invert() 256 t = 1.0f / tmp.elem[i][i]; in mat33Invert() 258 tmp.elem[i][k] *= t; in mat33Invert() 264 t = tmp.elem[j][i]; in mat33Invert() [all …]
|
D | levenberg_marquardt.c | 139 const float tmp = 2.f * gain_ratio - 1.f; in lmSolverSolve() local 140 damping_factor *= NANO_MAX(0.33333f, 1.f - tmp * tmp * tmp); in lmSolverSolve() 161 float tmp[MAX_LM_STATE_DIMENSION]; in computeGainRatio() local 162 vecScalarMul(tmp, step, damping_factor, state_dim); in computeGainRatio() 163 vecAddInPlace(tmp, gradient, state_dim); in computeGainRatio() 164 const float predicted_gain = 0.5f * vecDot(step, tmp, state_dim); in computeGainRatio()
|
D | vec.c | 126 float tmp; in vecMaxAbsoluteValue() local 129 tmp = NANO_ABS(v[i]); in vecMaxAbsoluteValue() 130 if(tmp > max) { in vecMaxAbsoluteValue() 131 max = tmp; in vecMaxAbsoluteValue()
|
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/ |
D | foo_enc.cpp | 37 int tmp = OP_fooAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; in fooAlphaFunc_enc() local 64 int tmp = OP_fooIsBuffer;memcpy(ptr, &tmp, 4); ptr += 4; in fooIsBuffer_enc() local 105 int tmp = OP_fooDoEncoderFlush;memcpy(ptr, &tmp, 4); ptr += 4; in fooDoEncoderFlush_enc() local 132 int tmp = OP_fooTakeConstVoidPtrConstPtr;memcpy(ptr, &tmp, 4); ptr += 4; in fooTakeConstVoidPtrConstPtr_enc() local 159 int tmp = OP_fooSetComplexStruct;memcpy(ptr, &tmp, 4); ptr += 4; in fooSetComplexStruct_enc() local 186 int tmp = OP_fooGetComplexStruct;memcpy(ptr, &tmp, 4); ptr += 4; in fooGetComplexStruct_enc() local 224 int tmp = OP_fooInout;memcpy(ptr, &tmp, 4); ptr += 4; in fooInout_enc() local
|
/device/google/contexthub/firmware/os/inc/ |
D | isr.h | 63 struct link_t *cur, *tmp; in dispatchIsr() local 67 list_iterate(&interrupt->isrs, cur, tmp) { in dispatchIsr() 82 struct link_t *cur, *tmp; in unchainIsrAll() local 84 list_iterate(&interrupt->isrs, cur, tmp) { in unchainIsrAll() 97 struct link_t *cur, *tmp; in maxLatencyIsr() local 100 list_iterate(&interrupt->isrs, cur, tmp) { in maxLatencyIsr()
|
/device/generic/goldfish/fvpbase/ |
D | run_model | 18 tmp="$(mktemp -d)" 19 trap "rm -rf $tmp" EXIT 20 mkfifo $tmp/port 24 -C bp.terminal_0.terminal_command="echo %port > $tmp/port" \ 27 read port < $tmp/port
|
/device/google/contexthub/firmware/os/core/ |
D | eventQ.c | 29 #define for_each_item_safe(head, pos, tmp) \ argument 30 for (pos = (head)->next; tmp = (pos)->next, (pos) != (head); pos = (tmp)) 87 struct EvtList *pos, *tmp; in evtQueueFree() local 89 for_each_item_safe (&q->head, pos, tmp) { in evtQueueFree() 163 struct EvtList *pos, *tmp; in evtQueueRemoveAllMatching() local 165 for_each_item_safe (&q->head, pos, tmp) { in evtQueueRemoveAllMatching()
|
/device/google/cuttlefish_prebuilts/scripts/ |
D | extract-vmlinux | 41 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null 42 check_vmlinux $tmp 56 tmp=$(mktemp /tmp/vmlinux-XXX) 57 trap "rm -f $tmp" 0
|
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/ |
D | gyro_stillness_detect.c | 139 float tmp = gyro_still_det->win_mean_x; in gyroStillDetCompute() local 142 (gyro_still_det->acc_var_x - gyro_still_det->win_mean_x * tmp) * in gyroStillDetCompute() 145 tmp = gyro_still_det->win_mean_y; in gyroStillDetCompute() 148 (gyro_still_det->acc_var_y - gyro_still_det->win_mean_y * tmp) * in gyroStillDetCompute() 151 tmp = gyro_still_det->win_mean_z; in gyroStillDetCompute() 154 (gyro_still_det->acc_var_z - gyro_still_det->win_mean_z * tmp) * in gyroStillDetCompute()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 512 int32_t tmp = (adc_T >> 4) - (int32_t)mTask.comp.dig_T1; in compensateTemp() local 514 int32_t var2 = (((tmp * tmp) >> 12) * (int32_t)mTask.comp.dig_T3) >> 14; in compensateTemp() 538 static void getTempAndBaro(const uint8_t *tmp, float *pressure_Pa, float *temp_centigrade) in getTempAndBaro() argument 540 int32_t pres_adc = ((int32_t)tmp[0] << 12) | ((int32_t)tmp[1] << 4) | (tmp[2] >> 4); in getTempAndBaro() 541 int32_t temp_adc = ((int32_t)tmp[3] << 12) | ((int32_t)tmp[4] << 4) | (tmp[5] >> 4); in getTempAndBaro()
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
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/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/ |
D | kernel_build_deb_qemu.sh | 7 TDIR=/tmp/d19 19 mkdir /tmp/r1 20 cd /tmp/r1
|
/device/google/contexthub/firmware/build/ |
D | config.mk | 66 rm -f $(1).tmp && \ 67 touch $(1).tmp && \ 68 $(foreach file,$(2),echo "INCLUDE $(file)" >> $(1).tmp &&) \ 69 mv -f $(1).tmp $(1)
|
/device/google/redbull/json-c/ |
D | linkhash.h | 165 #define lh_foreach_safe(table, entry, tmp) \ argument 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|
/device/google/coral/json-c/ |
D | linkhash.h | 165 #define lh_foreach_safe(table, entry, tmp) \ argument 166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)
|