Home
last modified time | relevance | path

Searched refs:line (Results 1 - 10 of 10) sorted by relevance

/commonlibrary/ets_utils/js_concurrent_module/common/helper/
H A Dconcurrent_helper.cpp29 uint64_t ConcurrentHelper::ParseLine(const std::string& line) in ParseLine() argument
31 std::istringstream iss(line); in ParseLine()
50 std::string line; in GetSystemMemoryRatio() local
51 while (std::getline(meminfo, line)) { in GetSystemMemoryRatio()
52 if (line.find(TOTAL_MEM) == 0) { in GetSystemMemoryRatio()
53 totalMemory = ParseLine(line); in GetSystemMemoryRatio()
54 } else if (line.find(AVAILABLE_MEM) == 0) { in GetSystemMemoryRatio()
55 availableMemory = ParseLine(line); in GetSystemMemoryRatio()
H A Dconcurrent_helper.h106 static uint64_t ParseLine(const std::string& line);
H A Derror_helper.h216 double line = result[1].empty() ? 0 : std::strtod(result[1].c_str(), nullptr); // 1 : index of lineno in TranslateErrorEvent() local
218 napi_create_double(env, line, &lineno); in TranslateErrorEvent()
/commonlibrary/rust/ylong_json/src/reader/
H A Dmod.rs106 line: usize,
111 /// Create a `Position` from the given line and column.
113 pub(crate) fn new(line: usize, column: usize) -> Self {
114 Self { line, column }
117 /// Get line.
119 pub(crate) fn line(&self) -> usize {
120 self.line
145 assert_eq!(position.line, 1); in ut_position_new()
149 /// UT test for `Position::line`.
156 /// 2. Call `Position::line` t
[all...]
H A Dio_reader.rs134 self.pos.line += 1; in next()
169 self.pos.line += 1; in discard()
307 assert_eq!(io_reader.pos.line, 1); in ut_io_reader_new()
430 /// - If `'\n'` is read, the line number will increase and the column
431 /// number will return to 1; if other characters are read, the line
438 assert_eq!(position.line(), 1); in ut_io_reader_position()
444 assert_eq!(position.line(), 1); in ut_io_reader_position()
449 assert_eq!(position.line(), 2); in ut_io_reader_position()
455 assert_eq!(position.line(), 2); in ut_io_reader_position()
461 assert_eq!(position.line(), in ut_io_reader_position()
[all...]
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Derror.rs44 line: c_int,
58 line: self.line, in clone()
73 let mut line = 0; in get() variables
80 match ERR_get_error_line_data(&mut file, &mut line, &mut data, &mut flags) { in get()
98 line, in get()
105 match ERR_get_error_all(&mut file, &mut line, &mut func, &mut data, &mut flags) { in get()
130 line, in get()
195 self.line,
/commonlibrary/rust/ylong_http/ylong_http/src/body/mime/decode/
H A Dmulti.rs461 let line = &self.src[self.src_idx..]; in inner_first_boundary()
462 let trim_line = trim_back_lwsp_if_end_with_lf(line); in inner_first_boundary()
501 let line = &self.src[self.src_idx..]; in middle_or_end_boundary()
502 let trim_line = trim_back_lwsp_if_end_with_lf(line); in middle_or_end_boundary()
H A Dpart.rs132 let line = &body[self.src_idx..]; in body_decode()
133 let trim_line = trim_back_lwsp_if_end_with_lf(line); in body_decode()
/commonlibrary/rust/ylong_json/src/
H A Dstates.rs27 Err(ParseError::UnexpectedCharacter(position.line(), position.column(), ch).into())
29 Ok(None) => Err(ParseError::InvalidUtf8Bytes(position.line()).into()),
37 Err(ParseError::UnexpectedEndOfJson($deserializer.reader.position().line()).into())
93 return Err(ParseError::TrailingBytes(deserializer.reader.position().line()).into());
H A Ddeserializer.rs679 position.line(), in next_element_seed()
691 position.line(), in next_element_seed()
724 position.line(), in next_key_seed()
739 position.line(), in next_key_seed()
761 position.line(), in next_value_seed()

Completed in 8 milliseconds