Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 56) sorted by relevance

123

/device/common/
Dgenerate-factory-images-common.sh34 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 …]
Dgenerate-packages.sh39 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 ;;
108 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/marlin
118 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/muskie/proprietary
128 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/crosshatch/proprietary
[all …]
/device/linaro/hikey/factory-images/
Dgenerate-factory-images-hikey960.sh31 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 …]
Dgenerate-factory-images-hikey.sh31 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/contexthub/contexthubhal/
Dmessage_buf.h87 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/wahoo/lisa/targetdev/
Dpowerhint.py17 with tempfile.NamedTemporaryFile() as tmp:
18 target.pull(DEVICE_PATH, tmp.name)
21 tree = ET.parse(tmp.name)
26 tree.write(tmp.name)
27 target.push(tmp.name, DEVICE_PATH)
71 with tempfile.NamedTemporaryFile() as tmp:
72 target.pull(DEVICE_PATH, tmp.name)
74 tree = ET.parse(tmp.name)
80 tree.write(tmp.name)
81 target.push(tmp.name, DEVICE_PATH)
/device/google/contexthub/lib/nanohub/
Drsa.c23 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 …]
/device/generic/goldfish/fvpbase/
Drun_model18 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/generic/goldfish-opengl/system/GLESv1_enc/
Dgl_enc.cpp37 int tmp = OP_glAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; in glAlphaFunc_enc() local
63 int tmp = OP_glClearColor;memcpy(ptr, &tmp, 4); ptr += 4; in glClearColor_enc() local
91 int tmp = OP_glClearDepthf;memcpy(ptr, &tmp, 4); ptr += 4; in glClearDepthf_enc() local
117 int tmp = OP_glClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glClipPlanef_enc() local
144 int tmp = OP_glColor4f;memcpy(ptr, &tmp, 4); ptr += 4; in glColor4f_enc() local
172 int tmp = OP_glDepthRangef;memcpy(ptr, &tmp, 4); ptr += 4; in glDepthRangef_enc() local
198 int tmp = OP_glFogf;memcpy(ptr, &tmp, 4); ptr += 4; in glFogf_enc() local
225 int tmp = OP_glFogfv;memcpy(ptr, &tmp, 4); ptr += 4; in glFogfv_enc() local
252 int tmp = OP_glFrustumf;memcpy(ptr, &tmp, 4); ptr += 4; in glFrustumf_enc() local
283 int tmp = OP_glGetClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glGetClipPlanef_enc() local
[all …]
/device/google/cuttlefish_kernel/scripts/
Dextract-vmlinux41 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/generic/goldfish-opengl/system/GLESv2_enc/
Dgl2_enc.cpp37 int tmp = OP_glActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glActiveTexture_enc() local
62 int tmp = OP_glAttachShader;memcpy(ptr, &tmp, 4); ptr += 4; in glAttachShader_enc() local
89 int tmp = OP_glBindAttribLocation;memcpy(ptr, &tmp, 4); ptr += 4; in glBindAttribLocation_enc() local
117 int tmp = OP_glBindBuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindBuffer_enc() local
143 int tmp = OP_glBindFramebuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindFramebuffer_enc() local
169 int tmp = OP_glBindRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindRenderbuffer_enc() local
195 int tmp = OP_glBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glBindTexture_enc() local
221 int tmp = OP_glBlendColor;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendColor_enc() local
249 int tmp = OP_glBlendEquation;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquation_enc() local
274 int tmp = OP_glBlendEquationSeparate;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquationSeparate_enc() local
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DrenderControl_enc.cpp37 int tmp = OP_rcGetRendererVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetRendererVersion_enc() local
78 int tmp = OP_rcGetEGLVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetEGLVersion_enc() local
124 int tmp = OP_rcQueryEGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcQueryEGLString_enc() local
169 int tmp = OP_rcGetGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetGLString_enc() local
214 int tmp = OP_rcGetNumConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetNumConfigs_enc() local
257 int tmp = OP_rcGetConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetConfigs_enc() local
302 int tmp = OP_rcChooseConfig;memcpy(ptr, &tmp, 4); ptr += 4; in rcChooseConfig_enc() local
350 int tmp = OP_rcGetFBParam;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetFBParam_enc() local
390 int tmp = OP_rcCreateContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcCreateContext_enc() local
432 int tmp = OP_rcDestroyContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcDestroyContext_enc() local
[all …]
/device/google/contexthub/firmware/os/inc/
Disr.h63 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/google/contexthub/firmware/os/algos/
Dfusion.c322 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/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/
Dfoo_enc.cpp37 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/algos/common/math/
Dlevenberg_marquardt.c142 const float tmp = 2.f * gain_ratio - 1.f; in lmSolverSolve() local
143 damping_factor *= NANO_MAX(0.33333f, 1.f - tmp * tmp * tmp); in lmSolverSolve()
164 float tmp[MAX_LM_STATE_DIMENSION]; in computeGainRatio() local
165 vecScalarMul(tmp, step, damping_factor, state_dim); in computeGainRatio()
166 vecAddInPlace(tmp, gradient, state_dim); in computeGainRatio()
167 const float predicted_gain = 0.5f * vecDot(step, tmp, state_dim); in computeGainRatio()
Dmat.c227 struct Mat33 tmp = *A; in mat33Invert() local
234 if (fabsf(tmp.elem[j][i]) > fabsf(tmp.elem[i][i])) { in mat33Invert()
241 t = tmp.elem[i][k]; in mat33Invert()
242 tmp.elem[i][k] = tmp.elem[swap][k]; in mat33Invert()
243 tmp.elem[swap][k] = t; in mat33Invert()
251 ASSERT(fabsf(tmp.elem[i][i]) > 0); in mat33Invert()
252 if(!(fabsf(tmp.elem[i][i]) > 0)) { in mat33Invert()
255 t = 1.0f / tmp.elem[i][i]; in mat33Invert()
257 tmp.elem[i][k] *= t; in mat33Invert()
263 t = tmp.elem[j][i]; in mat33Invert()
[all …]
Dvec.c125 float tmp; in vecMaxAbsoluteValue() local
128 tmp = NANO_ABS(v[i]); in vecMaxAbsoluteValue()
129 if(tmp > max) { in vecMaxAbsoluteValue()
130 max = tmp; in vecMaxAbsoluteValue()
/device/google/contexthub/firmware/os/cpu/cortexm4/
Datomic.c21 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()
DatomicBitset.c46 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/contexthub/firmware/os/core/
DeventQ.c29 #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/tools/
Dcreate_base_image_gce.sh38 tmp_debs+=(/tmp/"$(basename "$i")")
44 cp "${debs[@]}" /mnt/image/tmp
74 /mnt/image/tmp/nvidia-driver-installer.run
77 chmod +x /mnt/image/tmp/nvidia-driver-installer.run
80 sudo chroot /mnt/image /tmp/nvidia-driver-installer.run \
85 rm /mnt/image/tmp/nvidia-driver-installer.run
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_stillness_detect.c139 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/crosshatch/json-c/
Dlinkhash.h165 #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/
Dlinkhash.h165 #define lh_foreach_safe(table, entry, tmp) \ argument
166 for(entry = table->head; entry && ((tmp = entry->next) || 1); entry = tmp)

123