Home
last modified time | relevance | path

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

12

/commonlibrary/c_utils/
D.gitattributes1 *.tgz filter=lfs diff=lfs merge=lfs -text
2 *.trp filter=lfs diff=lfs merge=lfs -text
3 *.apk filter=lfs diff=lfs merge=lfs -text
4 *.jar filter=lfs diff=lfs merge=lfs -text
5 *.mp4 filter=lfs diff=lfs merge=lfs -text
6 *.zip filter=lfs diff=lfs merge=lfs -text
7 *.asm filter=lfs diff=lfs merge=lfs -text
8 *.8svn filter=lfs diff=lfs merge=lfs -text
9 *.9svn filter=lfs diff=lfs merge=lfs -text
10 *.dylib filter=lfs diff=lfs merge=lfs -text
[all …]
DLICENSE107 (d) If the Work includes a "NOTICE" text file as part of its
112 of the following places: within a NOTICE text file distributed
120 or as an addendum to the NOTICE text from the Work, provided
/commonlibrary/ets_utils/js_api_module/xml/src/
Djs_xml.ts30 setComment(text: string): void;
31 setCDATA(text: string): void;
32 setText(text: string): void;
33 setDocType(text: string): void;
139 setComment(text: string): void {
140 if (typeof text !== 'string' || text.length === 0) {
141 let error = new BusinessError(`Parameter error.The type of ${text} must be string`);
144 this.xmlSerializerClass.setComment(text);
150 setCDATA(text: string): void {
151 if (typeof text !== 'string' || text.length === 0) {
[all …]
/commonlibrary/rust/ylong_http/ylong_http/src/body/
Dtext.rs482 use crate::body::text::{TextBody, TextBodyDecoder};
649 let (text, left) = decoder.decode(&bytes[..4]); in ut_text_body_decoder_decode()
650 assert!(text.is_partial()); in ut_text_body_decoder_decode()
651 assert_eq!(text.data(), b"this"); in ut_text_body_decoder_decode()
654 let (text, left) = decoder.decode(&bytes[4..11]); in ut_text_body_decoder_decode()
655 assert!(text.is_partial()); in ut_text_body_decoder_decode()
656 assert_eq!(text.data(), b" is the"); in ut_text_body_decoder_decode()
659 let (text, left) = decoder.decode(&bytes[11..26]); in ut_text_body_decoder_decode()
660 assert!(text.is_complete()); in ut_text_body_decoder_decode()
661 assert_eq!(text.data(), b" text body!"); in ut_text_body_decoder_decode()
[all …]
Dmod.rs47 mod text; module
55 pub use text::{Text, TextBody, TextBodyDecoder};
/commonlibrary/utils_lite/js/builtin/filekit/src/
Dnativeapi_fs.cpp286 char* text = JSI::GetStringProperty(args, TEXT); in ExecuteWriteTextFile() local
290 if ((text == nullptr) || (ret != NATIVE_SUCCESS)) { in ExecuteWriteTextFile()
294 ret = WriteTextFile(g_uriFullPath, text, strlen(text), append); in ExecuteWriteTextFile()
301 JSI::ReleaseString(text); in ExecuteWriteTextFile()
327 char* text = reinterpret_cast<char *>(malloc(readLen + 1)); in ReadTextInner() local
328 if (text == nullptr) { in ReadTextInner()
332 ret = ReadFileImpl(g_uriFullPath, text, readLen, position, &actualLen); in ReadTextInner()
334 free(text); in ReadTextInner()
337 text[actualLen] = '\0'; in ReadTextInner()
338 JSI::SetStringProperty(result, TEXT, text); in ReadTextInner()
[all …]
Dnativeapi_fs_impl.c326 int ReadFileImpl(const char* fileName, void* text, size_t len, unsigned int position, size_t* actua… in ReadFileImpl() argument
328 if (!IsValidPath(fileName) || (text == NULL)) { in ReadFileImpl()
361 int readLen = read(fileHandle, text, len); in ReadFileImpl()
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/
Dhttp_body.rs60 pub(crate) fn text(len: usize, pre: &[u8], io: BoxStreamData) -> Self { in text() method
106 Kind::Text(ref mut text) => text.data(buf), in data()
134 let (text, rem) = self.decoder.decode(&buf[..read]); in data()
136 match (text.is_complete(), rem.is_empty()) { in data()
167 let (text, rem) = self.decoder.decode(&buf[read..read + filled]); in data()
170 match (text.is_complete(), rem.is_empty()) { in data()
/commonlibrary/rust/ylong_http/ylong_http_client/src/async_impl/
Dhttp_body.rs102 pub(crate) fn text(len: usize, pre: &[u8], io: BoxStreamData) -> Self { in text() method
136 Kind::Text(ref mut text) => text.data(cx, buf), in poll_data()
155 Kind::Text(ref mut text) => text.io.as_mut(), in drop()
283 let (text, rem) = self.decoder.decode(&buf[..read]); in data()
286 match (text.is_complete(), rem.is_empty()) { in data()
320 let (text, rem) = self.decoder.decode(read_buf.filled()); in data()
323 match (text.is_complete(), rem.is_empty()) { in data()
Dadapter.rs41 pub async fn text(self) -> Result<String, HttpClientError> { in text() method
/commonlibrary/utils_lite/js/builtin/filekit/include/
Dnativeapi_fs_impl.h42 int ReadFileImpl(const char* fileName, void* text, size_t len, unsigned int position, size_t* actua…
/commonlibrary/ets_utils/js_api_module/xml/
Dnative_module_xml.cpp314 std::string text; in SetText() local
315 XmlSerializer::DealNapiStrValue(env, args[0], text); in SetText()
316 object->SetText(text); in SetText()
336 std::string text; in SetDocType() local
337 XmlSerializer::DealNapiStrValue(env, args[0], text); in SetDocType()
338 object->SetDocType(text); in SetDocType()
Djs_xml.h105 void SetText(const std::string &text);
112 void SetDocType(const std::string &text);
Djs_xml.cpp245 void XmlSerializer::SetText(const std::string &text) in SetText() argument
252 WriteEscaped(text); in SetText()
306 void XmlSerializer::SetDocType(const std::string &text) in SetDocType() argument
316 out_ += "<!DOCTYPE " + text + ">"; in SetDocType()
/commonlibrary/ets_utils/js_api_module/convertxml/
Djs_convertxml.h37 std::string text = "_text"; member
Djs_convertxml.cpp216 SetKeyValue(env, elementsObject, options_.text, in SetEndInfo()
221 SetKeyValue(env, elementsObject, options_.text, curContent); in SetEndInfo()
455 options_.text = strRecv; in SetDefaultKey()
/commonlibrary/rust/ylong_http/ylong_http_client/src/sync_impl/conn/
Dhttp1.rs116 (false, Some(len), _) => HttpBody::text(len, pre, Box::new(conn)), in request()
/commonlibrary/rust/ylong_runtime/
DLICENSE106 (d) If the Work includes a "NOTICE" text file as part of its
111 of the following places: within a NOTICE text file distributed
119 or as an addendum to the NOTICE text from the Work, provided
183 the brackets!) The text should be enclosed in the appropriate
/commonlibrary/rust/ylong_http/
DLICENSE106 (d) If the Work includes a "NOTICE" text file as part of its
111 of the following places: within a NOTICE text file distributed
119 or as an addendum to the NOTICE text from the Work, provided
183 the brackets!) The text should be enclosed in the appropriate
/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
Ddecoder.rs277 let text = decode($input).unwrap(); in ut_hpack_decoder() localVariable
278 assert!($hpack.decode(text.as_slice()).is_ok()); in ut_hpack_decoder()
/commonlibrary/ets_utils/
DREADME.en.md12 **ConvertXml**: provides APIs to convert XML text into JavaScript objects.
81 │ ├── setComment(text: string) # setComment meth…
82 │ ├── setCData(text: string) # setCData method
83 │ ├── setText(text: string) # setText method
84 │ └── setDocType(text: string) # setDocType meth…
131 | convert(xml: string, options: Object) | Converts an XML text into a JavaScript object.|
139 | setComment(text: string): void | Sets the comment.|
140 | setCData(text: string): void | Sets the **CData** attribute.|
141 | setText(text: string): void | Sets the **Text** attribute.|
142 | setDocType(text: string): void | Sets the **DocType** attribute.|
[all …]
DLICENSE107 (d) If the Work includes a "NOTICE" text file as part of its
112 of the following places: within a NOTICE text file distributed
120 or as an addendum to the NOTICE text from the Work, provided
DREADME.md81 │ ├── setCommnet(text: string) # 设置Commnet方法
82 │ ├── setCData(text: string) # 设置CData方法
83 │ ├── setText(text: string) # 设置Text方法
84 │ └── setDocType(text: string) # 设置DocType方法
169 └── text() # 返回文本
221 | setCommnet(text: string): void | 写入comment属性。 |
222 | setCData(text: string): void | 写入CData属性。 |
223 | setText(text: string): void | 写入Text属性。 |
224 | setDocType(text: string): void | 写入DocType属性。 |
310 | text(): Promise&lt;string&gt; | 返回一个Promise,该Promise中的值为UTF8编码类型的文本。 |
[all …]
/commonlibrary/memory_utils/
DLICENSE106 (d) If the Work includes a "NOTICE" text file as part of its
111 of the following places: within a NOTICE text file distributed
119 or as an addendum to the NOTICE text from the Work, provided
/commonlibrary/utils_lite/
DLICENSE107 (d) If the Work includes a "NOTICE" text file as part of its
112 of the following places: within a NOTICE text file distributed
120 or as an addendum to the NOTICE text from the Work, provided

12