/external/toybox/toys/pending/ |
file.c | 35 struct {int val; char *name;} type[] = {{0x9026, "alpha"}, member in struct:__anon24550 56 for (i = 0; i<ARRAY_LEN(type); i++) if (j==type[i].val) break;
|
ipcs.c | 44 int val; member in union:semun 106 int val, nc, zc, pid; local 107 val = semctl(TT.id, i, GETVAL, n); 111 if (val < 0 || nc < 0 || zc < 0 || pid < 0) 113 printf("%-10d %-10d %-10d %-10d %-10d\n", i, val, nc, zc, pid);
|
/external/toybox/toys/posix/ |
cpio.c | 66 unsigned val, inpos = 8, outpos; local 75 sscanf(hex, pattern, &val, &outpos); 78 return val;
|
/external/v8/src/wasm/ |
decoder.h | 45 byte val = *(pc_++); local 46 TRACE("%02x = %d\n", val, val); 47 return val; 66 uint16_t val = static_cast<uint16_t>(b1 << 8) | b0; local 67 TRACE("%02x %02x = %d\n", pc_[0], pc_[1], val); 69 return val; 92 uint32_t val = static_cast<uint32_t>(b3 << 24) | local 95 TRACE("%02x %02x %02x %02x = %u\n", pc_[0], pc_[1], pc_[2], pc_[3], val); 97 return val; [all...] |
wasm-result.h | 41 : val(nullptr), error_code(kSuccess), start(nullptr), error_pc(nullptr) { 45 T val; member in struct:v8::internal::wasm::Result 69 if (result.val != nullptr) { 70 os << *result.val;
|
/external/v8/test/cctest/ |
test-thread-termination.cc | 218 v8::Maybe<bool> val = local 221 CHECK(val.FromJust());
|
/external/valgrind/coregrind/ |
m_rangemap.c | 46 struct { UWord key_min; UWord key_max; UWord val; } member in struct:__anon26436 82 r.val = initialVal; 100 UWord key_min, UWord key_max, UWord val ) 111 rng->val = val; 117 /*OUT*/UWord* val, const RangeMap* rm, UWord key ) 123 *val = rng->val; 135 /*OUT*/UWord* val, const RangeMap* rm, Word ix ) 141 *val = rng->val [all...] |
/external/valgrind/include/vki/ |
vki-posixtypes-mips64-linux.h | 76 long val[2]; member in struct:__anon26904 79 int val[2]; member in struct:__anon26904
|
vki-posixtypes-ppc64-linux.h | 68 int val[2]; member in struct:__anon26906
|
vki-posixtypes-s390x-linux.h | 70 int val[2]; member in struct:__anon26907
|
/external/vulkan-validation-layers/layers/ |
vk_layer_config.cpp | 168 unsigned int val = convertStringEnumVal(_valEnum); local 170 snprintf(strVal, 24, "%u", val);
|
/external/webp/src/enc/ |
near_lossless.c | 28 int* const val, int* const distance) { 30 *val = (initial & mask) | (initial >> (8 - bits)); 31 *distance = 2 * abs(a - *val); 35 static int Clamp8b(int val) { 38 return (val < min_val) ? min_val : (val > max_val) ? max_val : val; 48 const int val = Clamp8b(a + i * (1 << bits)); local 49 GetValAndDistance(a, val, bits, &candidate, &distance);
|
/external/webrtc/webrtc/base/ |
bytebuffer.cc | 69 bool ByteBuffer::ReadUInt8(uint8_t* val) { 70 if (!val) return false; 72 return ReadBytes(reinterpret_cast<char*>(val), 1); 75 bool ByteBuffer::ReadUInt16(uint16_t* val) { 76 if (!val) return false; 82 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost16(v) : v; 87 bool ByteBuffer::ReadUInt24(uint32_t* val) { 88 if (!val) return false; 99 *val = (byte_order_ == ORDER_NETWORK) ? NetworkToHost32(v) : v; 104 bool ByteBuffer::ReadUInt32(uint32_t* val) { 183 memcpy(ReserveWriteBuffer(len), val, len); local [all...] |
/external/webrtc/webrtc/modules/video_processing/ |
video_processing_impl.cc | 97 int val = i + delta; local 98 look_up[i] = ((((val < 0) ? 0 : val) > 255) ? 255 : val);
|
/external/wpa_supplicant_8/src/ap/ |
accounting.c | 40 u8 *val; local 77 val = ieee802_1x_get_identity(sta->eapol_sm, &len); 80 if (!val && sta->identity) { 81 val = (u8 *) sta->identity; 87 if (!val) { 90 val = (u8 *) buf; 94 if (!radius_msg_add_attr(msg, RADIUS_ATTR_USER_NAME, val, 107 val = ieee802_1x_get_radius_class(sta->eapol_sm, &len, 109 if (val == NULL) 113 val, len)) [all...] |
ieee802_11_shared.c | 499 unsigned int val; local 502 val = hapd->conf->ap_max_inactivity; 503 if (val > 68000) 504 val = 68000; 505 val *= 1000; 506 val /= 1024; 507 if (val == 0) 508 val = 1; 509 if (val > 65535) 510 val = 65535 [all...] |
wmm.c | 162 u16 val, surplus; local 170 val = le_to_host16(tspec->nominal_msdu_size); 172 val & 0x7fff, val & 0x8000 ? " (fixed)" : ""); 177 val = le_to_host16(tspec->surplus_bandwidth_allowance); 179 val >> 13, 10000 * (val & 0x1fff) / 0x2000); 181 val = le_to_host16(tspec->nominal_msdu_size); 182 if (val == 0) { 187 pps = ((le_to_host32(tspec->mean_data_rate) / 8) + val - 1) / val [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-gcm.c | 18 u32 val; local 19 val = WPA_GET_BE32(block + AES_BLOCK_SIZE - 4); 20 val++; 21 WPA_PUT_BE32(block + AES_BLOCK_SIZE - 4, val); 38 u32 val; local 40 val = WPA_GET_BE32(v + 12); 41 val >>= 1; 43 val |= 0x80000000; 44 WPA_PUT_BE32(v + 12, val); 46 val = WPA_GET_BE32(v + 8) [all...] |
/external/wpa_supplicant_8/src/radius/ |
radius_das.c | 204 u32 val; local 245 (u8 *) &val, 4); 247 u32 timestamp = ntohl(val);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_wps.c | 39 char *val; local 50 dbus_message_iter_get_basic(&variant_iter, &val); 51 if (os_strcmp(val, "enrollee") == 0) 53 else if (os_strcmp(val, "registrar") == 0) 56 wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Unknown role %s", val); 57 *reply = wpas_dbus_error_invalid_args(message, val); 70 char *val; local 80 dbus_message_iter_get_basic(&variant_iter, &val); 81 if (os_strcmp(val, "pin") == 0) 83 else if (os_strcmp(val, "pbc") == 0 [all...] |
/external/zlib/src/contrib/iostream2/ |
zstream.h | 44 size_t value() const { return val.word; } 46 struct Val { unsigned char byte; size_t word; } val; member in class:zstringlen 130 zs > val.byte; 131 if (val.byte == 255) zs > val.word; 132 else val.word = val.byte; 278 val.byte = 255; val.word = ::strlen(x) [all...] |
/external/zlib/src/examples/ |
gzjoin.c | 147 unsigned long val; local 149 val = bget(in); 150 val += (unsigned long)(bget(in)) << 8; 151 val += (unsigned long)(bget(in)) << 16; 152 val += (unsigned long)(bget(in)) << 24; 153 return val; 245 local void put4(unsigned long val, FILE *out) 247 putc(val & 0xff, out); 248 putc((val >> 8) & 0xff, out); 249 putc((val >> 16) & 0xff, out) [all...] |
/frameworks/av/media/libmedia/ |
AudioParameter.cpp | 146 int val; local 147 if (sscanf(str8.string(), "%d", &val) == 1) { 148 value = val; 162 float val; local 163 if (sscanf(str8.string(), "%f", &val) == 1) { 164 value = val;
|
/frameworks/base/core/java/android/net/ |
RouteInfo.java | 404 String val = ""; local 405 if (mDestination != null) val = mDestination.toString(); 407 val += " unreachable"; 409 val += " throw"; 411 val += " ->"; 412 if (mGateway != null) val += " " + mGateway.getHostAddress(); 413 if (mInterface != null) val += " " + mInterface; 415 val += " unknown type " + mType; 418 return val;
|
/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 328 int val = values[i * columns+ j]; local 331 val += valuegap[j + columns]; 335 val -= valuegap[j + columns]; 338 values[destrow * columns + j] = val; 352 int val = values[i * columns+ j]; local 355 val += valuegap[j + columns]; 359 val -= valuegap[j + columns]; 362 values[destrow * columns + j] = val;
|