Home
last modified time | relevance | path

Searched defs:builder (Results 1 – 25 of 31) sorted by relevance

12

/commonlibrary/rust/ylong_runtime/ylong_runtime/src/task/
Dbuilder.rs103 let builder = TaskBuilder::new(); in ut_builder_new() localVariable
113 let builder = TaskBuilder::new(); in ut_builder_name() localVariable
128 let builder = TaskBuilder::new(); in ut_builder_pri() localVariable
132 let builder = TaskBuilder::new(); in ut_builder_pri() localVariable
136 let builder = TaskBuilder::new(); in ut_builder_pri() localVariable
140 let builder = TaskBuilder::new(); in ut_builder_pri() localVariable
144 let builder = TaskBuilder::new(); in ut_builder_pri() localVariable
Djoin_set.rs53 builder: TaskBuilder, field
347 builder: TaskBuilder, field
372 let builder = self.builder.name(name); in name() localVariable
392 let builder = self.builder.qos(qos); in qos() localVariable
/commonlibrary/memory_utils/libpurgeablemem/c/src/
Dpurgeable_mem_builder_c.c43 struct PurgMemBuilder *builder = NULL; in PurgMemBuilderCreate() local
56 bool PurgMemBuilderDestroy(struct PurgMemBuilder *builder) in PurgMemBuilderDestroy()
72 bool PurgMemBuilderAppendFunc(struct PurgMemBuilder *builder, PurgMemBuilderFunc func, void *param, in PurgMemBuilderAppendFunc()
86 bool PurgMemBuilderBuildAll(struct PurgMemBuilder *builder, void *data, size_t size) in PurgMemBuilderBuildAll()
102 bool PurgMemBuilderAppendBuilder(struct PurgMemBuilder *builder, struct PurgMemBuilder *newcomer) in PurgMemBuilderAppendBuilder()
Dpurgeable_mem_c.c36 struct PurgMemBuilder *builder; member
62 static struct PurgMem *PurgMemCreate_(size_t len, struct PurgMemBuilder *builder) in PurgMemCreate_()
411 struct PurgMemBuilder *builder = PurgMemBuilderCreate(func, funcPara, NULL); in PurgMemAppendModify() local
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/builder/
Dmulti_thread_builder.rs61 let mut builder = GLOBAL_BUILDER.lock().unwrap(); in build_global() localVariable
203 let builder = MultiThreadBuilder::new(); in ut_set_max_worker() localVariable
204 let builder = builder.max_worker_num_by_qos(UserInteractive, 0); in ut_set_max_worker() localVariable
208 let builder = builder.max_worker_num_by_qos(UserInteractive, 21); in ut_set_max_worker() localVariable
212 let builder = MultiThreadBuilder::new().max_worker_num_by_qos(Default, 8); in ut_set_max_worker() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
Dadapter.rs413 pub fn builder() -> TlsConfigBuilder { in builder() method
626 let builder = TlsConfigBuilder::new(); in ut_tls_config_builder_new() localVariable
639 let builder = TlsConfigBuilder::new().cipher_suites("INVALID STRING"); in ut_set_cipher_suites() localVariable
651 let builder = TlsConfigBuilder::new() in ut_set_max_proto_version() localVariable
665 let builder = TlsConfigBuilder::new() in ut_set_min_proto_version() localVariable
679 let builder = TlsConfigBuilder::new() in ut_set_cipher_list() localVariable
694 let builder = TlsConfigBuilder::new() in ut_set_certificate_file() localVariable
709 let builder = TlsConfigBuilder::new() in ut_set_certificate_chain_file() localVariable
724 let builder = TlsConfigBuilder::new() in ut_add_root_certificates() localVariable
741 let builder = TlsConfigBuilder::new().build_in_root_certs(true).build(); in ut_build_in_root_certs() localVariable
[all …]
/commonlibrary/memory_utils/libpurgeablemem/test/
Dpurgeableashmem_test.cpp261 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
285 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
314 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
352 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
382 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
417 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
455 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
496 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
532 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
Dpurgeable_cpp_test.cpp204 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
227 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
255 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
292 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
321 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
355 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
392 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestBigDataBuilder>('A'); variable
425 std::unique_ptr<PurgeableMemBuilder> builder = std::make_unique<TestDataBuilder>('A', 'Z'); variable
/commonlibrary/memory_utils/libpurgeablemem/cpp/src/
Dpurgeable_ashmem.cpp41 PurgeableAshMem::PurgeableAshMem(std::unique_ptr<PurgeableMemBuilder> builder) in PurgeableAshMem()
54 PurgeableAshMem::PurgeableAshMem(size_t dataSize, std::unique_ptr<PurgeableMemBuilder> builder) in PurgeableAshMem()
Dpurgeable_mem_builder.cpp33 void PurgeableMemBuilder::AppendBuilder(std::unique_ptr<PurgeableMemBuilder> builder) in AppendBuilder()
Dpurgeable_mem.cpp41 PurgeableMem::PurgeableMem(size_t dataSize, std::unique_ptr<PurgeableMemBuilder> builder) in PurgeableMem()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/uploader/
Dmod.rs14 mod builder; module
120 pub fn builder() -> UploaderBuilder<WantsReader> { in builder() method
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/downloader/
Dmod.rs14 mod builder; module
144 pub fn builder() -> DownloaderBuilder<WantsBody> { in builder() method
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/executor/
Dnetpoller.rs48 let builder = thread::Builder::new().name("yl_net_poller".to_string()); in create_net_poller_thread() localVariable
Dblocking_pool.rs175 let mut builder = thread::Builder::new().name(format!("block-r-{worker_id}")); in create_permanent_threads() localVariable
226 let mut builder = thread::Builder::new().name(format!("block-{worker_id}")); in spawn() localVariable
533 let builder = TaskBuilder::new(); in ut_blocking_pool_spawner_spawn() localVariable
Dqueue.rs631 let builder = TaskBuilder::new(); in ut_inner_buffer_is_empty() localVariable
665 let builder = TaskBuilder::new(); in ut_inner_buffer_len() localVariable
718 let builder = TaskBuilder::new(); in ut_inner_buffer_push_back() localVariable
806 let builder = TaskBuilder::new(); in ut_inner_buffer_pop_front() localVariable
908 let builder = TaskBuilder::new(); in ut_inner_buffer_steal_into() localVariable
Dasync_pool.rs394 let mut builder = thread::Builder::new(); in create_async_thread_pool() localVariable
631 let builder = TaskBuilder::new(); in ut_executor_mng_info_enqueue() localVariable
791 let builder = TaskBuilder::new(); in ut_executor_mng_info_wake_up_if_one_task_left() localVariable
837 let builder = TaskBuilder::new(); in ut_from_woken_to_sleep() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
Dentry.rs23 mod builder; module
Djoin_set.rs245 let mut builder = set in sdv_join_set_builder() localVariable
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/
Dlib.rs38 pub mod builder; module
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dclient.rs87 pub fn builder() -> ClientBuilder { in builder() method
691 let builder = Client::builder().http1_only().build(); in ut_client_builder() localVariable
708 let builder = ClientBuilder::default() in ut_client_builder_default() localVariable
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
Dctx.rs50 pub(crate) fn builder(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> { in builder() method
92 let mut builder = Self::from_ptr(ptr); in new() localVariable
/commonlibrary/memory_utils/purgeable_builder/src/
Dpurgeable_pixelmap_builder.cpp82 std::unique_ptr<PurgeableMem::PurgeableMemBuilder> &builder) in SetBuilderToBePurgeable()
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dclient.rs85 pub fn builder() -> ClientBuilder { in builder() method
580 let builder = Client::builder().build(); in ut_client_builder() localVariable
/commonlibrary/rust/ylong_http/ylong_http/src/request/
Duri.rs110 pub fn builder() -> UriBuilder { in builder() method
254 let mut builder = String::new(); in path_and_query() localVariable
297 let mut builder = String::new(); in to_string() localVariable
694 let mut builder = String::new(); in to_string() localVariable

12