Home
last modified time | relevance | path

Searched refs:num (Results 1 – 25 of 55) sorted by relevance

123

/lib/
A Dvsprintf.c134 if (num < 100000) in put_dec()
181 num = -(s64) num; in number()
199 if (num == 0) in number()
216 num >>= shift; in number()
217 } while (num); in number()
525 u64 num; in vsnprintf_internal() local
707 num = (signed long) num; in vsnprintf_internal()
715 num = (signed short) num; in vsnprintf_internal()
719 num = (signed int) num; in vsnprintf_internal()
872 num >>= 8; in simple_xtoa()
[all …]
A Dtiny-printf.c41 while (*num >= div) { in div_out()
42 *num -= div; in div_out()
171 num = *(phys_addr_t *)ptr; in pointer()
196 div_out(info, &num, div); in pointer()
204 unsigned long num; in _vprintf() local
259 num = -(long)num; in _vprintf()
262 num = -(int)num; in _vprintf()
266 if (!num) { in _vprintf()
270 div_out(info, &num, div); in _vprintf()
294 if (!num) { in _vprintf()
[all …]
A Doid_registry.c113 unsigned long num; in sprint_oid() local
129 num = 0; in sprint_oid()
132 num = n; in sprint_oid()
134 num = n & 0x7f; in sprint_oid()
139 num <<= 7; in sprint_oid()
140 num |= n & 0x7f; in sprint_oid()
143 ret += count = snprintf(buffer, bufsize, ".%lu", num); in sprint_oid()
A Dfdt-libcrypto.c11 BIGNUM *num, int num_bits) in fdt_add_bignum() argument
55 BN_mod(tmp, num, big2_32, ctx); /* n = N mod B */ in fdt_add_bignum()
57 BN_rshift(num, num, 32); /* N = N/B */ in fdt_add_bignum()
A Dfdtdec_common.c60 int num = 0; in fdtdec_get_child_count() local
63 num++; in fdtdec_get_child_count()
65 return num; in fdtdec_get_child_count()
/lib/lwip/lwip/src/netif/ppp/
A Dppp.c310 PPPDEBUG(LOG_DEBUG, ("ppp_listen[%d]\n", pcb->netif->num)); in ppp_listen()
404 PPPDEBUG(LOG_DEBUG, ("ppp_free[%d]\n", pcb->netif->num)); in ppp_free()
735 PPPDEBUG(LOG_DEBUG, ("ppp_start[%d]\n", pcb->netif->num)); in ppp_start()
754 PPPDEBUG(LOG_DEBUG, ("ppp_start[%d]: finished\n", pcb->netif->num)); in ppp_start()
759 PPPDEBUG(LOG_DEBUG, ("ppp_link_failed[%d]\n", pcb->netif->num)); in ppp_link_failed()
767 PPPDEBUG(LOG_DEBUG, ("ppp_link_end[%d]\n", pcb->netif->num)); in ppp_link_end()
1010 PPPDEBUG(LOG_DEBUG, ("ppp_link_terminated[%d]\n", pcb->netif->num)); in ppp_link_terminated()
1041 PPPDEBUG(LOG_INFO, ("ppp_send_config[%d]\n", pcb->netif->num)); in ppp_send_config()
1057 PPPDEBUG(LOG_INFO, ("ppp_recv_config[%d]\n", pcb->netif->num)); in ppp_recv_config()
1165 pcb->netif->num, vjcomp, cidcomp, maxcid)); in sifvjcomp()
[all …]
A Dmppe.c127 pcb->netif->num)); in mppe_init()
144 debugstr, pcb->netif->num, (state->keylen == 16) ? 128 : 40, in mppe_init()
153 debugstr, pcb->netif->num, mkey, skey)); in mppe_init()
224 PPPDEBUG(LOG_DEBUG, ("mppe_compress[%d]: ccount %d\n", pcb->netif->num, state->ccount)); in mppe_compress()
234 PPPDEBUG(LOG_DEBUG, ("mppe_compress[%d]: rekeying\n", pcb->netif->num)); in mppe_compress()
290 pcb->netif->num, n0->len)); in mppe_decompress()
299 pcb->netif->num, ccount)); in mppe_decompress()
305 pcb->netif->num)); in mppe_decompress()
311 "stateless mode!\n", pcb->netif->num)); in mppe_decompress()
317 "flag packet!\n", pcb->netif->num)); in mppe_decompress()
A Dpppos.c214 PPPDEBUG(LOG_WARNING, ("pppos_write[%d]: alloc fail\n", ppp->netif->num)); in pppos_write()
244 PPPDEBUG(LOG_INFO, ("pppos_write[%d]: len=%d\n", ppp->netif->num, p->len)); in pppos_write()
266 PPPDEBUG(LOG_WARNING, ("pppos_netif_output[%d]: alloc fail\n", ppp->netif->num)); in pppos_netif_output()
341 PPPDEBUG(LOG_INFO, ("pppos_connect: unit %d: connecting\n", ppp->netif->num)); in pppos_connect()
373 PPPDEBUG(LOG_INFO, ("pppos_listen: unit %d: listening\n", ppp->netif->num)); in pppos_listen()
502 PPPDEBUG(LOG_DEBUG, ("pppos_input[%d]: got %d bytes\n", ppp->netif->num, l)); in pppos_input()
528 ppp->netif->num, pppos->in_state)); in pppos_input()
535 ppp->netif->num, pppos->in_fcs, pppos->in_protocol)); in pppos_input()
542 ppp->netif->num)); in pppos_input()
798 pppos->ppp->netif->num, in pppos_send_config()
[all …]
A Dutils.c143 char num[32]; in ppp_vslprintf() local
259 num[0] = va_arg(args, int); in ppp_vslprintf()
260 num[1] = 0; in ppp_vslprintf()
261 str = num; in ppp_vslprintf()
271 ppp_slprintf(num, sizeof(num), "%d.%d.%d.%d", (ip >> 24) & 0xff, in ppp_vslprintf()
273 str = num; in ppp_vslprintf()
360 str = num + sizeof(num); in ppp_vslprintf()
362 while (str > num + neg) { in ppp_vslprintf()
379 len = num + sizeof(num) - 1 - str; in ppp_vslprintf()
A Dpppoe.c374 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, sc->sc_state)); in pppoe_find_softc_by_hunique()
379 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_find_softc_by_hunique()
582 …F": received unexpected PADR\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_disc_input()
613 …F": received unexpected PADO\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_disc_input()
656 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, in pppoe_disc_input()
723 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, in pppoe_data_input()
760 sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num, etype, in pppoe_output()
841 …pppoe: %c%c%"U16_F": timeout\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_timeout()
966 … %c%c%"U16_F": disconnecting\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_disconnect()
989 …uld not establish connection\n", sc->sc_ethif->name[0], sc->sc_ethif->name[1], sc->sc_ethif->num)); in pppoe_abort_connect()
[all …]
/lib/efi_loader/
A Defi_bootmgr.c172 efi_uintn_t num; in try_load_from_short_path() local
182 if (!num) in try_load_from_short_path()
747 int i, num; in efi_bootmgr_load() local
821 u32 i, num = index; in efi_bootmgr_enumerate_boot_options() local
877 opt[num].size = efi_serialize_load_option(&lo, (u8 **)&opt[num].lo); in efi_bootmgr_enumerate_boot_options()
885 num++; in efi_bootmgr_enumerate_boot_options()
892 *count = num; in efi_bootmgr_enumerate_boot_options()
1155 num = count; in efi_bootmgr_update_media_device_boot_option()
1160 total = num; in efi_bootmgr_update_media_device_boot_option()
1161 num = count; in efi_bootmgr_update_media_device_boot_option()
[all …]
/lib/lwip/lwip/src/include/lwip/
A Dmemp.h48 #define LWIP_MEMPOOL(name,num,size,desc) argument
53 #define LWIP_MEMPOOL(name,num,size,desc) MEMP_##name, argument
71 #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \ argument
95 #define LWIP_MEMPOOL_DECLARE(name,num,size,desc) \ argument
96 …LWIP_DECLARE_MEMORY_ALIGNED(memp_memory_ ## name ## _base, ((num) * (MEMP_SIZE + MEMP_ALIGN_SIZE(s…
106 (num), \
/lib/lwip/lwip/src/include/lwip/priv/
A Dmemp_priv.h84 #define LWIP_MEMPOOL(name,num,size,desc) argument
86 #define LWIP_MALLOC_MEMPOOL(num, size) * MEMP_POOL_##size + 0 argument
93 #define LWIP_MEMPOOL(name,num,size,desc) argument
95 #define LWIP_MALLOC_MEMPOOL(num, size) 0 + MEMP_POOL_##size * argument
123 u16_t num; member
A Dmemp_std.h23 #define LWIP_MALLOC_MEMPOOL(num, size) LWIP_MEMPOOL(POOL_##size, num, (size + LWIP_MEM_ALIGN_SIZE(s… argument
31 #define LWIP_PBUF_MEMPOOL(name, num, payload, desc) LWIP_MEMPOOL(name, num, (LWIP_MEM_ALIGN_SIZE(si… argument
/lib/lwip/lwip/test/unit/core/
A Dtest_mem.c59 static void malloc_keep_x(int x, int num, int size, int freestep) in malloc_keep_x() argument
65 for(i = 0; i < num && i < 16; i++) { in malloc_keep_x()
69 for(i = 0; i < num && i < 16; i += freestep) { in malloc_keep_x()
76 for(i = 0; i < num && i < 16; i++) { in malloc_keep_x()
91 const int num = 16; in START_TEST() local
99 for (x = 0; x < num; x++) { in START_TEST()
103 malloc_keep_x(x, num, size, freestep); in START_TEST()
/lib/lwip/lwip/contrib/examples/snmp/snmp_private_mib/
A Dlwip_prvmib.c98 u8_t num; member
221 sensors[idx].num = idx+1; in lwip_privmib_init()
237 sensors[i].num = (u8_t)(i + 1); in lwip_privmib_init()
258 if(sensors[count].num == 0) { in sensor_count_get_value()
291 if(sensors[i].num != 0) { in sensor_table_get_cell_instance()
292 if(sensors[i].num == sensor_num) { in sensor_table_get_cell_instance()
318 if(sensors[i].num != 0) { in sensor_table_get_next_cell_instance()
321 test_oid[0] = sensors[i].num; in sensor_table_get_next_cell_instance()
/lib/mbedtls/external/mbedtls/scripts/mbedtls_dev/
A Dc_wrapper_generator.py129 num: int,
135 name = 'arg' + str(num)
142 num: int, name: str,
227 argument_names = [self._argument_name(function.name, num, arg)
228 for num, arg in enumerate(function.arguments)]
251 for num in range(len(function.arguments)):
254 num, wrapper.argument_names[num], function.arguments[num])
256 (')' + terminator if num == len(function.arguments) - 1 else
/lib/lwip/lwip/src/core/
A Dmemp.c78 #define LWIP_MEMPOOL(name,num,size,desc) LWIP_MEMPOOL_DECLARE(name,num,size,desc) argument
82 #define LWIP_MEMPOOL(name,num,size,desc) &memp_ ## name, argument
158 for (j = 0; j < memp_pools[i]->num; ++j) { in memp_overflow_check_all()
187 memset(memp, 0, (size_t)desc->num * (MEMP_SIZE + desc->size in memp_init_pool()
194 for (i = 0; i < desc->num; ++i) { in memp_init_pool()
208 desc->stats->avail = desc->num; in memp_init_pool()
A Dnetif.c365 netif->num = netif_num; in netif_add()
407 if (netif->num == 255) { in netif_add()
408 netif->num = 0; in netif_add()
415 if (netif2->num == netif->num) { in netif_add()
416 netif->num++; in netif_add()
422 if (netif->num == 254) { in netif_add()
425 netif_num = (u8_t)(netif->num + 1); in netif_add()
1758 u8_t num; in netif_find() local
1766 num = (u8_t)atoi(&name[2]); in netif_find()
1767 if (!num && (name[2] != '0')) { in netif_find()
[all …]
/lib/rsa/
A Drsa-mod-exp.c44 static void subtract_modulus(const struct rsa_public_key *key, uint32_t num[]) in subtract_modulus() argument
50 acc += (uint64_t)num[i] - key->modulus[i]; in subtract_modulus()
51 num[i] = (uint32_t)acc; in subtract_modulus()
64 uint32_t num[]) in greater_equal_modulus() argument
69 if (num[i] < key->modulus[i]) in greater_equal_modulus()
71 if (num[i] > key->modulus[i]) in greater_equal_modulus()
/lib/crypt/
A Dcrypt-sha256.c143 const char *num = salt + sizeof (sha256_rounds_prefix) - 1; in crypt_sha256crypt_rn() local
146 if (!(*num >= '1' && *num <= '9')) in crypt_sha256crypt_rn()
154 rounds = strtoul (num, &endp, 10); in crypt_sha256crypt_rn()
155 if (endp == num || *endp != '$' in crypt_sha256crypt_rn()
A Dcrypt-sha512.c144 const char *num = salt + sizeof (sha512_rounds_prefix) - 1; in crypt_sha512crypt_rn() local
147 if (!(*num >= '1' && *num <= '9')) in crypt_sha512crypt_rn()
155 rounds = strtoul (num, &endp, 10); in crypt_sha512crypt_rn()
156 if (endp == num || *endp != '$' in crypt_sha512crypt_rn()
/lib/lwip/lwip/test/unit/
A Dlwip_unittests.c99 size_t num = sizeof(suites)/sizeof(void*); in lwip_unittests_run() local
100 LWIP_ASSERT("No suites defined", num > 0); in lwip_unittests_run()
110 for(i = 1; i < num; i++) { in lwip_unittests_run()
/lib/lwip/lwip/test/unit/tcp/
A Dtest_tcp_oos.c30 int num = 0; in tcp_oos_count() local
33 num++; in tcp_oos_count()
36 return num; in tcp_oos_count()
43 int num = 0; in tcp_oos_pbuf_count() local
49 return num; in tcp_oos_pbuf_count()
62 int num = 0; in tcp_oos_seg_seqno() local
67 if(num == seg_index) { in tcp_oos_seg_seqno()
70 num++; in tcp_oos_seg_seqno()
86 int num = 0; in tcp_oos_seg_tcplen() local
91 if(num == seg_index) { in tcp_oos_seg_tcplen()
[all …]
/lib/lwip/lwip/src/core/ipv4/
A Dautoip.c194 (void *)netif, netif->name[0], netif->name[1], (u16_t)netif->num, in autoip_bind()
269 netif->name[1], (u16_t)netif->num)); in autoip_start()
287 netif->name[1], (u16_t)netif->num)); in autoip_start()

Completed in 61 milliseconds

123