/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
H A D | groveo2.js | 37 function roundNum(num, decimalPlaces) 40 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces));
|
H A D | guvas12d.js | 45 function roundNum(num, decimalPlaces) 48 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces));
|
H A D | ina132.js | 37 function roundNum(num, decimalPlaces) 40 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
|
H A D | joystick12.js | 41 function roundNum(num, decimalPlaces) 44 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
|
H A D | enc03r.js | 54 function roundNum(num, decimalPlaces) 57 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) /
|
H A D | hmc5883l.js | 51 function round2Digits(num) 53 return Math.round((num + 0.00001) * 100) / 100;
|
H A D | otp538u.js | 51 function roundNum(num, decimalPlaces) 54 return (Math.round((num + extraNum) *
|
H A D | itg3200.js | 54 function round2Digits(num) 56 return Math.round((num + 0.00001) * 100) / 100;
|
H A D | h3lis331dl.js | 68 function roundNum(num, decimalPlaces) 71 return (Math.round((num + extraNum)
|
H A D | mma7660.js | 73 function roundNum(num, decimalPlaces) 76 return (Math.round((num + extraNum)
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
H A D | ml_sysfs_helper.h | 29 inv_error_t inv_get_handler_number(const char *name, int *num); 30 inv_error_t inv_get_input_number(const char *name, int *num);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | ml_sysfs_helper.h | 29 inv_error_t inv_get_handler_number(const char *name, int *num); 30 inv_error_t inv_get_input_number(const char *name, int *num);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | error_resilience_test.cc | 112 void SetErrorFrames(int num, unsigned int *list) { argument 113 if (num > kMaxErrorFrames) 114 num = kMaxErrorFrames; 115 else if (num < 0) 116 num = 0; 117 error_nframes_ = num; 122 void SetDroppableFrames(int num, unsigned int *list) { argument 123 if (num > kMaxDroppableFrames) 124 num = kMaxDroppableFrames; 125 else if (num < [all...] |
H A D | altref_test.cc | 61 timebase.den, timebase.num, 0, 30);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | ivfdec.c | 21 static void fix_framerate(int *num, int *den) { argument 26 if (*num < 1000) { 28 if (*num & 1) 31 *num /= 2; 35 *num = 30;
|
H A D | ivfenc.c | 32 mem_put_le32(header + 20, cfg->g_timebase.num); // scale
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
H A D | vp9_prob.h | 54 static INLINE vp9_prob get_prob(int num, int den) { argument 55 return (den == 0) ? 128u : clip_prob(((int64_t)num * 256 + (den >> 1)) / den); 58 static INLINE vp9_prob get_prob(int num, int den) { argument 59 return (den == 0) ? 128u : clip_prob((num * 256 + (den >> 1)) / den);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | storage_manager.c | 44 int num; /**< Number of differnt save entities */ member in struct:data_storage_t 75 for (kk=0; kk<ds.num; ++kk) { 81 if (ds.num >= NUM_STORAGE_BOXES) { 85 ds.hd[ds.num].key = key; 86 ds.hd[ds.num].size = size; 87 ds.load[ds.num] = load_func; 88 ds.save[ds.num] = save_func; 90 ds.num++; 112 for (kk=0; kk<ds.num; ++kk) { 186 for (kk = 0; kk < ds.num; [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | storage_manager.c | 44 int num; /**< Number of differnt save entities */ member in struct:data_storage_t 75 for (kk=0; kk<ds.num; ++kk) { 81 if (ds.num >= NUM_STORAGE_BOXES) { 85 ds.hd[ds.num].key = key; 86 ds.hd[ds.num].size = size; 87 ds.load[ds.num] = load_func; 88 ds.save[ds.num] = save_func; 90 ds.num++; 112 for (kk=0; kk<ds.num; ++kk) { 186 for (kk = 0; kk < ds.num; [all...] |
/hardware/ti/omap4-aah/kernel-headers/linux/ |
H A D | omapfb.h | 25 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) 26 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) 27 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) 29 #define OMAP_IO(num) _IO('O', num)
|
/hardware/ti/omap4xxx/kernel-headers/linux/ |
H A D | omapfb.h | 25 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) 26 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) 27 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) 29 #define OMAP_IO(num) _IO('O', num)
|
/hardware/ti/omap4-aah/original-kernel-headers/linux/ |
H A D | omapfb.h | 33 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) 34 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) 35 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) 36 #define OMAP_IO(num) _IO('O', num)
|
/hardware/ti/omap4xxx/original-kernel-headers/linux/ |
H A D | omapfb.h | 33 #define OMAP_IOW(num, dtype) _IOW('O', num, dtype) 34 #define OMAP_IOR(num, dtype) _IOR('O', num, dtype) 35 #define OMAP_IOWR(num, dtype) _IOWR('O', num, dtype) 36 #define OMAP_IO(num) _IO('O', num)
|
/hardware/intel/bootstub/ |
H A D | sfi.c | 97 int i, num, type; local 113 num = SFI_GET_ENTRY_NUM(sb, sfi_mem_entry); 116 for (i = 0; i < num; i++) {
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
H A D | h264parse_mem.c | 17 void* h264_memset( void* buf, uint32_t c, uint32_t num ) 20 uint32_t size32 = ( num >> 2 ); 32 void* h264_memcpy( void* dest, void* src, uint32_t num ) 36 uint32_t size32 = ( num >> 2 );
|