| /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...] |
| /bionic/libc/kernel/arch-arm/asm/ |
| posix_types.h | 48 int val[2]; member in struct:__anon74
|
| /bionic/libc/kernel/arch-x86/asm/ |
| posix_types_32.h | 48 int val[2]; member in struct:__anon140
|
| /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/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);
|
| /cts/tools/vm-tests/src/dot/junit/opcodes/monitor_enter/ |
| Test_monitor_enter.java | 165 private int val; field in class:TestRunnable2 166 TestRunnable2(T_monitor_enter_2 t2, int val) { 168 this.val = val; 173 t2.run(val);
|
| /dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/ |
| DERBitString.java | 22 int val = 0; local 33 val = (bitString >> (i * 8)) & 0xFF; 41 val = bitString & 0xFF; 47 if (val == 0) 55 while (((val <<= 1) & 0xFF) != 0)
|
| /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/encodings/ |
| ISO9796d1Encoding.java | 165 byte val = block[block.length - t + i / 2]; 167 block[i] = (byte)((shadows[(val & 0xff) >>> 4] << 4) 168 | shadows[val & 0x0f]); 169 block[i + 1] = val; 220 int val = ((shadows[(block[i] & 0xff) >>> 4] << 4) local 223 if (((block[i - 1] ^ val) & 0xff) != 0) 228 r = (block[i - 1] ^ val) & 0xff;
|
| /dalvik/libcore/xml/src/main/java/javax/xml/datatype/ |
| DatatypeFactory.java | 396 long val = _durationInMilliseconds; local 397 int milliseconds = (int) (val % 60000L); // 60000 milliseconds per minute 403 val = val / 60000L; 404 int minutes = (int) (val % 60L); // 60 minutes per hour 405 val = val / 60L; 406 int hours = (int) (val % 24L); // 24 hours per day 407 long days = val / 24L; 420 val = val / 60000L [all...] |
| /dalvik/vm/ |
| Hash.c | 294 int i, val; local 300 val = (*func)(pEnt->data); 301 if (val == 1) { 306 else if (val != 0) { 307 return val; 322 int i, val; local 328 val = (*func)(pEnt->data, arg); 329 if (val != 0) 330 return val;
|
| Properties.c | 272 JValue val; 273 dvmCallMethod(dvmThreadSelf(), getProp, NULL, &val, keyObj); local 274 valueObj = (StringObject*) val.l;
|
| /dalvik/vm/hprof/ |
| HprofStack.c | 118 StackTraceEntry *val; local 134 val = dvmHashTableLookup(gStackTraceHashTable, hashValue, (void *)stackTrace, 136 if (val == NULL) { 141 val = dvmHashTableLookup(gStackTraceHashTable, hashValue, 143 assert(val != NULL); 147 val->live = 1; 150 serial = val->trace.serialNumber;
|
| /development/simulator/app/ |
| Preferences.cpp | 344 printf("SimPref: evaluating as bool name='%s' val='%s'\n", 356 int val; local 357 if (pElem != NULL && pElem->Attribute(kValue, &val) != NULL) { 358 *pInt = val; 366 double val; local 367 if (pElem != NULL && pElem->Attribute(kValue, &val) != NULL) { 368 *pDouble = val; 376 const char* val; local 378 val = pElem->Attribute(kValue); 379 if (val != NULL) [all...] |
| /external/bluetooth/bluez/src/ |
| main.c | 90 int val; local 98 val = g_key_file_get_integer(config, "General", 104 debug("discovto=%d", val); 105 main_opts.discovto = val; 109 val = g_key_file_get_integer(config, "General", 115 debug("pairto=%d", val); 116 main_opts.pairto = val; 119 val = g_key_file_get_integer(config, "General", "PageTimeout", &err); 124 debug("pageto=%d", val); 125 main_opts.pageto = val; [all...] |
| /external/bluetooth/glib/glib/ |
| gtimer.c | 305 long val; local 322 val = strtoul (iso_date, (char **)&iso_date, 10); 326 tm.tm_year = val - 1900; 338 tm.tm_mday = val % 100; 339 tm.tm_mon = (val % 10000) / 100 - 1; 340 tm.tm_year = val / 10000 - 1900; 346 val = strtoul (iso_date, (char **)&iso_date, 10); 350 tm.tm_hour = val; 362 tm.tm_sec = val % 100; 363 tm.tm_min = (val % 10000) / 100 [all...] |
| /external/bluetooth/glib/tests/ |
| timeloop-basic.c | 81 int val = 1; local 85 write_all (out_fd, (char *)&val, sizeof (val)); 86 read_all (in_fd, (char *)&val, sizeof (val)); 89 val = 0; 90 write_all (out_fd, (char *)&val, sizeof (val)); 98 int val; local 100 if (!read_all (source, (char *)&val, sizeof(val)) [all...] |
| timeloop-closure.c | 81 int val = 1; local 86 write_all (out_channel, (char *)&val, sizeof (val)); 87 read_all (in_channel, (char *)&val, sizeof (val)); 90 val = 0; 91 write_all (out_channel, (char *)&val, sizeof (val)); 93 val = g_timer_elapsed (timer, NULL) * 1000; 95 write_all (out_channel, (char *)&val, sizeof (val)) 106 int val; local [all...] |
| /external/dbus/bus/ |
| main.c | 376 long val; local 378 if (!_dbus_string_parse_int (&addr_fd, 0, &val, &end) || 380 val < 0 || val > _DBUS_INT_MAX) 387 print_addr_fd = val; 398 long val; local 400 if (!_dbus_string_parse_int (&pid_fd, 0, &val, &end) || 402 val < 0 || val > _DBUS_INT_MAX) 409 print_pid_fd = val; [all...] |
| /external/dropbear/ |
| svr-main.c | 116 int val; local 194 val = select(maxsock+1, &fds, NULL, NULL, &seltimeout); 201 if (val == 0) { 206 if (val < 0) {
|