Lines Matching refs:val
83 int32_t val; in softnic_parser_read_int32() local
89 val = strtol(p, &next, 10); in softnic_parser_read_int32()
93 *value = val; in softnic_parser_read_int32()
101 uint64_t val; in softnic_parser_read_uint64() local
107 val = strtoul(p, &next, 10); in softnic_parser_read_uint64()
114 val *= 1024ULL; in softnic_parser_read_uint64()
117 val *= 1024ULL; in softnic_parser_read_uint64()
120 val *= 1024ULL; in softnic_parser_read_uint64()
124 val *= 1024ULL; in softnic_parser_read_uint64()
133 *value = val; in softnic_parser_read_uint64()
141 uint64_t val; in softnic_parser_read_uint64_hex() local
145 val = strtoul(p, &next, 16); in softnic_parser_read_uint64_hex()
153 *value = val; in softnic_parser_read_uint64_hex()
160 uint64_t val = 0; in softnic_parser_read_uint32() local
161 int ret = softnic_parser_read_uint64(&val, p); in softnic_parser_read_uint32()
166 if (val > UINT32_MAX) in softnic_parser_read_uint32()
169 *value = val; in softnic_parser_read_uint32()
176 uint64_t val = 0; in softnic_parser_read_uint32_hex() local
177 int ret = softnic_parser_read_uint64_hex(&val, p); in softnic_parser_read_uint32_hex()
182 if (val > UINT32_MAX) in softnic_parser_read_uint32_hex()
185 *value = val; in softnic_parser_read_uint32_hex()
192 uint64_t val = 0; in softnic_parser_read_uint16() local
193 int ret = softnic_parser_read_uint64(&val, p); in softnic_parser_read_uint16()
198 if (val > UINT16_MAX) in softnic_parser_read_uint16()
201 *value = val; in softnic_parser_read_uint16()
208 uint64_t val = 0; in softnic_parser_read_uint16_hex() local
209 int ret = softnic_parser_read_uint64_hex(&val, p); in softnic_parser_read_uint16_hex()
214 if (val > UINT16_MAX) in softnic_parser_read_uint16_hex()
217 *value = val; in softnic_parser_read_uint16_hex()
224 uint64_t val = 0; in softnic_parser_read_uint8() local
225 int ret = softnic_parser_read_uint64(&val, p); in softnic_parser_read_uint8()
230 if (val > UINT8_MAX) in softnic_parser_read_uint8()
233 *value = val; in softnic_parser_read_uint8()
240 uint64_t val = 0; in softnic_parser_read_uint8_hex() local
241 int ret = softnic_parser_read_uint64_hex(&val, p); in softnic_parser_read_uint8_hex()
246 if (val > UINT8_MAX) in softnic_parser_read_uint8_hex()
249 *value = val; in softnic_parser_read_uint8_hex()
438 uint32_t s = 0, c = 0, h = 0, val; in softnic_parse_cpu_core() local
500 val = strtol(num, NULL, 10); in softnic_parse_cpu_core()
506 s = val; in softnic_parse_cpu_core()
510 c = val; in softnic_parse_cpu_core()