Searched refs:pos (Results 1 – 7 of 7) sorted by relevance
/net-tools-3.5.0/virtual-hub/src/ |
D | hub.c | 105 void setup_reachable_nodes(int pos) in setup_reachable_nodes() argument 111 if (m[pos][i] > channel_statistic_send) { in setup_reachable_nodes() 112 send[pos][i] = TRUE; in setup_reachable_nodes() 117 void reset_reachable_nodes(int pos) in reset_reachable_nodes() argument 120 send[pos][i] = FALSE; in reset_reachable_nodes() 124 void broadcast_data(int pos, unsigned char *buf) in broadcast_data() argument 127 if (send[pos][i] == TRUE) { in broadcast_data() 140 int pos = GPOINTER_TO_INT(user_data); in fifo_handler() local 157 if (packet_state[pos] == PACKET_START) { in fifo_handler() 161 buffer[pos][buffer_index[pos]] = *buf; in fifo_handler() [all …]
|
/net-tools-3.5.0/ |
D | echo-client.c | 574 int pos = 0; in main() local 605 pos = 0; in main() 608 ret = write(fd, &buf_ptr[pos], in main() 609 len - pos); in main() 614 pos += ret; in main() 671 pos = 0; in main() 674 ret = read(fd, buf + pos, in main() 675 sizeof(buf) - pos); in main() 680 pos += ret; in main()
|
D | tunslip6.c | 219 int i, pos; in serial_to_tun() local 220 for(i = 0, pos = 0; i < 16; i++) { in serial_to_tun() 221 macs[pos++] = uip.inbuf[2 + i]; in serial_to_tun() 223 macs[pos++] = ':'; in serial_to_tun() 227 macs[pos] = '\0'; in serial_to_tun()
|
D | throughput-client.c | 495 int pos = 0; in main() local
|
/net-tools-3.5.0/mbedtls-2.4.0/include/mbedtls/ |
D | bignum.h | 266 int mbedtls_mpi_get_bit( const mbedtls_mpi *X, size_t pos ); 282 int mbedtls_mpi_set_bit( mbedtls_mpi *X, size_t pos, unsigned char val );
|
/net-tools-3.5.0/mbedtls-2.4.0/library/ |
D | bignum.c | 308 int mbedtls_mpi_get_bit( const mbedtls_mpi *X, size_t pos ) in mbedtls_mpi_get_bit() argument 310 if( X->n * biL <= pos ) in mbedtls_mpi_get_bit() 313 return( ( X->p[pos / biL] >> ( pos % biL ) ) & 0x01 ); in mbedtls_mpi_get_bit() 319 int mbedtls_mpi_set_bit( mbedtls_mpi *X, size_t pos, unsigned char val ) in mbedtls_mpi_set_bit() argument 322 size_t off = pos / biL; in mbedtls_mpi_set_bit() 323 size_t idx = pos % biL; in mbedtls_mpi_set_bit() 328 if( X->n * biL <= pos ) in mbedtls_mpi_set_bit()
|
/net-tools-3.5.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_mpi.function | 179 void mbedtls_mpi_get_bit( int radix_X, char *input_X, int pos, int val ) 184 TEST_ASSERT( mbedtls_mpi_get_bit( &X, pos ) == val ); 192 void mbedtls_mpi_set_bit( int radix_X, char *input_X, int pos, int val, 200 TEST_ASSERT( mbedtls_mpi_set_bit( &X, pos, val ) == result );
|