Home
last modified time | relevance | path

Searched refs:rawdata (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/
D_markupbase.py47 rawdata = self.rawdata
48 nlines = rawdata.count("\n", i, j)
51 pos = rawdata.rindex("\n", i, j) # Should not fail
71 rawdata = self.rawdata
73 assert rawdata[i:j] == "<!", "unexpected call to parse_declaration"
74 if rawdata[j:j+1] == ">":
77 if rawdata[j:j+1] in ("-", ""):
82 n = len(rawdata)
83 if rawdata[j:j+2] == '--': #comment
86 elif rawdata[j] == '[': #marked section
[all …]
/third_party/python/Lib/html/
Dparser.py97 self.rawdata = ''
109 self.rawdata = self.rawdata + data
134 rawdata = self.rawdata
136 n = len(rawdata)
139 j = rawdata.find('<', i)
147 amppos = rawdata.rfind('&', max(i, n-34))
149 not re.compile(r'[\s;]').search(rawdata, amppos)):
153 match = self.interesting.search(rawdata, i) # < or &
162 self.handle_data(unescape(rawdata[i:j]))
164 self.handle_data(rawdata[i:j])
[all …]
/third_party/boost/libs/serialization/performance/
Dperformance_iterators_base64.cpp41 CharType rawdata[150]; in test_base64() local
42 std::size_t size = sizeof(rawdata) / sizeof(CharType); in test_base64()
44 for(rptr = rawdata + size; rptr-- > rawdata;) in test_base64()
65 translate_out(BOOST_MAKE_PFTO_WRAPPER(static_cast<CharType *>(rawdata))), in test_base64()
66 translate_out(BOOST_MAKE_PFTO_WRAPPER(rawdata + size)), in test_base64()
84 rawdata, in test_base64()
85 rawdata + size, in test_base64()
Dperformance_iterators.cpp104 char rawdata[8]; in test_transform_width() local
107 for(rptr = rawdata + 6; rptr-- > rawdata;) in test_transform_width()
118 translator1(BOOST_MAKE_PFTO_WRAPPER(static_cast<char *>(rawdata))), in test_transform_width()
119 translator1(BOOST_MAKE_PFTO_WRAPPER(rawdata + size)), in test_transform_width()
135 rawdata, in test_transform_width()
136 rawdata + size, in test_transform_width()
/third_party/boost/libs/serialization/test/
Dtest_iterators_base64.cpp39 CharType rawdata[150]; in test_base64() local
41 for(rptr = rawdata + size; rptr-- > rawdata;) in test_base64()
62 translate_out(static_cast<CharType *>(rawdata)), in test_base64()
63 translate_out(rawdata + size), in test_base64()
81 rawdata, in test_base64()
82 rawdata + size, in test_base64()
Dtest_iterators.cpp132 char rawdata[8]; in test_transform_width() local
135 for(rptr = rawdata + size; rptr-- > rawdata;) in test_transform_width()
146 translator1(static_cast<char *>(rawdata)), in test_transform_width()
147 translator1(rawdata + size), in test_transform_width()
173 rawdata, in test_transform_width()
174 rawdata + size, in test_transform_width()
/third_party/python/Lib/test/
Dtest_binascii.py22 rawdata = b"The quick brown fox jumps over the lazy dog.\r\n" variable in BinASCIITest
24 rawdata += bytes(range(256))
25 rawdata += b"\r\nHello world.\n"
28 self.data = self.type2test(self.rawdata)
45 raw = self.rawdata[:MAX_ALL]
69 for i in range(0, len(self.rawdata), MAX_BASE64):
70 b = self.type2test(self.rawdata[i:i+MAX_BASE64])
78 self.assertEqual(res, self.rawdata)
86 b = self.type2test(self.rawdata[i:i+MAX_BASE64])
111 self.assertEqual(res, self.rawdata)
[all …]
Dtest_http_cookies.py205 rawdata = 'Customer="WILE_E_COYOTE"; Path=/acme; Version=1'
206 expected_output = 'Set-Cookie: %s' % rawdata
209 C.load(rawdata)
218 rawdata = "a=b; c,d=e"
221 C.load(rawdata)
/third_party/python/Lib/http/
Dcookies.py525 def load(self, rawdata): argument
531 if isinstance(rawdata, str):
532 self.__parse_string(rawdata)
535 for key, value in rawdata.items():
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/
DSDL_waylandtouch.c67 struct wl_array *rawdata) in touch_handle_touch() argument
DSDL_waylandtouch.h250 struct wl_array *rawdata);
/third_party/python/Doc/library/
Dhttp.cookies.rst112 .. method:: BaseCookie.load(rawdata)
114 If *rawdata* is a string, parse it as an ``HTTP_COOKIE`` and add the values
117 for k, v in rawdata.items():