Home
last modified time | relevance | path

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

/external/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()
/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_server_posix.cc243 acceptor->fd_index = sp->fd_index; in on_read()
273 unsigned fd_index = 0; in add_wildcard_addrs_to_server() local
288 if ((v6_err = grpc_tcp_server_add_addr(s, &wild6, port_index, fd_index, in add_wildcard_addrs_to_server()
290 ++fd_index; in add_wildcard_addrs_to_server()
298 if ((v4_err = grpc_tcp_server_add_addr(s, &wild4, port_index, fd_index, in add_wildcard_addrs_to_server()
339 l->fd_index += count; in clone_port()
369 sp->fd_index = listener->fd_index + count - i; in clone_port()
460 unsigned fd_index) { in tcp_server_port_fd() argument
463 for (; sp; sp = sp->sibling, --fd_index) { in tcp_server_port_fd()
464 if (fd_index == 0) { in tcp_server_port_fd()
Dtcp_server_utils_posix_common.cc82 unsigned port_index, unsigned fd_index, in add_socket_to_server() argument
112 sp->fd_index = fd_index; in add_socket_to_server()
129 unsigned port_index, unsigned fd_index, in grpc_tcp_server_add_addr() argument
143 return add_socket_to_server(s, fd, addr, port_index, fd_index, listener); in grpc_tcp_server_add_addr()
Dtcp_server.h39 unsigned fd_index; member
58 int (*port_fd)(grpc_tcp_server* s, unsigned port_index, unsigned fd_index);
100 unsigned fd_index);
Dtcp_server_utils_posix.h37 unsigned fd_index; member
101 unsigned port_index, unsigned fd_index,
Dtcp_server_utils_posix_ifaddrs.cc95 unsigned fd_index = 0; in grpc_tcp_server_add_all_local_addrs() local
148 if ((err = grpc_tcp_server_add_addr(s, &addr, port_index, fd_index, &dsmode, in grpc_tcp_server_add_all_local_addrs()
162 ++fd_index; in grpc_tcp_server_add_all_local_addrs()
Dtcp_server.cc50 unsigned fd_index) { in grpc_tcp_server_port_fd() argument
51 return grpc_tcp_server_impl->port_fd(s, port_index, fd_index); in grpc_tcp_server_port_fd()
Dtcp_server_custom.cc235 acceptor->fd_index = 0; in finish_accept()
446 unsigned fd_index) { in tcp_server_port_fd() argument
Dtcp_server_windows.cc374 acceptor->fd_index = 0; in on_accept()
544 unsigned fd_index) { in tcp_server_port_fd() argument
/external/grpc-grpc/test/core/iomgr/
Dtcp_server_posix_test.cc58 unsigned fd_index; member
100 result->fd_index = 0; in on_connect_result_init()
108 result->fd_index = acceptor->fd_index; in on_connect_result_set()
110 result->server, acceptor->port_index, acceptor->fd_index); in on_connect_result_set()
274 result->fd_index, result->server_fd); in tcp_connect()
404 GPR_ASSERT(result.fd_index == fd_num); in test_connect()
407 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()
/external/perfetto/src/base/
Dunix_task_runner.cc162 size_t fd_index = it->second.poll_fd_index; in RunFileDescriptorWatch() local
163 PERFETTO_DCHECK(fd_index < poll_fds_.size()); in RunFileDescriptorWatch()
164 PERFETTO_DCHECK(::abs(poll_fds_[fd_index].fd) == fd); in RunFileDescriptorWatch()
165 poll_fds_[fd_index].fd = fd; in RunFileDescriptorWatch()
/external/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()
/external/fonttools/Lib/fontTools/varLib/
Dcff.py145 def get_private(regionFDArrays, fd_index, ri, fd_map): argument
147 region_fd_map = fd_map[fd_index]
177 for fd_index, font_dict in enumerate(topDict.FDArray):
191 pd = get_private(regionFDArrays, fd_index, ri, fd_map)
/external/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()
/external/freetype/
DChangeLog.235801 Check `fd_index'.