/libcore/luni/src/main/java/java/util/ |
Random.java | 218 int bits, val; local 221 val = bits % n; 222 } while (bits - val + (n - 1) < 0); 223 return val;
|
/libcore/luni/src/main/java/org/apache/xalan/processor/ |
ProcessorExsltFunction.java | 74 String val = attributes.getValue("name"); local 75 int indexOfColon = val.indexOf(":"); 78 //String prefix = val.substring(0, indexOfColon); 79 //String localVal = val.substring(indexOfColon + 1);
|
/libcore/luni/src/main/java/org/apache/xalan/templates/ |
ElemAttribute.java | 189 String val = transformer.transformToString(this); local 195 rhandler.addAttribute(nodeNamespace, localName, nodeName, "CDATA", val, true); 197 rhandler.addAttribute("", localName, nodeName, "CDATA", val, true);
|
/libcore/luni/src/main/java/org/apache/xml/utils/ |
ObjectStack.java | 101 Object val = m_map[--m_firstFree]; local 104 return val; 156 * @param val object to set at the top 159 public void setTop(Object val) 162 m_map[m_firstFree - 1] = val;
|
/libcore/support/src/test/java/tests/support/ |
Support_BitSet.java | 196 long val = bits[idx]; local 197 while ((val & (1L << i)) == 0 && i > 0) {
|
/ndk/sources/android/stlport/test/unit/ |
num_facets_test.cpp | 40 float val = 1234.56f; local 43 fostr << val; local 55 val = 12345678.9f; 63 fostr << val; local 66 val = 1000000000.0f; 68 fostr << val; local 73 val = 1234.0f; 80 fostr << val; local 83 val = 10000001.0f; 85 fostr << val; local [all...] |
/packages/apps/Phone/src/com/android/phone/ |
HapticFeedback.java | 111 int val = mSystemSettings.getInt(mContentResolver, System.HAPTIC_FEEDBACK_ENABLED, 0); local 112 mSettingEnabled = val != 0;
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/ |
Visualization3RS.java | 119 float val = mAnalyzer[srcidx] / 50; local 120 if (val < 1f && val > -1f) val = 1; 121 mPointData[(i + skip) * 8 + 1] = val; 122 mPointData[(i + skip) * 8 + 5] = -val;
|
/system/core/mkbootimg/ |
mkbootimg.c | 126 char *val = argv[1]; local 133 bootimg = val; 135 kernel_fn = val; 137 ramdisk_fn = val; 139 second_fn = val; 141 cmdline = val; 143 unsigned base = strtoul(val, 0, 16); 149 board = val; 151 pagesize = strtoul(val, 0, 10);
|
/system/core/nexus/ |
CommandListener.cpp | 152 char val[Property::ValueMaxSize]; local 155 val, 156 sizeof(val))) { 161 asprintf(&tmp, "%s %s", argv[1], val);
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec); local 212 return val < 0.0 ? -val : val; // sometimes 0.00 is -0.00
|
/system/wlan/ti/sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/ |
shmFwCtrl.c | 997 UINT32 val = (pWhalBus->pEEPROMCurPtr[0] | local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 289 DexEncodedValue val = (DexEncodedValue) object; local 290 builder.append(val.getValue());
|
/bionic/libc/bionic/ |
arc4random.c | 177 u_int8_t val; local 182 val = arc4_getbyte(); 184 return val; 190 u_int32_t val; local 191 val = arc4_getbyte() << 24; 192 val |= arc4_getbyte() << 16; 193 val |= arc4_getbyte() << 8; 194 val |= arc4_getbyte(); 195 return val; 219 u_int32_t val; local [all...] |
semaphore.c | 72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK) 389 int val; local 396 val = SEMCOUNT_TO_VALUE(sem->count); 397 if (val < 0) 398 val = 0; 400 *sval = val;
|
/bionic/libc/kernel/arch-arm/asm/ |
posix_types.h | 48 int val[2]; member in struct:__anon75
|
/bionic/libc/kernel/arch-sh/asm/ |
posix_types_32.h | 48 int val[2]; member in struct:__anon89
|
posix_types_64.h | 48 int val[2]; member in struct:__anon90
|
/bionic/libc/kernel/arch-x86/asm/ |
posix_types_32.h | 48 int val[2]; member in struct:__anon162
|
/bionic/libc/kernel/common/linux/ |
ppdev.h | 24 unsigned char val; member in struct:ppdev_frob_struct
|
/bootable/bootloader/legacy/arch_msm7k/ |
clock.c | 251 unsigned val = *x++; local 252 *ptr = val; 255 c = val; 257 s = val; 269 unsigned val = *x++; local 270 *ptr = val;
|
/bootable/recovery/minzip/ |
Hash.c | 35 unsigned int roundUpPower2(unsigned int val) 37 val--; 38 val |= val >> 1; 39 val |= val >> 2; 40 val |= val >> 4; 41 val |= val >> 8 294 int i, val; local [all...] |
/build/tools/droiddoc/src/ |
FieldInfo.java | 120 public static String constantLiteralValue(Object val) 123 if (val != null) { 124 if (val instanceof Boolean 125 || val instanceof Byte 126 || val instanceof Short 127 || val instanceof Integer) 129 str = val.toString(); 132 else if (val instanceof Double){ 133 Double dbl = (Double) val; 144 else if (val instanceof Long) 241 Object val = mConstantValue; local [all...] |
/cts/apps/CtsVerifier/jni/audioquality/ |
CompareSpectra.cpp | 39 float val = data[i + frame]; local 40 sum += (val * val); 163 double val = 1.0; local 165 val = 20.0 * log10(rmsNorm * spect1[i] / spect2[i]); 167 sumDevSquared += val * val; 168 if (fabs(val) > fabs(*maxDeviation)) { 169 *maxDeviation = val; 171 // fprintf(stderr, "%d %f\n", i, val); [all...] |
/cts/tools/dx-tests/src/dxc/junit/opcodes/monitorenter/ |
Test_monitorenter.java | 126 private int val; field in class:TestRunnable2 127 TestRunnable2(T_monitorenter_2 t2, int val) { 129 this.val = val; 134 t2.run(val);
|