/commonlibrary/ets_utils/js_api_module/xml/ |
H A D | js_xml.cpp | 53 out_.append(" xmlns:"); in SplicNsp() 54 out_.append(multNsp[depth_ - 1][i * 2]); // 2: number of args in SplicNsp() 55 out_.append("=\""); in SplicNsp() 56 out_.append(multNsp[depth_ - 1][i * 2 + 1]); // 2: number of args in SplicNsp() 57 out_.append("\""); in SplicNsp() 66 out_.append("\r\n"); in NextItem() 68 out_.append(" "); in NextItem() 92 out_.append("<?xml version=\"1.0\""); in SetDeclaration() 93 out_.append(" encoding=\""); in SetDeclaration() 94 out_.append(encoding in SetDeclaration() [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | open_options.rs | 107 /// Sets the option for the file append mode. 109 /// This option, when true, means that writes will append to a file instead 112 /// Note that when setting `.append(true)`, file write access will also be 125 /// If a file is opened with both read and append access, beware that after 130 /// This method's behavior is the same as [`std::fs::OpenOptions::append`]. 147 /// let file = OpenOptions::new().append(true).open("foo.txt").await; 150 pub fn append(&mut self, append: bool) -> &mut OpenOptions { in append() functions 151 self.0.append(append); in append() [all...] |
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/common/ |
H A D | part.rs | 101 self.headers.append(name, value)?; 256 /// headers.append("accept", "text/html").unwrap(); 257 /// headers.append("key1", "value1").unwrap(); 444 headers.append("accept", "text/html").unwrap(); in ut_mime_part_builder_set_headers() 445 headers.append("key1", "value1").unwrap(); in ut_mime_part_builder_set_headers() 446 headers.append("key2", "value2").unwrap(); in ut_mime_part_builder_set_headers() 447 headers.append("key3", "\"value3\"").unwrap(); in ut_mime_part_builder_set_headers() 452 headers.append("accept", "text/html").unwrap(); in ut_mime_part_builder_set_headers() 453 headers.append("key1", "value1").unwrap(); in ut_mime_part_builder_set_headers() 454 headers.append("key in ut_mime_part_builder_set_headers() [all...] |
H A D | multi.rs | 177 self.headers.append(name, value)?; 363 /// .append("Content-Type", "multipart/mixed; boundary=ab")
|
/commonlibrary/utils_lite/js/builtin/filekit/include/ |
H A D | nativeapi_fs_impl.h | 40 int WriteTextFile(const char* fileName, const void* buf, size_t len, bool append);
41 int WriteArrayFile(const char* fileName, const void* buf, size_t len, unsigned int position, bool append);
|
/commonlibrary/ets_utils/js_concurrent_module/common/helper/ |
H A D | path_helper.h | 131 script.append(1, NORMALIZED_OHMURL_TAG); in ConcatFileNameForWorker() 165 res.append(e); in NormalizePath() 168 res.append(1, SLASH_TAG).append(e); in NormalizePath()
|
/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/ |
H A D | directory_benchmark_test.cpp | 536 cmpName = cmpName.append(".dll"); in BENCHMARK_F() 538 cmpName = cmpName.append(".dylib"); in BENCHMARK_F() 542 srcName = srcName.append(".app"); in BENCHMARK_F() 545 cmpName = cmpName.append(".dll"); in BENCHMARK_F() 547 cmpName = cmpName.append(".dylib"); in BENCHMARK_F()
|
/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | js_uri.cpp | 79 uriData_.SchemeSpecificPart.append(data_);
in AssignSchemeSpecificPart() 81 uriData_.SchemeSpecificPart.append("?");
in AssignSchemeSpecificPart() 82 uriData_.SchemeSpecificPart.append(uriData_.query);
in AssignSchemeSpecificPart() 194 uriData_.SchemeSpecificPart.append(uriData_.path);
in AnalysisScheme() 195 uriData_.SchemeSpecificPart.append("?");
in AnalysisScheme() 196 uriData_.SchemeSpecificPart.append(uriData_.query);
in AnalysisScheme()
|
/commonlibrary/rust/ylong_http/ylong_http/src/h2/ |
H A D | parts.rs | 55 Header::Other(header) => self.map.append(header.as_str(), value.as_str()).unwrap(),
|
/commonlibrary/c_utils/base/src/ |
H A D | directory_ex.cpp | 451 transformfileName = transformfileName.append(".dll"); in TransformFileName() 453 transformfileName = transformfileName.append(".dylib"); in TransformFileName() 461 transformfileName = transformfileName.append("dll"); in TransformFileName() 463 transformfileName = transformfileName.append("dylib"); in TransformFileName()
|
/commonlibrary/utils_lite/js/builtin/filekit/src/ |
H A D | nativeapi_fs_impl.c | 260 int WriteTextFile(const char* fileName, const void* buf, size_t len, bool append)
in WriteTextFile() argument 274 if (append) {
in WriteTextFile() 288 int WriteArrayFile(const char* fileName, const void* buf, size_t len, unsigned int position, bool append)
in WriteArrayFile() argument 302 if (append) {
in WriteArrayFile()
|
H A D | nativeapi_fs.cpp | 287 bool append = JSI::GetBooleanProperty(args, FILE_APPEND);
in ExecuteWriteTextFile() local 294 ret = WriteTextFile(g_uriFullPath, text, strlen(text), append);
in ExecuteWriteTextFile() 487 bool append = JSI::GetBooleanProperty(args, FILE_APPEND);
in ExecuteWriteArrayFile() local 499 ret = WriteArrayFile(g_uriFullPath, arrayPtr, length, static_cast<int>(position), append);
in ExecuteWriteArrayFile()
|
/commonlibrary/ets_utils/js_api_module/buffer/test/ |
H A D | test_napi.cpp | 1308 str8.append(1, 0x41); in HWTEST_F() 1310 str8.append(1, 0xC3); in HWTEST_F() 1311 str8.append(1, 0x84); in HWTEST_F() 1313 str8.append(1, 0xE5); in HWTEST_F() 1314 str8.append(1, 0x88); in HWTEST_F() 1315 str8.append(1, 0x98); in HWTEST_F() 1317 str8.append(1, 0xf0); in HWTEST_F() 1318 str8.append(1, 0x9f); in HWTEST_F() 1319 str8.append(1, 0x90); in HWTEST_F() 1320 str8.append( in HWTEST_F() [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/ |
H A D | async_read.rs | 137 /// source has been append to the buffer. 155 /// source has been append to the buffer. 217 buf.append(a); in poll_read()
|
H A D | read_buf.rs | 230 pub fn append(&mut self, buf: &[u8]) { in append() functions
|
H A D | stdio.rs | 76 buf.append(&self.bytes()[..n]);
|
/commonlibrary/rust/ylong_http/ylong_http/src/ |
H A D | headers.rs | 349 /// value.append(other); 352 pub fn append(&mut self, mut other: Self) { in append() functions 353 self.inner.append(&mut other.inner) in append() 569 /// headers.append("Accept", "text/plain").unwrap(); 664 /// headers.append("accept", "text/html").unwrap(); 691 /// headers.append("accept", "text/html").unwrap(); 758 /// assert!(headers.append("\0", "illegal header").is_err()); 760 /// headers.append("accept", "text/html").unwrap(); 761 /// headers.append("accept", "text/plain").unwrap(); 766 pub fn append< functions [all...] |
/commonlibrary/rust/ylong_http/ylong_http/src/h3/ |
H A D | parts.rs | 57 NameField::Other(header) => self.map.append(header.as_str(), value.as_str()).unwrap(), in update()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/buffered/ |
H A D | async_buf_reader.rs | 193 buf.append(&rem[..r_len]); in poll_read()
|
/commonlibrary/rust/ylong_http/ylong_http/src/request/ |
H A D | mod.rs | 621 part.headers.append(name, value)?; in append_header() 727 let _ = new_headers.append("accept", "application/xml"); in ut_request_builder_build()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/conn/ |
H A D | http3.rs | 166 self.buf.append(buf);
|
H A D | http2.rs | 214 self.buf.append(buf);
|
/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/ |
H A D | mapped_benchmark_test.cpp | 49 std::string dir = std::string(BASE_PATH).append(SUITE_PATH); 714 AssertEqual(strcmp(res.c_str(), content.append("E").c_str()), 0, in BENCHMARK_F() 715 "The two strings, res.c_str() and content.append(\"E\").c_str(), \ in BENCHMARK_F() 848 AssertEqual(strcmp(res.c_str(), content.append("N").c_str()), 0, in BENCHMARK_F() 849 "The two strings, res.c_str() and content.append(\"N\").c_str(), did not have the same content.", state); in BENCHMARK_F() 956 AssertEqual(strcmp(res.c_str(), content.append("N").c_str()), 0, in BENCHMARK_F() 957 "The two strings, res.c_str() and content.append(\"N\").c_str(), did not have the same content.", state); in BENCHMARK_F()
|
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_mapped_file_test.cpp | 43 std::string dir = std::string(BASE_PATH).append(SUITE_PATH); in SetUpTestCase() 735 EXPECT_STREQ(res.c_str(), content.append("E").c_str()); // Changes will be sync in the original file. in HWTEST_F() 812 EXPECT_STREQ(res.c_str(), content.append("N").c_str()); in HWTEST_F() 912 EXPECT_STREQ(res.c_str(), content.append("N").c_str()); in HWTEST_F()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | adapter.rs | 210 self.certs_list.append(&mut certs); in add_root_certificates()
|