/external/libvorbis/lib/ |
tone.c | 37 float val=0; local 40 val+=amp[j]*sin(i/44100.f*f[j]*2*M_PI); 41 ival=rint(val);
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
gtest-message.h | 120 inline Message& operator <<(const T& val) { 121 ::GTestStreamToHelper(ss_.get(), val); 155 Message& operator <<(BasicNarrowIoManip val) { 156 *ss_ << val; local
|
/external/lzma/CPP/Common/ |
XzCrc64Reg.cpp | 41 UInt64 val = CRC64_GET_DIGEST(_crc);
local 42 SetUi64(digest, val);
|
/external/mesa3d/src/getopt/ |
getopt.h | 55 /* if not NULL, set *flag to val when option found */ 58 int val; member in struct:option
|
/external/mesa3d/src/gtest/include/gtest/ |
gtest-message.h | 120 inline Message& operator <<(const T& val) { 121 ::GTestStreamToHelper(ss_.get(), val); 155 Message& operator <<(BasicNarrowIoManip val) { 156 *ss_ << val; local
|
/external/opencv3/3rdparty/libjasper/jasper/ |
jas_tvp.h | 107 char *val; member in struct:__anon21678
|
/external/regex-re2/util/ |
thread.cc | 36 void *val; local 37 pthread_join(pid_, &val);
|
/external/selinux/libsepol/src/ |
symtab.c | 18 unsigned int val; local 20 val = 0; 24 val = 25 (val << 4 | (val >> (8 * sizeof(unsigned int) - 4))) ^ (*p); 26 return val & (h->size - 1);
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
ConvertUtils.java | 34 int val = Integer.valueOf(parseString[i].trim()); local 35 if (val < 0 || val > 255) 36 throw new java.lang.NumberFormatException("Val must be between 0 and 255"); 37 byteArray[i] = (byte)val;
|
/external/tcpdump/ |
getopt_long.h | 52 /* if not NULL, set *flag to val when option found */ 55 int val; member in struct:option
|
/external/toybox/toys/other/ |
blockdev.c | 44 long long val = 0; local 57 if (flag & FLAG_setbsz) val = TT.bsz; 58 else val = !!(flag & FLAG_setro); 60 xioctl(fd, cmds[i], &val); 63 if (!flag) printf("%lld\n", (toys.optflags & FLAG_getsz) ? val >> 9: val);
|
/external/toybox/toys/posix/ |
ulimit.c | 107 rlim_t val; local 109 if (tolower(**toys.optargs == 'i')) val = RLIM_INFINITY; 110 else val = atolx_range(*toys.optargs, 0, LONG_MAX); 112 if (toys.optflags&FLAG_H) rr.rlim_max = val; 113 else rr.rlim_cur = val;
|
/external/v8/src/ |
bit-vector.cc | 30 uintptr_t val = current_value_; local 31 while (val == 0) { 34 val = target_->data_[current_index_]; 37 val = SkipZeroBytes(val); 38 val = SkipZeroBits(val); 39 current_value_ = val >> 1;
|
/external/webrtc/webrtc/base/ |
linuxfdwalk.c | 26 int val = 0; local 33 val = val * 10 + digit; 35 return val;
|
/frameworks/base/tools/aapt/tests/ |
ResourceFilter_test.cpp | 159 AaptLocaleValue val; local 160 ASSERT_TRUE(val.initFromFilterString(String8("kok_IN"))); 161 val.writeTo(&config);
|
/frameworks/base/tools/aapt2/compile/ |
PseudolocaleGenerator_test.cpp | 85 String* val = test::getValue<String>(table.get(), u"@android:string/four"); local 86 val->setTranslateable(false); 106 val = test::getValueForConfig<String>(table.get(), u"@android:string/three", 108 ASSERT_NE(nullptr, val); 109 EXPECT_EQ(std::u16string(u"three"), *val->value);
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
Adxl345Sample.java | 39 short[] val; local 48 val = sensor.getRawValues(); 52 System.out.println("Raw Values: X: " + val[0] + " Y: " + val[1] 53 + " Z: " + val[2]);
|
GroveVDivSample.java | 47 long val = vDiv.value(100); local 48 float gain3val = vDiv.computedValue(gain3, val); 49 float gain10val = vDiv.computedValue(gain10, val); 51 System.out.println("ADC value: " + val + ", Gain 3: " + gain3val + "v, Gain 10: "
|
H3LIS331DLSample.java | 39 int[] val; local 51 val = sensor.getRawXYZ(); 52 System.out.println( "Raw: X: " + val[0] + " Y: " + val[1] + " Z: " + val[2] );
|
/hardware/bsp/intel/peripheral/libupm/src/enc03r/ |
enc03r.cxx | 59 unsigned int val; local 64 val = mraa_aio_read(m_aio); 65 total += (float)val; 72 double ENC03R::angularVelocity(unsigned int val) 75 //return (((double)(val-m_calibrationValue)*(m_vref*1000.0))/1023.0/0.67); 76 return (((double)(val-m_calibrationValue)*(m_vref*1000.0))/685.41);
|
/hardware/bsp/intel/peripheral/libupm/src/groveemg/ |
groveemg.cxx | 51 int val, sum = 0; local 55 val = mraa_aio_read(m_aio); 56 sum += val; 65 int val = mraa_aio_read(m_aio); local 66 return val;
|
/hardware/bsp/intel/peripheral/libupm/src/grovegsr/ |
grovegsr.cxx | 52 int val, threshold, sum = 0; local 56 val = mraa_aio_read(m_aio); 57 sum += val; 66 int val = mraa_aio_read(m_aio); local 67 return val;
|
/hardware/bsp/intel/peripheral/libupm/src/ina132/ |
ina132.cxx | 52 int val, i; local 57 val = mraa_aio_read(m_aio); 58 v = val*5.00/1023;
|
/hardware/intel/img/psb_video/src/ |
tng_slotorder.c | 108 unsigned long long val; local 113 val = ((idrcnt == 0) ? encoding_count : encoding_count % (intracnt * idrcnt + 1)); 118 } else if (((val - 1) % (bframes + 1)) != 0) { 122 ((val - 1) / (bframes + 1) % (intracnt / (bframes + 1))) != 0) {
|
/hardware/qcom/camera/QCamera2/stack/common/ |
cam_semaphore.h | 46 int val; member in struct:__anon32646 55 s->val = n; 61 s->val++; 70 while (s->val == 0) 72 s->val--; 81 s->val = 0;
|