Home
last modified time | relevance | path

Searched refs:fd_index (Results 1 – 25 of 28) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/epoll/
Depoll-ltp.c358 epoll_fds[fd_index], ev_ptr, ev_ptr->events, ev_ptr->data.fd, errno, \
363 epoll_fds[fd_index], ev_ptr, errno, strerror(errno)); \
372 epoll_fds[fd_index], ev_ptr, ev_ptr->events, ev_ptr->data.fd, errno, \
377 epoll_fds[fd_index], ev_ptr, errno, strerror(errno)); \
408 unsigned int fd_index; /* index into fd list for the fd parameter */ in test_epoll_ctl() local
465 for (fd_index = 0; in test_epoll_ctl()
466 fd_index < (sizeof(fds) / sizeof(int)); in test_epoll_ctl()
467 fd_index++) { in test_epoll_ctl()
496 fds[fd_index], in test_epoll_ctl()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_server_posix.cc262 acceptor->fd_index = sp->fd_index; in on_read()
290 unsigned fd_index = 0; in add_wildcard_addrs_to_server() local
305 if ((v6_err = grpc_tcp_server_add_addr(s, &wild6, port_index, fd_index, in add_wildcard_addrs_to_server()
307 ++fd_index; in add_wildcard_addrs_to_server()
315 if ((v4_err = grpc_tcp_server_add_addr(s, &wild4, port_index, fd_index, in add_wildcard_addrs_to_server()
355 l->fd_index += count; in clone_port()
388 sp->fd_index = listener->fd_index + count - i; in clone_port()
477 unsigned fd_index) { in tcp_server_port_fd() argument
480 for (; sp; sp = sp->sibling, --fd_index) { in tcp_server_port_fd()
481 if (fd_index == 0) { in tcp_server_port_fd()
[all …]
Dtcp_server_utils_posix_common.cc85 unsigned port_index, unsigned fd_index, in add_socket_to_server() argument
113 sp->fd_index = fd_index; in add_socket_to_server()
128 unsigned port_index, unsigned fd_index, in grpc_tcp_server_add_addr() argument
142 return add_socket_to_server(s, fd, addr, port_index, fd_index, listener); in grpc_tcp_server_add_addr()
Dtcp_server.h42 unsigned fd_index; member
76 int (*port_fd)(grpc_tcp_server* s, unsigned port_index, unsigned fd_index);
123 unsigned fd_index);
Dtcp_server_utils_posix.h37 unsigned fd_index; member
103 unsigned port_index, unsigned fd_index,
Dtcp_server_utils_posix_ifaddrs.cc98 unsigned fd_index = 0; in grpc_tcp_server_add_all_local_addrs() local
147 if ((err = grpc_tcp_server_add_addr(s, &addr, port_index, fd_index, &dsmode, in grpc_tcp_server_add_all_local_addrs()
155 ++fd_index; in grpc_tcp_server_add_all_local_addrs()
Dtcp_server.cc54 unsigned fd_index) { in grpc_tcp_server_port_fd() argument
55 return grpc_tcp_server_impl->port_fd(s, port_index, fd_index); in grpc_tcp_server_port_fd()
Dtcp_server_windows.cc376 acceptor->fd_index = 0; in on_accept()
547 unsigned fd_index) { in tcp_server_port_fd() argument
Dtcp_server_custom.cc242 acceptor->fd_index = 0; in finish_accept()
/third_party/grpc/test/core/iomgr/
Dtcp_server_posix_test.cc60 unsigned fd_index; member
102 result->fd_index = 0; in on_connect_result_init()
110 result->fd_index = acceptor->fd_index; in on_connect_result_set()
112 result->server, acceptor->port_index, acceptor->fd_index); in on_connect_result_set()
274 result->fd_index, result->server_fd); in tcp_connect()
406 GPR_ASSERT(result.fd_index == fd_num); in test_connect()
409 grpc_tcp_server_port_fd(s, result.port_index, result.fd_index) == in test_connect()
Dtcp_server_uv_test.cc52 unsigned fd_index; member
67 result->fd_index = 0; in on_connect_result_init()
74 result->fd_index = acceptor->fd_index; in on_connect_result_set()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffgload.c356 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, in cff_slot_load() local
360 if ( fd_index >= cff->num_subfonts ) in cff_slot_load()
361 fd_index = (FT_Byte)( cff->num_subfonts - 1 ); in cff_slot_load()
364 sub_upm = (FT_Long)cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
366 font_matrix = cff->subfonts[fd_index]->font_dict.font_matrix; in cff_slot_load()
367 font_offset = cff->subfonts[fd_index]->font_dict.font_offset; in cff_slot_load()
Dcffload.c2404 CFF_IndexRec fd_index; in cff_font_load() local
2423 error = cff_index_init( &fd_index, stream, 0, cff2 ); in cff_font_load()
2429 if ( fd_index.count > CFF_MAX_CID_FONTS ) in cff_font_load()
2436 font->num_subfonts = fd_index.count; in cff_font_load()
2437 if ( FT_NEW_ARRAY( sub, fd_index.count ) ) in cff_font_load()
2441 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2445 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2450 &fd_index, in cff_font_load()
2464 if ( !cff2 || fd_index.count > 1 ) in cff_font_load()
2471 cff_index_done( &fd_index ); in cff_font_load()
/third_party/flutter/skia/third_party/externals/freetype/src/cff/
Dcffgload.c357 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, in cff_slot_load() local
361 if ( fd_index >= cff->num_subfonts ) in cff_slot_load()
362 fd_index = (FT_Byte)( cff->num_subfonts - 1 ); in cff_slot_load()
365 sub_upm = (FT_Long)cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
368 font_matrix = cff->subfonts[fd_index]->font_dict.font_matrix; in cff_slot_load()
369 font_offset = cff->subfonts[fd_index]->font_dict.font_offset; in cff_slot_load()
Dcffload.c2396 CFF_IndexRec fd_index; in cff_font_load() local
2415 error = cff_index_init( &fd_index, stream, 0, cff2 ); in cff_font_load()
2421 if ( fd_index.count > CFF_MAX_CID_FONTS ) in cff_font_load()
2428 font->num_subfonts = fd_index.count; in cff_font_load()
2429 if ( FT_NEW_ARRAY( sub, fd_index.count ) ) in cff_font_load()
2433 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2437 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2442 &fd_index, in cff_font_load()
2456 if ( !cff2 || fd_index.count > 1 ) in cff_font_load()
2463 cff_index_done( &fd_index ); in cff_font_load()
/third_party/freetype/src/cff/
Dcffgload.c356 FT_Byte fd_index = cff_fd_select_get( &cff->fd_select, in cff_slot_load() local
360 if ( fd_index >= cff->num_subfonts ) in cff_slot_load()
361 fd_index = (FT_Byte)( cff->num_subfonts - 1 ); in cff_slot_load()
364 sub_upm = (FT_Long)cff->subfonts[fd_index]->font_dict.units_per_em; in cff_slot_load()
366 font_matrix = cff->subfonts[fd_index]->font_dict.font_matrix; in cff_slot_load()
367 font_offset = cff->subfonts[fd_index]->font_dict.font_offset; in cff_slot_load()
Dcffload.c2402 CFF_IndexRec fd_index; in cff_font_load() local
2421 error = cff_index_init( &fd_index, stream, 0, cff2 ); in cff_font_load()
2427 if ( fd_index.count > CFF_MAX_CID_FONTS ) in cff_font_load()
2434 font->num_subfonts = fd_index.count; in cff_font_load()
2435 if ( FT_NEW_ARRAY( sub, fd_index.count ) ) in cff_font_load()
2439 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2443 for ( idx = 0; idx < fd_index.count; idx++ ) in cff_font_load()
2448 &fd_index, in cff_font_load()
2462 if ( !cff2 || fd_index.count > 1 ) in cff_font_load()
2469 cff_index_done( &fd_index ); in cff_font_load()
/third_party/NuttX/include/nuttx/fs/
Ddirent_fs.h102 unsigned int fd_index; /* Current index of the directory entry to read */ member
/third_party/freetype/src/psaux/
Dcffdecode.c2380 FT_Byte fd_index = cffload->fd_select_get( &cff->fd_select, in cff_decoder_prepare() local
2384 if ( fd_index >= cff->num_subfonts ) in cff_decoder_prepare()
2391 FT_TRACE3(( " in subfont %d:\n", fd_index )); in cff_decoder_prepare()
2393 sub = cff->subfonts[fd_index]; in cff_decoder_prepare()
2402 builder->hints_globals = (void *)internal->subfonts[fd_index]; in cff_decoder_prepare()
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dcffdecode.c2378 FT_Byte fd_index = cffload->fd_select_get( &cff->fd_select, in cff_decoder_prepare() local
2382 if ( fd_index >= cff->num_subfonts ) in cff_decoder_prepare()
2389 FT_TRACE3(( " in subfont %d:\n", fd_index )); in cff_decoder_prepare()
2391 sub = cff->subfonts[fd_index]; in cff_decoder_prepare()
2400 builder->hints_globals = (void *)internal->subfonts[fd_index]; in cff_decoder_prepare()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dcffdecode.c2381 FT_Byte fd_index = cffload->fd_select_get( &cff->fd_select, in cff_decoder_prepare() local
2385 if ( fd_index >= cff->num_subfonts ) in cff_decoder_prepare()
2392 FT_TRACE3(( " in subfont %d:\n", fd_index )); in cff_decoder_prepare()
2394 sub = cff->subfonts[fd_index]; in cff_decoder_prepare()
2403 builder->hints_globals = (void *)internal->subfonts[fd_index]; in cff_decoder_prepare()
/third_party/libwebsockets/lib/plat/unix/
Dunix-service.c181 pfd = &vpt->fds[ftp->fd_index]; in _lws_plat_service_tsi()
/third_party/grpc/test/cpp/end2end/
Dport_sharing_end2end_test.cc164 acceptor->from_server, acceptor->port_index, acceptor->fd_index); in OnConnect()
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h331 int fd_index; member
/third_party/libwebsockets/lib/core-net/
Dpollfd.c115 ftp->fd_index = wsi->position_in_fds_table; in _lws_change_pollfd()

12