| /system/core/liblog/ |
| event_tag_map.c | 338 unsigned long val; local 345 val = strtoul(startp, &endp, 10); 350 tag->tagIndex = val;
|
| /system/core/nexus/ |
| WifiNetwork.cpp | 315 char val[16]; local 316 sprintf(val, "%d", idx); 317 if (mSuppl->setNetworkVar(mNetid, "wep_tx_keyidx", val)) 325 char val[16]; local 326 sprintf(val, "%d", priority); 327 if (mSuppl->setNetworkVar(mNetid, "priority", val))
|
| /system/netd/ |
| CommandListener.cpp | 147 int val = 0; local 152 rc = ThrottleController::getInterfaceRxThrottle(argv[2], &val); 154 rc = ThrottleController::getInterfaceTxThrottle(argv[2], &val); 161 asprintf(&msg, "%u", val);
|
| /system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
| console.c | 668 U32 val = 0; local 710 val = strtoul( parm, &end_buf, 0 ); 714 /* if (sscanf( parm, "%i", &val ) != 1)*/ 734 if ((val < p_token->u.token.parm[i].low_val) || 735 (val > p_token->u.token.parm[i].hi_val) ) 738 p_token->u.token.parm[i].name, val, 748 p_token->u.token.parm[i].value = val;
|
| /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
| MappedByteBufferTest.java | 77 int val = ibuffer.get(); local 79 assertEquals("Got wrong int value", res, val); //$NON-NLS-1$
|
| /dalvik/libcore/sql/src/test/java/tests/SQLite/ |
| FunctionContextTest.java | 81 String val = row[0]; local 83 assertEquals("TestInput", val); 104 String val = row[0]; local 106 assertEquals(testInt.intVal, Integer.parseInt(val)); 127 String val = row[0]; local 129 assertEquals(testD.testDouble, Double.parseDouble(val)); 193 String val = row[0]; local 195 assertTrue(expected.equalsIgnoreCase(val)); 240 String val = row[0]; local 242 assertNotNull(val); [all...] |
| /dalvik/libcore/sql/src/test/java/tests/java/sql/ |
| SelectFunctionalityTest.java | 273 String val = result.getString("ftext"); local 275 assertEquals("wrong value of ftext field", value.get(key), val); 316 int val = result.getInt("cnum"); local 319 (Integer) val); 351 String val = result.getString("cname"); local 353 assertEquals("wrong value of cname field", value.get(key), val); 386 Object val = result.getObject("ccnum"); local 389 (Integer) val); 426 Object val = result.getObject("ccnum"); local 429 (Integer) val); [all...] |
| /dalvik/libdex/ |
| ZipArchive.c | 154 unsigned int val; local 162 val = get4LE(basePtr); 163 if (val == kEOCDSignature) { 166 } else if (val != kLFHSignature) { 167 LOGV("Not a Zip archive (found 0x%08x)\n", val);
|
| /dalvik/tools/dmtracedump/ |
| CreateTestTrace.c | 326 void write2LE(FILE* fp, unsigned short val) 328 putc(val & 0xff, fp); 329 putc(val >> 8, fp); 332 void write4LE(FILE* fp, unsigned int val) 334 putc(val & 0xff, fp); 335 putc((val >> 8) & 0xff, fp); 336 putc((val >> 16) & 0xff, fp); 337 putc((val >> 24) & 0xff, fp); 340 void write8LE(FILE* fp, unsigned long long val) 342 putc(val & 0xff, fp) 429 unsigned int val = METHOD_COMBINE(pRecord->methodId, pRecord->action); local [all...] |
| /dalvik/vm/ |
| Init.c | 254 unsigned int val; local 256 val = (unsigned int)strtoul(s, (char **)&s2, 10); 289 if (val <= UINT_MAX / mul) { 290 val *= mul; 294 val = UINT_MAX & ~(1024-1); 307 if (val % div == 0) { 308 return val; 744 unsigned int val = dvmParseMemOption(argv[i]+4, 1024); local 745 if (val != 0) { 746 if (val >= kMinHeapStartSize && val <= kMaxHeapSize) 759 unsigned int val = dvmParseMemOption(argv[i]+4, 1024); local 774 unsigned int val = dvmParseMemOption(argv[i]+4, 1); local [all...] |
| /development/apps/SpareParts/src/com/android/spare_parts/ |
| SpareParts.java | 180 float val = Float.parseFloat(objValue.toString()); local 181 mWindowManager.setAnimationScale(which, val); 197 int val = Integer.parseInt(objValue.toString()); local 199 Settings.System.END_BUTTON_BEHAVIOR, val); local 204 int floatToIndex(float val, int resid) { 209 if (val < (lastVal + (thisVal-lastVal)*.5f)) {
|
| /external/bison/lib/ |
| quotearg.c | 585 char *val; member in struct:slotvec 617 char *val = slotvec[n].val; local 618 size_t qsize = quotearg_buffer (val, size, arg, argsize, options); 623 if (val != slot0) 624 free (val); 625 slotvec[n].val = val = xmalloc (size); 626 quotearg_buffer (val, size, arg, argsize, options); 630 return val; [all...] |
| /external/bluetooth/bluez/src/ |
| sdpd-service.c | 104 uint8_t val = 0; local 115 val |= 0x42; /* Telephony & Networking */ 122 val |= 0x10; /* Object Transfer */ 126 val |= 0x20; /* Audio */ 139 val |= 0x40; /* Telephony */ 143 val |= 0x08; /* Capturing */ 147 val |= 0x04; /* Rendering */ 152 val |= 0x02; /* Networking */ 157 SDPDBG("Service classes 0x%02x", val); 159 service_classes = val; [all...] |
| /external/bluetooth/glib/tests/gobject/ |
| ifaceinit.c | 53 guint val; member in struct:_TestIfaceClass 192 iface->val = 0x10001; 204 iface->val = 0x20002; 214 iface->val = 0x30003; 224 iface->val = 0x40004; 234 iface->val = 0x50005; 244 iface->val = 0x60006; 257 g_assert (iface->val == 0); 411 g_assert (iface && iface->val == 0x10001 && iface->base_val == 0x110011); 413 g_assert (iface && iface->val == 0x30003 && iface->base_val == 0x330033) [all...] |
| /external/bluetooth/hcidump/parser/ |
| sdp.c | 271 uint64_t val, val2; local 287 val = get_u8(frm); 290 *channel = val; 293 val = get_u16(frm); 296 *psm = val; 299 val = get_u32(frm); 302 val = get_u64(frm); 305 get_u128(frm, &val, &val2); 307 if (val < 0x1000000000000000LL) 309 printf("%jx", val); [all...] |
| /external/dbus/dbus/ |
| dbus-keyring.c | 477 long val; local 489 if (!_dbus_string_parse_int (&line, 0, &val, &next)) 495 if (val > _DBUS_INT32_MAX || val < 0) 501 id = val;
|
| dbus-sha.c | 563 long val; local 569 if (!_dbus_string_parse_int (line, offset, &val, &next)) 579 if (!_dbus_string_parse_int (line, offset, &val, &next)) 586 if (!(val == 0 || val == 1)) 594 current_b = val; 606 if (!_dbus_string_parse_int (line, offset, &val, &next)) 612 /* We now append "val" copies of "current_b" bits to the string */ 613 total_bits = n_bits + val;
|
| /external/dbus/tools/ |
| dbus-launch.c | 951 long val; local 1011 val = strtol (buf, &end, 0); 1019 bus_pid = val;
|
| /external/dropbear/libtomcrypt/testprof/ |
| der_tests.c | 24 unsigned long x, val, outlen; local 42 LTC_SET_ASN1(list, 1, LTC_ASN1_SHORT_INTEGER, &val, 1); 61 if (val != int_val) { [all...] |
| /external/e2fsprogs/e2fsck/ |
| journal.c | 170 void mark_buffer_uptodate(struct buffer_head *bh, int val) 172 bh->b_uptodate = val; 587 __u32 val[4]; member in union:__anon1663 618 new_seq ^= u.val[i];
|
| /external/freetype/src/psaux/ |
| psobjs.c | 1085 FT_Long val; local 1094 val = ps_tobool( &cur, limit ); 1098 val = PS_Conv_ToFixed( &cur, limit, 0 ); 1102 val = PS_Conv_ToFixed( &cur, limit, 3 ); 1106 val = PS_Conv_ToInt( &cur, limit ); 1113 *(FT_Byte*)q = (FT_Byte)val; 1117 *(FT_UShort*)q = (FT_UShort)val; 1121 *(FT_UInt32*)q = (FT_UInt32)val; 1125 *(FT_Long*)q = val; [all...] |
| /external/freetype/src/pshinter/ |
| pshrec.c | 339 FT_Int val; local 344 val = write[0] & ~wmask; 347 val |= wmask; 349 write[0] = (FT_Byte)val;
|
| /external/freetype/src/sfnt/ |
| ttsbit.c | 135 FT_Byte val; local 146 val = (FT_Byte)( acc >> 8 ); 149 cur[0] |= (FT_Byte)( val >> shift ); 150 cur[1] |= (FT_Byte)( val << space ); 153 cur[0] |= val; 170 FT_Byte val; local 181 val = (FT_Byte)( ( (FT_Byte)( acc >> 8 ) ) & ~( 0xFF >> count ) ); 182 cur[0] |= (FT_Byte)( val >> shift ); 185 cur[1] |= (FT_Byte)( val << space ); 1099 FT_Byte val; local [all...] |
| /external/gtest/include/gtest/internal/ |
| gtest-internal.h | 96 inline void GTestStreamToHelper(std::ostream* os, const T& val) { 97 *os << val; local [all...] |
| /external/icu4c/i18n/ |
| uspoof_impl.cpp | 415 uint32_t val = 0; local 426 val <<= 4; 427 val += digitVal; 429 if (val > 0x10ffff) { 431 val = 0; 433 return (UChar32)val;
|