/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 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/generic/goldfish-opengl/system/GLESv1_enc/ |
D | gl_enc.cpp | 43 int tmp = OP_glAlphaFunc;memcpy(ptr, &tmp, 4); ptr += 4; in glAlphaFunc_enc() local 71 int tmp = OP_glClearColor;memcpy(ptr, &tmp, 4); ptr += 4; in glClearColor_enc() local 101 int tmp = OP_glClearDepthf;memcpy(ptr, &tmp, 4); ptr += 4; in glClearDepthf_enc() local 129 int tmp = OP_glClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glClipPlanef_enc() local 158 int tmp = OP_glColor4f;memcpy(ptr, &tmp, 4); ptr += 4; in glColor4f_enc() local 188 int tmp = OP_glDepthRangef;memcpy(ptr, &tmp, 4); ptr += 4; in glDepthRangef_enc() local 216 int tmp = OP_glFogf;memcpy(ptr, &tmp, 4); ptr += 4; in glFogf_enc() local 245 int tmp = OP_glFogfv;memcpy(ptr, &tmp, 4); ptr += 4; in glFogfv_enc() local 274 int tmp = OP_glFrustumf;memcpy(ptr, &tmp, 4); ptr += 4; in glFrustumf_enc() local 307 int tmp = OP_glGetClipPlanef;memcpy(ptr, &tmp, 4); ptr += 4; in glGetClipPlanef_enc() local [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/generic/goldfish-opengl/system/GLESv2_enc/ |
D | gl2_enc.cpp | 43 int tmp = OP_glActiveTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glActiveTexture_enc() local 70 int tmp = OP_glAttachShader;memcpy(ptr, &tmp, 4); ptr += 4; in glAttachShader_enc() local 99 int tmp = OP_glBindAttribLocation;memcpy(ptr, &tmp, 4); ptr += 4; in glBindAttribLocation_enc() local 129 int tmp = OP_glBindBuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindBuffer_enc() local 157 int tmp = OP_glBindFramebuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindFramebuffer_enc() local 185 int tmp = OP_glBindRenderbuffer;memcpy(ptr, &tmp, 4); ptr += 4; in glBindRenderbuffer_enc() local 213 int tmp = OP_glBindTexture;memcpy(ptr, &tmp, 4); ptr += 4; in glBindTexture_enc() local 241 int tmp = OP_glBlendColor;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendColor_enc() local 271 int tmp = OP_glBlendEquation;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquation_enc() local 298 int tmp = OP_glBlendEquationSeparate;memcpy(ptr, &tmp, 4); ptr += 4; in glBlendEquationSeparate_enc() local [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 …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl_enc.cpp | 43 int tmp = OP_rcGetRendererVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetRendererVersion_enc() local 86 int tmp = OP_rcGetEGLVersion;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetEGLVersion_enc() local 134 int tmp = OP_rcQueryEGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcQueryEGLString_enc() local 181 int tmp = OP_rcGetGLString;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetGLString_enc() local 228 int tmp = OP_rcGetNumConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetNumConfigs_enc() local 273 int tmp = OP_rcGetConfigs;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetConfigs_enc() local 320 int tmp = OP_rcChooseConfig;memcpy(ptr, &tmp, 4); ptr += 4; in rcChooseConfig_enc() local 370 int tmp = OP_rcGetFBParam;memcpy(ptr, &tmp, 4); ptr += 4; in rcGetFBParam_enc() local 412 int tmp = OP_rcCreateContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcCreateContext_enc() local 456 int tmp = OP_rcDestroyContext;memcpy(ptr, &tmp, 4); ptr += 4; in rcDestroyContext_enc() local [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/generic/goldfish-opengl/system/magma/magma_enc/ |
D | magma_enc.cpp | 46 int tmp = OP_magma_device_import;memcpy(ptr, &tmp, 4); ptr += 4; in magma_device_import_enc() local 91 int tmp = OP_magma_device_release;memcpy(ptr, &tmp, 4); ptr += 4; in magma_device_release_enc() local 120 int tmp = OP_magma_device_query;memcpy(ptr, &tmp, 4); ptr += 4; in magma_device_query_enc() local 170 int tmp = OP_magma_device_create_connection;memcpy(ptr, &tmp, 4); ptr += 4; in magma_device_create_connection_enc() local 215 int tmp = OP_magma_connection_release;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_release_enc() local 242 int tmp = OP_magma_connection_get_error;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_get_error_enc() local 285 int tmp = OP_magma_connection_create_context;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_create_context_enc() local 330 int tmp = OP_magma_connection_release_context;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_release_context_enc() local 361 int tmp = OP_magma_connection_create_buffer;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_create_buffer_enc() local 413 int tmp = OP_magma_connection_release_buffer;memcpy(ptr, &tmp, 4); ptr += 4; in magma_connection_release_buffer_enc() local [all …]
|
/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/generic/vulkan-cereal/third-party/glm/include/glm/gtx/ |
D | polar_coordinates.inl | 13 tvec3<T, P> const tmp(euclidean / Length); local 14 T const xz_dist(sqrt(tmp.x * tmp.x + tmp.z * tmp.z)); 17 asin(tmp.y), // latitude 18 atan(tmp.x, tmp.z), // longitude
|
D | color_space_YCoCg.inl | 53 T tmp = YCoCgRColor.x - (YCoCgRColor.z / T(2)); local 54 result.g = YCoCgRColor.z + tmp; 55 result.b = tmp - (YCoCgRColor.y / T(2)); 71 T tmp = rgbColor.b + (result.y >> 1); local 72 result.z/*Cg*/ = rgbColor.g - tmp; 73 result.x/*Y */ = tmp + (result.z >> 1); 83 T tmp = YCoCgRColor.x - (YCoCgRColor.z >> 1); local 84 result.g = YCoCgRColor.z + tmp; 85 result.b = tmp - (YCoCgRColor.y >> 1);
|
/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/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()
|
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtc/ |
D | matrix_transform.inl | 447 tvec4<T, P> tmp = tvec4<T, P>(obj, static_cast<T>(1)); local 448 tmp = model * tmp; 449 tmp = proj * tmp; 451 tmp /= tmp.w; 453 tmp.x = tmp.x * static_cast<T>(0.5) + static_cast<T>(0.5); 454 tmp.y = tmp.y * static_cast<T>(0.5) + static_cast<T>(0.5); 456 tmp = tmp * static_cast<T>(0.5) + static_cast<T>(0.5); 458 tmp[0] = tmp[0] * T(viewport[2]) + T(viewport[0]); 459 tmp[1] = tmp[1] * T(viewport[3]) + T(viewport[1]); 461 return tvec3<T, P>(tmp); [all …]
|
/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/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/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/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/ |
D | EglOsApi_glx.cpp | 158 int tmp; in pixelFormatToConfig() local 164 EXIT_IF_FALSE(glx->glXGetFBConfigAttrib(dpy, frmt, GLX_TRANSPARENT_TYPE, &tmp)); in pixelFormatToConfig() 165 if (tmp == GLX_TRANSPARENT_INDEX) { in pixelFormatToConfig() 167 } else if (tmp == GLX_NONE) { in pixelFormatToConfig() 220 EXIT_IF_FALSE(glx->glXGetFBConfigAttrib(dpy, frmt, GLX_DRAWABLE_TYPE, &tmp)); in pixelFormatToConfig() 221 if (tmp & GLX_WINDOW_BIT && info.native_visual_id != 0) { in pixelFormatToConfig() 227 if (tmp & GLX_PBUFFER_BIT) { in pixelFormatToConfig() 232 EXIT_IF_FALSE(glx->glXGetFBConfigAttrib(dpy, frmt, GLX_CONFIG_CAVEAT, &tmp)); in pixelFormatToConfig() 233 if (tmp == GLX_NONE) { in pixelFormatToConfig() 235 } else if (tmp == GLX_SLOW_CONFIG) { in pixelFormatToConfig() [all …]
|
/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/generic/vulkan-cereal/third-party/glm/include/glm/detail/ |
D | func_geometric.inl | 48 tvec2<T, P> tmp(x * y); local 49 return tmp.x + tmp.y; 58 tvec3<T, P> tmp(x * y); local 59 return tmp.x + tmp.y + tmp.z; 68 tvec4<T, P> tmp(x * y); local 69 return (tmp.x + tmp.y) + (tmp.z + tmp.w);
|
D | func_exponential.inl | 55 vecType<float, lowp> tmp(x); local 56 vecType<float, lowp> xhalf(tmp * 0.5f); 60 tmp = *ptmp; 61 tmp = tmp * (1.5f - xhalf * tmp * tmp); 62 return tmp;
|
/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()
|