Home
last modified time | relevance | path

Searched refs:source (Results 1 - 25 of 3507) sorted by relevance

12345678910>>...141

/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class_test.py48 """Convert C++ source to Google Mock output source lines."""
57 source = """
65 self.GenerateMethodSource(source))
68 source = """
82 self.GenerateMethodSource(source))
85 source = """
95 self.GenerateMethodSource(source))
98 source = """
111 self.GenerateMethodSource(source))
[all...]
H A Dtokenize.py18 """Tokenize C++ source code."""
67 start contains the index of the first char of the token in the source
68 end contains the index of the last char of the token in the source
86 def _GetString(source, start, i):
87 i = source.find('"', i+1)
88 while source[i-1] == '\\':
92 while source[j] == '\\':
98 i = source.find('"', i+1)
102 def _GetChar(source, start, i):
104 i = source
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
H A DBufferVariables_test.cpp3 // Use of this source code is governed by a BSD-style license that can be
47 const std::string &source = in TEST_F() local
56 if (!compile(source)) in TEST_F()
65 const std::string &source = in TEST_F() local
71 if (!compile(source)) in TEST_F()
80 const std::string &source = in TEST_F() local
89 if (!compile(source)) in TEST_F()
98 const std::string &source = in TEST_F() local
107 if (!compile(source)) in TEST_F()
117 const std::string &source in TEST_F() local
132 const std::string &source = TEST_F() local
150 const std::string &source = TEST_F() local
167 const std::string &source = TEST_F() local
185 const std::string &source = TEST_F() local
203 const std::string &source = TEST_F() local
221 const std::string &source = TEST_F() local
239 const std::string &source = TEST_F() local
260 const std::string &source = TEST_F() local
281 const std::string &source = TEST_F() local
300 const std::string &source = TEST_F() local
318 const std::string &source = TEST_F() local
337 const std::string &source = TEST_F() local
355 const std::string &source = TEST_F() local
373 const std::string &source = TEST_F() local
391 const std::string &source = TEST_F() local
409 const std::string &source = TEST_F() local
427 const std::string &source = TEST_F() local
451 const std::string &source = TEST_F() local
469 const std::string &source = TEST_F() local
488 const std::string &source = TEST_F() local
507 const std::string &source = TEST_F() local
526 const std::string &source = TEST_F() local
545 const std::string &source = TEST_F() local
560 const std::string &source = TEST_F() local
578 const std::string &source = TEST_F() local
596 const std::string &source = TEST_F() local
617 const std::string &source = TEST_F() local
638 const std::string &source = TEST_F() local
659 const std::string &source = TEST_F() local
[all...]
/third_party/python/Lib/test/
H A Dtest_zipapp.py27 source = self.tmpdir / 'source'
28 source.mkdir()
29 (source / '__main__.py').touch()
30 target = self.tmpdir / 'source.pyz'
31 zipapp.create_archive(str(source), str(target))
35 # Test packing a directory using Path objects for source and target.
36 source = self.tmpdir / 'source'
37 source
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DConvertUTF.cpp14 * This source code is provided as is by Unicode, Inc. No claims are
39 source sequences, enhanced error detection, added casts
122 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16() local
124 while (source < sourceEnd) { in ConvertUTF32toUTF16()
129 ch = *source++; in ConvertUTF32toUTF16()
134 --source; /* return to the illegal value itself */ in ConvertUTF32toUTF16()
152 --source; /* Back up source pointer! */ in ConvertUTF32toUTF16()
160 *sourceStart = source; in ConvertUTF32toUTF16()
171 const UTF16* source in ConvertUTF16toUTF32() local
225 const UTF16* source = *sourceStart; ConvertUTF16toUTF8() local
295 const UTF32* source = *sourceStart; ConvertUTF32toUTF8() local
355 isLegalUTF8(const UTF8 *source, int length) isLegalUTF8() argument
386 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) isLegalUTF8Sequence() argument
397 findMaximalSubpartOfIllFormedUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) findMaximalSubpartOfIllFormedUTF8Sequence() argument
503 isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd) isLegalUTF8String() argument
519 const UTF8* source = *sourceStart; ConvertUTF8toUTF16() local
593 const UTF8* source = *sourceStart; ConvertUTF8toUTF32Impl() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DConvertUTF.cpp13 * This source code is provided as is by Unicode, Inc. No claims are
38 source sequences, enhanced error detection, added casts
148 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16() local
150 while (source < sourceEnd) { in ConvertUTF32toUTF16()
155 ch = *source++; in ConvertUTF32toUTF16()
160 --source; /* return to the illegal value itself */ in ConvertUTF32toUTF16()
178 --source; /* Back up source pointer! */ in ConvertUTF32toUTF16()
186 *sourceStart = source; in ConvertUTF32toUTF16()
197 const UTF16* source in ConvertUTF16toUTF32() local
251 const UTF16* source = *sourceStart; ConvertUTF16toUTF8() local
321 const UTF32* source = *sourceStart; ConvertUTF32toUTF8() local
381 isLegalUTF8(const UTF8 *source, int length) isLegalUTF8() argument
412 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) isLegalUTF8Sequence() argument
423 findMaximalSubpartOfIllFormedUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) findMaximalSubpartOfIllFormedUTF8Sequence() argument
529 isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd) isLegalUTF8String() argument
545 const UTF8* source = *sourceStart; ConvertUTF8toUTF16() local
619 const UTF8* source = *sourceStart; ConvertUTF8toUTF32Impl() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUTF16.java212 * @param source Array of UTF-16 chars
219 public static int charAt(String source, int offset16) { in charAt() argument
220 char single = source.charAt(offset16); in charAt()
224 return _charAt(source, offset16, single); in charAt()
227 private static int _charAt(String source, int offset16, char single) { in _charAt() argument
238 if (source.length() != offset16) { in _charAt()
239 char trail = source.charAt(offset16); in _charAt()
248 char lead = source.charAt(offset16); in _charAt()
266 * @param source Array of UTF-16 chars
273 public static int charAt(CharSequence source, in argument
281 _charAt(CharSequence source, int offset16, char single) _charAt() argument
329 charAt(StringBuffer source, int offset16) charAt() argument
381 charAt(char source[], int start, int limit, int offset16) charAt() argument
432 charAt(Replaceable source, int offset16) charAt() argument
500 bounds(String source, int offset16) bounds() argument
536 bounds(StringBuffer source, int offset16) bounds() argument
576 bounds(char source[], int start, int limit, int offset16) bounds() argument
698 valueOf(String source, int offset16) valueOf() argument
722 valueOf(StringBuffer source, int offset16) valueOf() argument
750 valueOf(char source[], int start, int limit, int offset16) valueOf() argument
770 findOffsetFromCodePoint(String source, int offset32) findOffsetFromCodePoint() argument
802 findOffsetFromCodePoint(StringBuffer source, int offset32) findOffsetFromCodePoint() argument
836 findOffsetFromCodePoint(char source[], int start, int limit, int offset32) findOffsetFromCodePoint() argument
877 findCodePointOffset(String source, int offset16) findCodePointOffset() argument
928 findCodePointOffset(StringBuffer source, int offset16) findCodePointOffset() argument
981 findCodePointOffset(char source[], int start, int limit, int offset16) findCodePointOffset() argument
1088 countCodePoint(String source) countCodePoint() argument
1102 countCodePoint(StringBuffer source) countCodePoint() argument
1119 countCodePoint(char source[], int start, int limit) countCodePoint() argument
1234 moveCodePointOffset(String source, int offset16, int shift32) moveCodePointOffset() argument
1288 moveCodePointOffset(StringBuffer source, int offset16, int shift32) moveCodePointOffset() argument
1345 moveCodePointOffset(char source[], int start, int limit, int offset16, int shift32) moveCodePointOffset() argument
1538 indexOf(String source, int char32) indexOf() argument
1592 indexOf(String source, String str) indexOf() argument
1639 indexOf(String source, int char32, int fromIndex) indexOf() argument
1695 indexOf(String source, String str, int fromIndex) indexOf() argument
1741 lastIndexOf(String source, int char32) lastIndexOf() argument
1795 lastIndexOf(String source, String str) lastIndexOf() argument
1852 lastIndexOf(String source, int char32, int fromIndex) lastIndexOf() argument
1918 lastIndexOf(String source, String str, int fromIndex) lastIndexOf() argument
1969 replace(String source, int oldChar32, int newChar32) replace() argument
2030 replace(String source, String oldStr, String newStr) replace() argument
2062 reverse(StringBuffer source) reverse() argument
2095 hasMoreCodePointsThan(String source, int number) hasMoreCodePointsThan() argument
2160 hasMoreCodePointsThan(char source[], int start, int limit, int number) hasMoreCodePointsThan() argument
2225 hasMoreCodePointsThan(StringBuffer source, int number) hasMoreCodePointsThan() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DUTF16.java193 * @param source Array of UTF-16 chars
199 public static int charAt(String source, int offset16) { in charAt() argument
200 char single = source.charAt(offset16); in charAt()
204 return _charAt(source, offset16, single); in charAt()
207 private static int _charAt(String source, int offset16, char single) { in _charAt() argument
218 if (source.length() != offset16) { in _charAt()
219 char trail = source.charAt(offset16); in _charAt()
228 char lead = source.charAt(offset16); in _charAt()
246 * @param source Array of UTF-16 chars
252 public static int charAt(CharSequence source, in argument
260 _charAt(CharSequence source, int offset16, char single) _charAt() argument
307 charAt(StringBuffer source, int offset16) charAt() argument
358 charAt(char source[], int start, int limit, int offset16) charAt() argument
408 charAt(Replaceable source, int offset16) charAt() argument
474 bounds(String source, int offset16) bounds() argument
509 bounds(StringBuffer source, int offset16) bounds() argument
548 bounds(char source[], int start, int limit, int offset16) bounds() argument
660 valueOf(String source, int offset16) valueOf() argument
683 valueOf(StringBuffer source, int offset16) valueOf() argument
710 valueOf(char source[], int start, int limit, int offset16) valueOf() argument
729 findOffsetFromCodePoint(String source, int offset32) findOffsetFromCodePoint() argument
760 findOffsetFromCodePoint(StringBuffer source, int offset32) findOffsetFromCodePoint() argument
793 findOffsetFromCodePoint(char source[], int start, int limit, int offset32) findOffsetFromCodePoint() argument
833 findCodePointOffset(String source, int offset16) findCodePointOffset() argument
883 findCodePointOffset(StringBuffer source, int offset16) findCodePointOffset() argument
935 findCodePointOffset(char source[], int start, int limit, int offset16) findCodePointOffset() argument
1038 countCodePoint(String source) countCodePoint() argument
1051 countCodePoint(StringBuffer source) countCodePoint() argument
1067 countCodePoint(char source[], int start, int limit) countCodePoint() argument
1179 moveCodePointOffset(String source, int offset16, int shift32) moveCodePointOffset() argument
1232 moveCodePointOffset(StringBuffer source, int offset16, int shift32) moveCodePointOffset() argument
1288 moveCodePointOffset(char source[], int start, int limit, int offset16, int shift32) moveCodePointOffset() argument
1476 indexOf(String source, int char32) indexOf() argument
1529 indexOf(String source, String str) indexOf() argument
1575 indexOf(String source, int char32, int fromIndex) indexOf() argument
1630 indexOf(String source, String str, int fromIndex) indexOf() argument
1675 lastIndexOf(String source, int char32) lastIndexOf() argument
1728 lastIndexOf(String source, String str) lastIndexOf() argument
1784 lastIndexOf(String source, int char32, int fromIndex) lastIndexOf() argument
1849 lastIndexOf(String source, String str, int fromIndex) lastIndexOf() argument
1899 replace(String source, int oldChar32, int newChar32) replace() argument
1959 replace(String source, String oldStr, String newStr) replace() argument
1990 reverse(StringBuffer source) reverse() argument
2022 hasMoreCodePointsThan(String source, int number) hasMoreCodePointsThan() argument
2086 hasMoreCodePointsThan(char source[], int start, int limit, int number) hasMoreCodePointsThan() argument
2150 hasMoreCodePointsThan(StringBuffer source, int number) hasMoreCodePointsThan() argument
[all...]
/third_party/icu/icu4c/source/common/
H A Ducnvlat1.cpp38 const uint8_t *source; in _Latin1ToUnicodeWithOffsets() local
46 source=(const uint8_t *)pArgs->source; in _Latin1ToUnicodeWithOffsets()
57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
73 target[0]=source[0]; in _Latin1ToUnicodeWithOffsets()
74 target[1]=source[1]; in _Latin1ToUnicodeWithOffsets()
75 target[2]=source[2]; in _Latin1ToUnicodeWithOffsets()
76 target[3]=source[3]; in _Latin1ToUnicodeWithOffsets()
77 target[4]=source[4]; in _Latin1ToUnicodeWithOffsets()
78 target[5]=source[ in _Latin1ToUnicodeWithOffsets()
124 const uint8_t *source=(const uint8_t *)pArgs->source; _Latin1GetNextUChar() local
140 const UChar *source, *sourceLimit; _Latin1FromUnicodeWithOffsets() local
328 const uint8_t *source, *sourceLimit; ucnv_Latin1FromUTF8() local
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
593 const uint8_t *source; _ASCIIGetNextUChar() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnvlat1.cpp38 const uint8_t *source; in _Latin1ToUnicodeWithOffsets() local
46 source=(const uint8_t *)pArgs->source; in _Latin1ToUnicodeWithOffsets()
57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
73 target[0]=source[0]; in _Latin1ToUnicodeWithOffsets()
74 target[1]=source[1]; in _Latin1ToUnicodeWithOffsets()
75 target[2]=source[2]; in _Latin1ToUnicodeWithOffsets()
76 target[3]=source[3]; in _Latin1ToUnicodeWithOffsets()
77 target[4]=source[4]; in _Latin1ToUnicodeWithOffsets()
78 target[5]=source[ in _Latin1ToUnicodeWithOffsets()
124 const uint8_t *source=(const uint8_t *)pArgs->source; _Latin1GetNextUChar() local
140 const char16_t *source, *sourceLimit; _Latin1FromUnicodeWithOffsets() local
328 const uint8_t *source, *sourceLimit; ucnv_Latin1FromUTF8() local
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
593 const uint8_t *source; _ASCIIGetNextUChar() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnvlat1.cpp38 const uint8_t *source; in _Latin1ToUnicodeWithOffsets() local
46 source=(const uint8_t *)pArgs->source; in _Latin1ToUnicodeWithOffsets()
57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets()
73 target[0]=source[0]; in _Latin1ToUnicodeWithOffsets()
74 target[1]=source[1]; in _Latin1ToUnicodeWithOffsets()
75 target[2]=source[2]; in _Latin1ToUnicodeWithOffsets()
76 target[3]=source[3]; in _Latin1ToUnicodeWithOffsets()
77 target[4]=source[4]; in _Latin1ToUnicodeWithOffsets()
78 target[5]=source[ in _Latin1ToUnicodeWithOffsets()
124 const uint8_t *source=(const uint8_t *)pArgs->source; _Latin1GetNextUChar() local
140 const UChar *source, *sourceLimit; _Latin1FromUnicodeWithOffsets() local
328 const uint8_t *source, *sourceLimit; ucnv_Latin1FromUTF8() local
484 const uint8_t *source, *sourceLimit; _ASCIIToUnicodeWithOffsets() local
593 const uint8_t *source; _ASCIIGetNextUChar() local
621 const uint8_t *source, *sourceLimit; ucnv_ASCIIFromUTF8() local
[all...]
/third_party/node/deps/cjs-module-lexer/
H A Dlexer.js1 let source, pos, end;
40 function parseCJS (source, name = '@') {
43 parseSource(source);
46 e.message += `\n at ${name}:${source.slice(0, pos).split('\n').length}:${pos - source.lastIndexOf('\n', pos - 1)}`;
86 source = cjsSource;
88 end = source.length - 1;
92 if (source.charCodeAt(0) === 35/*#*/ && source.charCodeAt(1) === 33/*!*/) {
93 if (source
[all...]
/third_party/curl/lib/
H A Dmemdebug.c107 static bool countcheck(const char *func, int line, const char *source) in countcheck() argument
109 /* if source is NULL, then the call is made internally and this check in countcheck()
111 if(memlimit && source) { in countcheck()
115 source, line, func); in countcheck()
118 source, line, func); in countcheck()
133 int line, const char *source) in curl_dbg_malloc()
140 if(countcheck("malloc", line, source)) in curl_dbg_malloc()
151 if(source) in curl_dbg_malloc()
153 source, line, wantedsize, in curl_dbg_malloc()
160 int line, const char *source) in curl_dbg_calloc()
132 curl_dbg_malloc(size_t wantedsize, int line, const char *source) curl_dbg_malloc() argument
159 curl_dbg_calloc(size_t wanted_elements, size_t wanted_size, int line, const char *source) curl_dbg_calloc() argument
187 curl_dbg_strdup(const char *str, int line, const char *source) curl_dbg_strdup() argument
212 curl_dbg_wcsdup(const wchar_t *str, int line, const char *source) curl_dbg_wcsdup() argument
240 curl_dbg_realloc(void *ptr, size_t wantedsize, int line, const char *source) curl_dbg_realloc() argument
279 curl_dbg_free(void *ptr, int line, const char *source) curl_dbg_free() argument
304 curl_dbg_socket(int domain, int type, int protocol, int line, const char *source) curl_dbg_socket() argument
321 curl_dbg_send(SEND_TYPE_ARG1 sockfd, SEND_QUAL_ARG2 SEND_TYPE_ARG2 buf, SEND_TYPE_ARG3 len, SEND_TYPE_ARG4 flags, int line, const char *source) curl_dbg_send() argument
336 curl_dbg_recv(RECV_TYPE_ARG1 sockfd, RECV_TYPE_ARG2 buf, RECV_TYPE_ARG3 len, RECV_TYPE_ARG4 flags, int line, const char *source) curl_dbg_recv() argument
351 curl_dbg_socketpair(int domain, int type, int protocol, curl_socket_t socket_vector[2], int line, const char *source) curl_dbg_socketpair() argument
366 curl_dbg_accept(curl_socket_t s, void *saddr, void *saddrlen, int line, const char *source) curl_dbg_accept() argument
382 curl_dbg_mark_sclose(curl_socket_t sockfd, int line, const char *source) curl_dbg_mark_sclose() argument
390 curl_dbg_sclose(curl_socket_t sockfd, int line, const char *source) curl_dbg_sclose() argument
397 curl_dbg_fopen(const char *file, const char *mode, int line, const char *source) curl_dbg_fopen() argument
409 curl_dbg_fdopen(int filedes, const char *mode, int line, const char *source) curl_dbg_fdopen() argument
419 curl_dbg_fclose(FILE *file, int line, const char *source) curl_dbg_fclose() argument
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Drdppm.c58 /* Private version of data source object */
138 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() local
139 FILE *infile = source->pub.input_file; in METHODDEF()
141 register JSAMPLE *rescale = source->rescale; in METHODDEF()
143 unsigned int maxval = source->maxval; in METHODDEF()
145 ptr = source->pub.buffer[0]; in METHODDEF()
166 ppm_source_ptr source = (ppm_source_ptr)sinfo; in METHODDEF() local
167 FILE *infile = source->pub.input_file; in METHODDEF()
169 register JSAMPLE *rescale = source->rescale; in METHODDEF()
171 unsigned int maxval = source in METHODDEF()
201 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
240 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
275 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
308 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
330 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
366 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
398 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
434 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
473 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
485 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
512 ppm_source_ptr source = (ppm_source_ptr)sinfo; METHODDEF() local
560 ppm_source_ptr source = (ppm_source_ptr)sinfo; global() local
763 ppm_source_ptr source; global() local
[all...]
H A Drdtarga.c39 /* Private version of data source object */
170 tga_source_ptr source = (tga_source_ptr)sinfo; in METHODDEF() local
174 ptr = source->pub.buffer[0]; in METHODDEF()
176 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */ in METHODDEF()
177 *ptr++ = (JSAMPLE)UCH(source->tga_pixel[0]); in METHODDEF()
186 tga_source_ptr source = (tga_source_ptr)sinfo; in METHODDEF() local
190 register JSAMPARRAY colormap = source->colormap; in METHODDEF()
191 int cmaplen = source->cmap_length; in METHODDEF()
193 ptr = source in METHODDEF()
210 tga_source_ptr source = (tga_source_ptr)sinfo; METHODDEF() local
238 tga_source_ptr source = (tga_source_ptr)sinfo; METHODDEF() local
271 tga_source_ptr source = (tga_source_ptr)sinfo; METHODDEF() local
298 tga_source_ptr source = (tga_source_ptr)sinfo; METHODDEF() local
331 tga_source_ptr source = (tga_source_ptr)sinfo; start_input_tga() local
491 tga_source_ptr source; GLOBAL() local
[all...]
H A Drdbmp.c49 /* Private version of data source object */
61 JDIMENSION source_row; /* Current source row number */
147 bmp_source_ptr source = (bmp_source_ptr)sinfo; in METHODDEF() local
148 register JSAMPARRAY colormap = source->colormap; in METHODDEF()
149 int cmaplen = source->cmap_length; in METHODDEF()
155 if (source->use_inversion_array) { in METHODDEF()
157 source->source_row--; in METHODDEF()
159 ((j_common_ptr)cinfo, source->whole_image, in METHODDEF()
160 source->source_row, (JDIMENSION)1, FALSE); in METHODDEF()
163 if (!ReadOK(source in METHODDEF()
225 bmp_source_ptr source = (bmp_source_ptr)sinfo; METHODDEF() local
288 bmp_source_ptr source = (bmp_source_ptr)sinfo; METHODDEF() local
359 bmp_source_ptr source = (bmp_source_ptr)sinfo; METHODDEF() local
414 bmp_source_ptr source = (bmp_source_ptr)sinfo; start_input_bmp() local
670 bmp_source_ptr source; GLOBAL() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp20 #include "source/opt/loop_fission.h"
21 #include "source/opt/loop_unroller.h"
22 #include "source/opt/loop_utils.h"
23 #include "source/opt/pass.h"
67 const std::string source = R"(OpCapability Shader in TEST_F() local
192 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, source, in TEST_F()
196 << source << std::endl; in TEST_F()
199 SinglePassRunAndCheck<LoopFissionPass>(source, expected, true); in TEST_F()
204 source, source, tru in TEST_F()
229 const std::string source = R"(OpCapability Shader TEST_F() local
316 const std::string source = R"(OpCapability Shader TEST_F() local
425 const std::string source = R"( TEST_F() local
736 const std::string source = R"(OpCapability Shader TEST_F() local
918 const std::string source = R"(OpCapability Shader TEST_F() local
1099 const std::string source = R"( TEST_F() local
1309 const std::string source = R"(OpCapability Shader TEST_F() local
1427 const std::string source = R"( TEST_F() local
1652 const std::string source = R"(OpCapability Shader TEST_F() local
1898 const std::string source = R"(OpCapability Shader TEST_F() local
1992 const std::string source = R"(OpCapability Shader TEST_F() local
2099 const std::string source = R"(OpCapability Shader TEST_F() local
2289 const std::string source = R"(OpCapability Shader TEST_F() local
2445 const std::string source = R"(OpCapability Shader TEST_F() local
2551 const std::string source = R"(OpCapability Shader TEST_F() local
2674 const std::string source = R"(OpCapability Shader TEST_F() local
2966 const std::string source = R"(OpCapability Shader TEST_F() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp20 #include "source/opt/loop_fission.h"
21 #include "source/opt/loop_unroller.h"
22 #include "source/opt/loop_utils.h"
23 #include "source/opt/pass.h"
67 const std::string source = R"(OpCapability Shader in TEST_F() local
192 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, source, in TEST_F()
196 << source << std::endl; in TEST_F()
199 SinglePassRunAndCheck<LoopFissionPass>(source, expected, true); in TEST_F()
204 source, source, tru in TEST_F()
229 const std::string source = R"(OpCapability Shader TEST_F() local
316 const std::string source = R"(OpCapability Shader TEST_F() local
425 const std::string source = R"( TEST_F() local
736 const std::string source = R"(OpCapability Shader TEST_F() local
918 const std::string source = R"(OpCapability Shader TEST_F() local
1099 const std::string source = R"( TEST_F() local
1309 const std::string source = R"(OpCapability Shader TEST_F() local
1427 const std::string source = R"( TEST_F() local
1652 const std::string source = R"(OpCapability Shader TEST_F() local
1898 const std::string source = R"(OpCapability Shader TEST_F() local
1992 const std::string source = R"(OpCapability Shader TEST_F() local
2099 const std::string source = R"(OpCapability Shader TEST_F() local
2289 const std::string source = R"(OpCapability Shader TEST_F() local
2445 const std::string source = R"(OpCapability Shader TEST_F() local
2551 const std::string source = R"(OpCapability Shader TEST_F() local
2674 const std::string source = R"(OpCapability Shader TEST_F() local
2966 const std::string source = R"(OpCapability Shader TEST_F() local
[all...]
/third_party/spirv-tools/test/opt/loop_optimizations/
H A Dloop_fission.cpp15 #include "source/opt/loop_fission.h"
21 #include "source/opt/loop_utils.h"
65 const std::string source = R"(OpCapability Shader in TEST_F() local
190 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, source, in TEST_F()
194 << source << std::endl; in TEST_F()
197 SinglePassRunAndCheck<LoopFissionPass>(source, expected, true); in TEST_F()
202 source, source, true, in TEST_F()
227 const std::string source = R"(OpCapability Shader in TEST_F() local
284 BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, source, in TEST_F()
314 const std::string source = R"(OpCapability Shader TEST_F() local
423 const std::string source = R"( TEST_F() local
734 const std::string source = R"(OpCapability Shader TEST_F() local
916 const std::string source = R"(OpCapability Shader TEST_F() local
1097 const std::string source = R"( TEST_F() local
1307 const std::string source = R"(OpCapability Shader TEST_F() local
1425 const std::string source = R"( TEST_F() local
1650 const std::string source = R"(OpCapability Shader TEST_F() local
1896 const std::string source = R"(OpCapability Shader TEST_F() local
1990 const std::string source = R"(OpCapability Shader TEST_F() local
2097 const std::string source = R"(OpCapability Shader TEST_F() local
2287 const std::string source = R"(OpCapability Shader TEST_F() local
2443 const std::string source = R"(OpCapability Shader TEST_F() local
2549 const std::string source = R"(OpCapability Shader TEST_F() local
2672 const std::string source = R"(OpCapability Shader TEST_F() local
2964 const std::string source = R"(OpCapability Shader TEST_F() local
[all...]
/third_party/skia/third_party/externals/piex/src/image_type_recognition/
H A Dimage_type_recognition_lite.cc62 // Checks if source data belongs to current checker type.
63 virtual bool IsMyType(const RangeCheckedBytePtr& source) const = 0;
66 // Limits the source length to the RequestedSize(), using it guarantees that
67 // we will not read more than this size from the source.
68 RangeCheckedBytePtr LimitSource(const RangeCheckedBytePtr& source) const { in LimitSource()
69 return source.pointerToSubArray(0 /* pos */, RequestedSize()); in LimitSource()
73 // Check if the uint16 value at (source + offset) is equal to the target value.
74 bool CheckUInt16Value(const RangeCheckedBytePtr& source, in CheckUInt16Value() argument
79 source + source_offset, use_big_endian, &status); in CheckUInt16Value()
86 // Check if the uint32 value at (source
87 CheckUInt32Value(const RangeCheckedBytePtr& source, const size_t source_offset, const bool use_big_endian, const unsigned int target_value) CheckUInt32Value() argument
101 DetermineEndianness(const RangeCheckedBytePtr& source, bool* is_big_endian) DetermineEndianness() argument
120 IsSignatureMatched(const RangeCheckedBytePtr& source, const size_t source_offset, const string& signature) IsSignatureMatched() argument
126 IsSignatureFound(const RangeCheckedBytePtr& source, const size_t search_offset, const size_t search_range, const string& signature, size_t* first_matched) IsSignatureFound() argument
439 ContainsNrwSignature(const RangeCheckedBytePtr& source) ContainsNrwSignature() argument
450 ContainsNikonSignatures(const RangeCheckedBytePtr& source, const bool use_big_endian) ContainsNikonSignatures() argument
802 IsOfType(const RangeCheckedBytePtr& source, const RawImageTypes type) IsOfType() argument
872 IsOfType(const RangeCheckedBytePtr& source, const RawImageTypes type) IsOfType() argument
876 RecognizeRawImageTypeLite(const RangeCheckedBytePtr& source) RecognizeRawImageTypeLite() argument
888 IsRawLite(const RangeCheckedBytePtr& source) IsRawLite() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_perfmon.c48 .source = (const struct etna_perfmon_source[]) {
57 .source = (const struct etna_perfmon_source[]) {
66 .source = (const struct etna_perfmon_source[]) {
74 .source = (const struct etna_perfmon_source[]) {
82 .source = (const struct etna_perfmon_source[]) {
90 .source = (const struct etna_perfmon_source[]) {
98 .source = (const struct etna_perfmon_source[]) {
106 .source = (const struct etna_perfmon_source[]) {
114 .source = (const struct etna_perfmon_source[]) {
122 .source
426 etna_pm_query_signal(struct etna_perfmon *perfmon, const struct etna_perfmon_source *source) etna_pm_query_signal() argument
[all...]
/third_party/python/Lib/re/
H A D_parser.py99 def checklookbehindgroup(self, gid, source):
102 raise source.error('cannot refer to an open group')
104 raise source.error('cannot refer to group defined in the same '
307 def _class_escape(source, escape):
319 escape += source.getwhile(2, HEXDIGITS)
321 raise source.error("incomplete escape %s" % escape, len(escape))
323 elif c == "u" and source.istext:
325 escape += source.getwhile(4, HEXDIGITS)
327 raise source.error("incomplete escape %s" % escape, len(escape))
329 elif c == "U" and source
[all...]
/third_party/skia/third_party/externals/tint/src/reader/wgsl/
H A Dlexer.cc187 // Record source location of the initial '/*' in skip_comment()
188 auto source = begin_source(); in skip_comment() local
189 source.range.end.column += 1; in skip_comment()
207 // Newline: skip and update source location. in skip_comment()
212 // Anything else: skip and update source location. in skip_comment()
218 return {Token::Type::kError, source, "unterminated block comment"}; in skip_comment()
228 auto source = begin_source(); in try_float() local
270 return {Token::Type::kError, source, in try_float()
292 end_source(source); in try_float()
300 return {Token::Type::kError, source, in try_float()
332 auto source = begin_source(); try_hex_float() local
613 build_token_from_int_if_possible(Source source, size_t start, size_t end, int32_t base) build_token_from_int_if_possible() argument
650 auto source = begin_source(); try_hex_integer() local
685 auto source = begin_source(); try_integer() local
732 auto source = begin_source(); try_ident() local
762 auto source = begin_source(); try_punctuation() local
920 check_keyword(const Source& source, const std::string& str) check_keyword() argument
[all...]
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetASCII.java40 protected CoderResult decodeLoop(ByteBuffer source, CharBuffer target, IntBuffer offsets, in decodeLoop() argument
42 if (!source.hasRemaining()) { in decodeLoop()
52 int oldSource = source.position(); in decodeLoop()
55 if (source.hasArray() && target.hasArray()) { in decodeLoop()
62 byte[] sourceArray = source.array(); in decodeLoop()
63 int sourceOffset = source.arrayOffset(); in decodeLoop()
65 int sourceLength = source.limit() - oldSource; in decodeLoop()
80 cr = decodeLoopCoreOptimized(source, target, sourceArray, targetArray, sourceIndex, offset, limit); in decodeLoop()
83 source.position(oldSource + sourceLength); in decodeLoop()
87 source in decodeLoop()
111 decodeLoopCoreOptimized(ByteBuffer source, CharBuffer target, byte[] sourceArray, char[] targetArray, int oldSource, int offset, int limit) decodeLoopCoreOptimized() argument
135 decodeLoopCoreUnoptimized(ByteBuffer source, CharBuffer target) decodeLoopCoreUnoptimized() argument
190 encodeLoop(CharBuffer source, ByteBuffer target, IntBuffer offsets, boolean flush) encodeLoop() argument
271 encodeLoopCoreOptimized(CharBuffer source, ByteBuffer target, char[] sourceArray, byte[] targetArray, int oldSource, int offset, int limit, boolean flush) encodeLoopCoreOptimized() argument
296 encodeLoopCoreUnoptimized(CharBuffer source, ByteBuffer target, boolean flush) encodeLoopCoreUnoptimized() argument
324 encodeMalformedOrUnmappable(CharBuffer source, int ch, boolean flush) encodeMalformedOrUnmappable() argument
334 encodeTrail(CharBuffer source, char lead, boolean flush) encodeTrail() argument
[all...]
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dresolver_validation.cc161 a->type ? a->type->source : a->source); in ValidateAtomic()
172 AddError("storage texture missing access control", t->source); in ValidateStorageTexture()
176 t->source); in ValidateStorageTexture()
182 t->source); in ValidateStorageTexture()
190 t->source); in ValidateStorageTexture()
209 var->source); in ValidateVariableConstructorOrCast()
227 var->source); in ValidateVariableConstructorOrCast()
266 // can be copied verbatim back into source in ValidateStorageClassLayout()
358 m->Declaration()->source); in ValidateStorageClassLayout()
626 auto source = decl->type ? decl->type->source : decl->source; ValidateAtomicVariable() local
1827 ValidateVector(const sem::Vector* ty, const Source& source) ValidateVector() argument
1836 ValidateMatrix(const sem::Matrix* ty, const Source& source) ValidateMatrix() argument
2037 ValidateArray(const sem::Array* arr, const Source& source) ValidateArray() argument
2056 ValidateArrayStrideDecoration(const ast::StrideDecoration* deco, uint32_t el_size, uint32_t el_align, const Source& source) ValidateArrayStrideDecoration() argument
2206 ValidateLocationDecoration( const ast::LocationDecoration* location, const sem::Type* type, std::unordered_set<uint32_t>& locations, const Source& source, const bool is_input) ValidateLocationDecoration() argument
[all...]

Completed in 17 milliseconds

12345678910>>...141