/external/rust/crates/libz-sys/src/zlib/contrib/iostream/ |
D | zfstream.cpp | 19 int io_mode ) { in open() argument 27 if ( io_mode & ios::in ) { in open() 30 } else if ( io_mode & ios::app ) { in open() 38 if ( io_mode & ios::binary ) { in open() 44 if ( io_mode & (ios::out|ios::app )) { in open() 61 int io_mode ) { in attach() argument 69 if ( io_mode & ios::in ) { in attach() 72 } else if ( io_mode & ios::app ) { in attach() 80 if ( io_mode & ios::binary ) { in attach() 86 if ( io_mode & (ios::out|ios::app )) { in attach() [all …]
|
D | zfstream.h | 15 gzfilebuf *open( const char *name, int io_mode ); 16 gzfilebuf *attach( int file_descriptor, int io_mode ); 54 void attach( int fd, int io_mode ); 55 void open( const char *name, int io_mode ); 73 gzifstream( const char *name, int io_mode = ios::in ); 74 gzifstream( int fd, int io_mode = ios::in ); 85 gzofstream( const char *name, int io_mode = ios::out ); 86 gzofstream( int fd, int io_mode = ios::out );
|
/external/cronet/net/http/ |
D | http_proxy_connect_job_unittest.cc | 284 for (IoMode io_mode : {SYNCHRONOUS, ASYNC}) { in TEST_P() 285 SCOPED_TRACE(io_mode); in TEST_P() 286 session_deps_.host_resolver->set_synchronous_mode(io_mode == SYNCHRONOUS); in TEST_P() 290 base::span<MockRead>(), base::span<MockWrite>(), io_mode); in TEST_P() 296 io_mode == SYNCHRONOUS); in TEST_P() 540 for (IoMode io_mode : {SYNCHRONOUS, ASYNC}) { in TEST_P() 541 SCOPED_TRACE(io_mode); in TEST_P() 543 session_deps_.host_resolver->set_synchronous_mode(io_mode == SYNCHRONOUS); in TEST_P() 546 MockWrite(io_mode, 0, in TEST_P() 550 MockWrite(io_mode, 5, in TEST_P() [all …]
|
/external/cronet/net/socket/ |
D | ssl_connect_job_unittest.cc | 205 for (IoMode io_mode : {SYNCHRONOUS, ASYNC}) { in TEST_F() 206 SCOPED_TRACE(io_mode); in TEST_F() 207 host_resolver_.set_synchronous_mode(io_mode == SYNCHRONOUS); in TEST_F() 209 data.set_connect_data(MockConnect(io_mode, ERR_CONNECTION_FAILED)); in TEST_F() 216 ssl_connect_job.get(), ERR_CONNECTION_FAILED, io_mode == SYNCHRONOUS); in TEST_F() 717 for (IoMode io_mode : {SYNCHRONOUS, ASYNC}) { in TEST_F() 718 SCOPED_TRACE(io_mode); in TEST_F() 719 host_resolver_.set_synchronous_mode(io_mode == SYNCHRONOUS); in TEST_F() 721 data.set_connect_data(MockConnect(io_mode, ERR_CONNECTION_FAILED)); in TEST_F() 729 io_mode == SYNCHRONOUS); in TEST_F() [all …]
|
D | socket_test_util.h | 85 MockConnect(IoMode io_mode, int r); 86 MockConnect(IoMode io_mode, int r, IPEndPoint addr); 87 MockConnect(IoMode io_mode, int r, IPEndPoint addr, bool first_attempt_fails); 101 MockConfirm(IoMode io_mode, int r); 135 MockReadWrite(IoMode io_mode, int result) in MockReadWrite() 136 : mode(io_mode), in MockReadWrite() 143 MockReadWrite(IoMode io_mode, int result, int seq) in MockReadWrite() 144 : mode(io_mode), in MockReadWrite() 159 MockReadWrite(IoMode io_mode, const char* data) in MockReadWrite() 160 : mode(io_mode), in MockReadWrite() [all …]
|
D | socket_test_util.cc | 139 MockConnect::MockConnect(IoMode io_mode, int r) : mode(io_mode), result(r) { in MockConnect() argument 143 MockConnect::MockConnect(IoMode io_mode, int r, IPEndPoint addr) in MockConnect() argument 144 : mode(io_mode), result(r), peer_addr(addr) {} in MockConnect() 146 MockConnect::MockConnect(IoMode io_mode, in MockConnect() argument 150 : mode(io_mode), in MockConnect() 159 MockConfirm::MockConfirm(IoMode io_mode, int r) : mode(io_mode), result(r) {} in MockConfirm() argument
|
D | transport_client_socket_pool_unittest.cc | 1757 for (IoMode io_mode : {SYNCHRONOUS, ASYNC}) { in TEST_F() 1758 SCOPED_TRACE(io_mode); in TEST_F() 1759 session_deps_.host_resolver->set_synchronous_mode(io_mode == SYNCHRONOUS); in TEST_F()
|
/external/rust/crates/libz-sys/src/zlib/contrib/iostream3/ |
D | zfstream.cc | 22 : file(NULL), io_mode(std::ios_base::openmode(0)), own_fd(false), in gzfilebuf() 72 io_mode = mode; in open() 100 io_mode = mode; in attach() 172 if (!this->is_open() || !(io_mode & std::ios_base::in)) in showmanyc() 192 if (!this->is_open() || !(io_mode & std::ios_base::in)) in underflow() 234 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow() 247 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow()
|
D | zfstream.h | 191 std::ios_base::openmode io_mode; variable
|
/external/mesa3d/src/compiler/glsl/ |
D | link_varyings.cpp | 2536 canonicalize_shader_io(exec_list *ir, enum ir_variable_mode io_mode) in canonicalize_shader_io() argument 2544 if (var == NULL || var->data.mode != io_mode) in canonicalize_shader_io() 2583 ir_variable_mode io_mode) in reserved_varying_slot() argument 2585 assert(io_mode == ir_var_shader_in || io_mode == ir_var_shader_out); in reserved_varying_slot() 2598 if (var == NULL || var->data.mode != io_mode || in reserved_varying_slot() 2606 ->count_attribute_slots(io_mode == ir_var_shader_in && in reserved_varying_slot()
|
D | linker.cpp | 4378 set_always_active_io(exec_list *ir, ir_variable_mode io_mode) in set_always_active_io() argument 4380 assert(io_mode == ir_var_shader_in || io_mode == ir_var_shader_out); in set_always_active_io() 4385 if (var == NULL || var->data.mode != io_mode) in set_always_active_io()
|