Home
last modified time | relevance | path

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

12

/external/rust/crates/nix/test/
Dtest_sendfile.rs80 let mut read_string = String::new(); in test_sendfile_freebsd() localVariable
81 let bytes_read = rd.read_to_string(&mut read_string).unwrap(); in test_sendfile_freebsd()
83 assert_eq!(expected_string, read_string); in test_sendfile_freebsd()
125 let mut read_string = String::new(); in test_sendfile_darwin() localVariable
126 let bytes_read = rd.read_to_string(&mut read_string).unwrap(); in test_sendfile_darwin()
128 assert_eq!(expected_string, read_string); in test_sendfile_darwin()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py55 parser.read_string(self.config)
76 parser.read_string(self.config)
215 conf.defaultCfg[ctype].read_string(self.config_string[ctype])
217 conf.userCfg[ctype].read_string(self.config_string[ctype])
415 userextn.read_string('''
440 userextn.read_string('''
450 userextn.read_string('''
462 userextn.read_string('''
604 usermain.read_string('''
620 usermain.read_string('''
[all …]
/external/skqp/src/core/
DSkFontDescriptor.cpp31 static bool SK_WARN_UNUSED_RESULT read_string(SkStream* stream, SkString* string) { in read_string() function
72 if (!read_string(stream, &result->fFamilyName)) { return false; } in Deserialize()
75 if (!read_string(stream, &result->fFullName)) { return false; } in Deserialize()
78 if (!read_string(stream, &result->fPostscriptName)) { return false; } in Deserialize()
/external/skia/src/core/
DSkFontDescriptor.cpp30 static bool SK_WARN_UNUSED_RESULT read_string(SkStream* stream, SkString* string) { in read_string() function
87 if (!read_string(stream, &result->fFamilyName)) { return false; } in Deserialize()
90 if (!read_string(stream, &result->fFullName)) { return false; } in Deserialize()
93 if (!read_string(stream, &result->fPostscriptName)) { return false; } in Deserialize()
/external/ltp/testcases/kernel/fs/inode/
Dinode01.c91 char read_string[PATH_STRING_LENGTH + 1]; variable
520 read(file_id, read_string, len); in check()
528 read_string[len] = '\0'; in check()
529 val = strcmp(read_string, path_string); in check()
534 read_string); in check()
Dinode02.c74 char read_string[PATH_STRING_LENGTH + 1]; variable
622 read(file_id, read_string, len); in check()
629 read_string[len] = '\0'; in check()
630 val = strcmp(read_string, path_string); in check()
635 read_string); in check()
/external/python/cpython3/Lib/test/
Dtest_configparser.py65 cf.read_string(string)
332 cf.read_string(textwrap.dedent("""\
338 cf.read_string(textwrap.dedent("""\
345 cf.read_string(textwrap.dedent("""\
351 cf.read_string(textwrap.dedent("""\
622 cf.read_string(textwrap.dedent("""\
877 cf.read_string(invalid)
1010 self.assertIsNone(cf.read_string(""))
1017 cf.read_string(self.ini)
1169 cf.read_string(string)
[all …]
/external/nanopb-c/tests/alltypes_callback/
Ddecode_alltypes_callback.c58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() function
275 alltypes.req_string.funcs.decode = &read_string; in check_alltypes()
278 alltypes.req_bytes.funcs.decode = &read_string; in check_alltypes()
390 alltypes.opt_string.funcs.decode = &read_string; in check_alltypes()
393 alltypes.opt_bytes.funcs.decode = &read_string; in check_alltypes()
/external/grpc-grpc/third_party/nanopb/tests/alltypes_callback/
Ddecode_alltypes_callback.c58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() function
269 alltypes.req_string.funcs.decode = &read_string; in check_alltypes()
272 alltypes.req_bytes.funcs.decode = &read_string; in check_alltypes()
384 alltypes.opt_string.funcs.decode = &read_string; in check_alltypes()
387 alltypes.opt_bytes.funcs.decode = &read_string; in check_alltypes()
/external/webrtc/rtc_base/
Dbyte_buffer_unittest.cc144 std::string read_string; in TEST() local
145 EXPECT_TRUE(read_buf6.ReadString(&read_string, write_string.size())); in TEST()
146 EXPECT_EQ(write_string, read_string); in TEST()
/external/rust/crates/libz-sys/src/zlib/contrib/iostream2/
Dzstream_test.cpp14 char *x = read_string(in), *y = new char[256], z[256]; in main()
Dzstream.h145 inline char* read_string(izstream& zs) { in read_string() function
/external/nanopb-c/tests/alltypes_proto3_callback/
Ddecode_alltypes_callback.c58 static bool read_string(pb_istream_t *stream, const pb_field_t *field, void **arg) in read_string() function
324 alltypes.sng_string.funcs.decode = &read_string; in check_alltypes()
327 alltypes.sng_bytes.funcs.decode = &read_string; in check_alltypes()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Delf_reader.py221 def read_string(self, offset: int) -> str: member in FieldReader
268 reader.read_string(names_table_base + name_offset),
Dtokens.py400 def read_string(start): function
407 string, offset = read_string(offset)
/external/lua/src/
Dllex.c378 static void read_string (LexState *ls, int del, SemInfo *seminfo) { in read_string() function
515 read_string(ls, ls->current, seminfo); in llex()
/external/libabigail/src/
Dabg-ini.cc1374 read_string() in read_string() function in abigail::ini::read_context
1410 string value = read_string(); in read_string_property_value()
1428 str = read_string(); in read_list_property_value()
/external/python/cpython3/Doc/library/
Dconfigparser.rst511 >>> config.read_string(sample_config)
560 >>> parser.read_string("""
600 :meth:`read_string` or :meth:`read_dict`). It is recommended to use strict
717 >>> typical.read_string(config)
724 >>> custom.read_string(config)
755 >>> typical.read_string(config)
760 >>> custom.read_string(config)
1030 .. method:: read_string(string, source='<string>')
/external/python/cpython3/Lib/importlib/
Dmetadata.py110 config.read_string(text)
/external/rust/crates/protobuf/src/
Dtypes.rs507 is.read_string() in read()
Dcoded_input_stream.rs678 pub fn read_string(&mut self) -> ProtobufResult<String> { in read_string() method
/external/rust/crates/protobuf/src/well_known_types/
Dstruct_pb.rs471 … self.kind = ::std::option::Option::Some(Value_oneof_kind::string_value(is.read_string()?)); in merge_from()
/external/python/cpython3/Lib/
Dconfigparser.py720 def read_string(self, string, source='<string>'): member in RawConfigParser
/external/llvm-project/lldb/source/Core/
DValueObject.cpp1238 std::pair<size_t, bool> read_string = ReadPointedString( in DumpPrintableRepresentation() local
1250 options.SetIsTruncated(read_string.second); in DumpPrintableRepresentation()
/external/python/cpython3/Doc/whatsnew/
D3.2.rst2140 >>> parser.read_string("""
2178 >>> parser.read_string("""

12