Searched refs:num (Results 1 - 25 of 194) sorted by relevance

12345678

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Dgroveo2.js37 function roundNum(num, decimalPlaces)
40 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces));
H A Dguvas12d.js45 function roundNum(num, decimalPlaces)
48 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) / Math.pow(10, decimalPlaces));
H A Dina132.js37 function roundNum(num, decimalPlaces)
40 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
H A Djoystick12.js41 function roundNum(num, decimalPlaces)
44 var numerator = Math.round((num + extraNum) * (Math.pow(10, decimalPlaces)));
H A Denc03r.js54 function roundNum(num, decimalPlaces)
57 return (Math.round((num + extraNum) * (Math.pow(10, decimalPlaces))) /
H A Dhmc5883l.js51 function round2Digits(num)
53 return Math.round((num + 0.00001) * 100) / 100;
H A Dotp538u.js51 function roundNum(num, decimalPlaces)
54 return (Math.round((num + extraNum) *
H A Ditg3200.js54 function round2Digits(num)
56 return Math.round((num + 0.00001) * 100) / 100;
H A Dh3lis331dl.js68 function roundNum(num, decimalPlaces)
71 return (Math.round((num + extraNum)
H A Dmma7660.js73 function roundNum(num, decimalPlaces)
76 return (Math.round((num + extraNum)
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.h29 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 Dml_sysfs_helper.h29 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 Derror_resilience_test.cc112 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 Daltref_test.cc61 timebase.den, timebase.num, 0, 30);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Divfdec.c21 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 Divfenc.c32 mem_put_le32(header + 20, cfg->g_timebase.num); // scale
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_prob.h54 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 Dstorage_manager.c44 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 Dstorage_manager.c44 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 Domapfb.h25 #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 Domapfb.h25 #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 Domapfb.h33 #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 Domapfb.h33 #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 Dsfi.c97 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 Dh264parse_mem.c17 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 );

Completed in 1643 milliseconds

12345678