Home
last modified time | relevance | path

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

/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/
H A D11_read_string.t12 # Generally, read_string can be tested with .tml files in t/tml-local/*
17 subtest 'read_string without arg' => sub {
18 eval { CPAN::Meta::YAML->read_string(); };
20 "Got expected error: no string provided to read_string()"
26 my $obj = eval { CPAN::Meta::YAML->read_string($str); };
30 subtest 'read_string as object method' => sub {
32 ok( my $obj2 = $obj->read_string( "---\nfoo: bar\n" ),
33 "read_string object method"
45 my $obj = eval { CPAN::Meta::YAML->read_string($string); };
46 is( $obj, undef, "read_string should return undef" );
H A D12_write.t69 # CPAN::Meta::YAML->read_string on UTF-8 decoded data
70 ok( $data = eval { CPAN::Meta::YAML->read_string( slurp($tempfile, ":utf8") ) },
71 "case $c->{label}: read_string on UTF-8 decoded $short_tempfile" );
/openbsd/regress/usr.sbin/httpd/patterns/
H A Dpatterns-tester.c27 static void read_string(char *, size_t);
31 read_string(char *buf, size_t len) in read_string() function
71 read_string(string, sizeof(string)); in main()
72 read_string(pattern, sizeof(pattern)); in main()
/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/t/lib/
H A DTestBridge.pm138 my $got = eval { CPAN::Meta::YAML->read_string( $yaml_copy ); };
160 my $roundtrip = eval { CPAN::Meta::YAML->read_string( $output ) };
252 my $result = eval { CPAN::Meta::YAML->read_string( $yaml ) };
283 my $result = eval { CPAN::Meta::YAML->read_string( $yaml ) };
/openbsd/usr.sbin/tcpdump/
H A Dprivsep.c380 iflen = read_string(fd, device, sizeof(device), __func__); in impl_open_bpf()
633 return (read_string(priv_fd, res, res_len, __func__)); in priv_gethostbyaddr()
646 return (read_string(priv_fd, name, name_len, __func__)); in priv_ether_ntohost()
658 return read_string(priv_fd, progname, progname_len, __func__); in priv_getrpcbynumber()
681 if (read_string(priv_fd, name, name_len, __func__) == 0) in priv_getserventry()
688 return (read_string(priv_fd, prot, prot_len, __func__)); in priv_getserventry()
710 if (read_string(priv_fd, name, name_len, __func__) == 0) in priv_getprotoentry()
746 if (read_string(priv_fd, zone, sizeof(zone), __func__)) in priv_localtime()
926 read_string(int fd, char *buf, size_t size, const char *func) in read_string() function
H A Dprivsep.h92 size_t read_string(int, char *, size_t, const char *);
H A Dprivsep_pcap.c149 len = read_string(priv_fd, ebuf, PCAP_ERRBUF_SIZE, __func__); in priv_pcap_setfilter()
/openbsd/lib/libcrypto/ui/
H A Dui_openssl.c148 static int read_string(UI *ui, UI_STRING *uis);
160 .ui_read_string = read_string,
190 read_string(UI *ui, UI_STRING *uis) in read_string() function
/openbsd/usr.sbin/dhcpd/
H A Dconflex.c82 static int read_string(FILE *);
149 ttok = read_string(cfile); in get_token()
226 read_string(FILE *cfile) in read_string() function
/openbsd/sys/ddb/
H A Ddb_dwarf.c136 read_string(struct dwbuf *d, const char **s) in read_string() function
189 if (!read_string(names, &name)) in read_filename()
200 if (!read_string(names, &basename) || *basename == '\0' || in read_filename()
209 if (!read_string(&dirnames, &dirname) || *dirname == '\0') in read_filename()
/openbsd/usr.bin/dc/
H A Dextern.h28 char *read_string(struct source *);
H A Dinout.c230 read_string(struct source *src) in read_string() function
H A Dbcode.c963 push_string(read_string(&bmachine.readstack[bmachine.readsp])); in push_line()
1580 free(read_string(&bmachine.readstack[bmachine.readsp])); in skip_until_mark()
/openbsd/gnu/usr.bin/gcc/gcc/
H A Dread-rtl.c34 static char *read_string PARAMS ((struct obstack *, FILE *, int));
329 read_string (ob, infile, star_if_braced) in read_string() function
689 stringbuf = read_string (&rtl_obstack, infile, star_if_braced);
H A DChangeLog.5144 (read_string): Break inner loop into separate function. Takes
154 fatal_expected_char, read_name, read_string, def_hash,
2963 * rtl.c (read_string): Break out from ...
/openbsd/gnu/usr.bin/perl/cpan/CPAN-Meta-YAML/lib/CPAN/Meta/
H A DYAML.pm91 sub read_string { subroutine
/openbsd/gnu/usr.bin/binutils/bfd/
H A Ddwarf2.c251 read_string (bfd *abfd ATTRIBUTE_UNUSED, in read_string() function
587 attr->u.str = read_string (abfd, info_ptr, &bytes_read); in read_attribute_value()
1006 while ((cur_dir = read_string (abfd, line_ptr, &bytes_read)) != NULL) in decode_line_info()
1025 while ((cur_file = read_string (abfd, line_ptr, &bytes_read)) != NULL) in decode_line_info()
1118 cur_file = read_string (abfd, line_ptr, &bytes_read); in decode_line_info()
/openbsd/gnu/gcc/gcc/
H A Dread-rtl.c135 static char *read_string (FILE *, int);
1050 read_string (FILE *infile, int star_if_braced) in read_string() function
1342 string = read_string (infile, false); in read_mapping()
1634 stringbuf = read_string (infile, star_if_braced); in read_rtx_1()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Ddwarf2.c286 read_string (bfd *abfd ATTRIBUTE_UNUSED, in read_string() function
601 attr->u.str = read_string (abfd, info_ptr, &bytes_read); in read_attribute_value()
1049 while ((cur_dir = read_string (abfd, line_ptr, &bytes_read)) != NULL) in decode_line_info()
1075 while ((cur_file = read_string (abfd, line_ptr, &bytes_read)) != NULL) in decode_line_info()
1176 cur_file = read_string (abfd, line_ptr, &bytes_read); in decode_line_info()
/openbsd/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/
H A DHarness.pm501 my $yaml = CPAN::Meta::YAML->read_string($yaml_text)
/openbsd/gnu/usr.bin/binutils/gdb/
H A Ddwarf2read.c805 static char *read_string (bfd *, char *, unsigned int *);
2239 read_string (abfd, info_ptr, &bytes_read); in skip_one_die()
5654 DW_STRING (attr) = read_string (abfd, info_ptr, &bytes_read); in read_attribute_value()
5954 read_string (bfd *abfd, char *buf, unsigned int *bytes_read_ptr) in read_string() function
6325 while ((cur_dir = read_string (abfd, line_ptr, &bytes_read)) != NULL) in dwarf_decode_line_header()
6333 while ((cur_file = read_string (abfd, line_ptr, &bytes_read)) != NULL) in dwarf_decode_line_header()
6515 cur_file = read_string (abfd, line_ptr, &bytes_read); in dwarf_decode_lines()
9065 body = read_string (abfd, mac_ptr, &bytes_read); in dwarf_decode_macros()
9144 string = read_string (abfd, mac_ptr, &bytes_read); in dwarf_decode_macros()
H A DChangeLog-1996392 (read_n_bytes, read_string): Allocate storage from the temporary
H A DChangeLog-20011375 (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8
/openbsd/gnu/llvm/lldb/source/Core/
H A DValueObject.cpp1197 std::pair<size_t, bool> read_string = ReadPointedString( in DumpPrintableRepresentation() local
1209 options.SetIsTruncated(read_string.second); in DumpPrintableRepresentation()