Home
last modified time | relevance | path

Searched refs:contents (Results 1 - 25 of 532) sorted by relevance

12345678910>>...22

/third_party/node/test/fixtures/wpt/FileAPI/blob/
H A DBlob-slice.any.js66 [{start: -6, contents: "STRING"},
67 {start: -12, contents: "PASSSTRING"},
68 {start: 4, contents: "STRING"},
69 {start: 12, contents: ""},
70 {start: 0, end: -6, contents: "PASS"},
71 {start: 0, end: -12, contents: ""},
72 {start: 0, end: 4, contents: "PASS"},
73 {start: 0, end: 12, contents: "PASSSTRING"},
74 {start: 7, end: 4, contents: ""}]
80 [{start: 0, end: 9, contents
[all...]
/third_party/glslang/
H A Dgen_extension_headers.py52 contents = ''
53 contents += '\n'
54 contents += 'std::string getIntrinsic(const char* const* shaders, int n) {\n'
55 contents += '\tstd::string shaderString = "";\n';
57 contents += '\tfor (int i = 0; i < n; i++) {\n'
60 contents += '\t\tif (strstr(shaders[i], "%s") != nullptr) {\n' % (symbol_name)
61 contents += '\t\t shaderString.append(%s_GLSL);\n' % (symbol_name)
62 contents += '\t\t}\n'
64 contents += '\t}\n'
65 contents
[all...]
/third_party/node/deps/openssl/openssl/util/
H A Dfind-doc-nits283 my $contents = shift;
286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms;
323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
426 my $contents = shift;
430 return unless $contents =~ /=head1 $section/
431 and $contents =~ /=head1 $before/;
433 if $contents =~ /=head1 $before.*=head1 $section/ms;
442 my $contents = shift;
446 foreach my $line ( split /\n+/, $contents ) {
535 my $contents
[all...]
/third_party/openssl/util/
H A Dfind-doc-nits283 my $contents = shift;
286 return unless $contents =~ /=head1 NAME(.*)=head1 SYNOPSIS/ms;
323 return unless $contents =~ /=head1 SYNOPSIS(.*)=head1 DESCRIPTION/ms;
426 my $contents = shift;
430 return unless $contents =~ /=head1 $section/
431 and $contents =~ /=head1 $before/;
433 if $contents =~ /=head1 $before.*=head1 $section/ms;
442 my $contents = shift;
446 foreach my $line ( split /\n+/, $contents ) {
535 my $contents
[all...]
/third_party/node/deps/v8/third_party/test262-harness/test/
H A Dtest_parseTestRecord.py19 contents = f.read()
20 return contents
30 contents = slurpFile(name)
31 record = parseTestRecord(contents, name)
100 contents = slurpFile(name)
101 self.assertTrue('---' in contents)
102 match = matchParts(contents, name)
137 contents = slurpFile(name)
138 self.assertTrue('---' in contents)
139 match = matchParts(contents, nam
[all...]
H A Dtest_common.py19 contents = f.read()
20 return contents
30 contents = slurpFile(name)
31 record = convertDocString(contents)
49 contents = slurpFile(name)
50 record = convertDocString(contents)
/third_party/node/deps/v8/third_party/zlib/google/
H A Dzip_reader_unittest.cc239 // Iterate through the contents in the test ZIP archive, and compare that the
240 // contents collected from the ZipReader matches the expected contents.
261 // contents, and compare that they match the expected contents.
426 std::string contents = "dummy"; in TEST_F() local
427 EXPECT_TRUE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
428 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
442 std::string contents = "dummy"; in TEST_F() local
443 EXPECT_FALSE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
461 std::string contents = "dummy"; TEST_F() local
477 std::string contents = "dummy"; TEST_F() local
489 std::string contents = "dummy"; TEST_F() local
597 std::string contents; TEST_F() local
629 std::string contents; TEST_F() local
660 std::string contents; TEST_F() local
704 std::string contents; TEST_F() local
740 std::string contents; TEST_F() local
872 std::string contents = "dummy"; TEST_F() local
[all...]
H A Dzip_unittest.cc293 // It's a file, check its contents are what we zipped. in TestUnzipFile()
302 << unzipped_entry_path << "' have different contents"; in TestUnzipFile()
374 // Hard-coded contents of a known zip file.
448 std::string contents; in TEST_F() local
450 &contents)); in TEST_F()
451 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
454 test_dir_.AppendASCII("Encrypted ZipCrypto.txt"), &contents)); in TEST_F()
455 EXPECT_EQ("This is encrypted with ZipCrypto.\n", contents); in TEST_F()
468 std::string contents; in TEST_F() local
470 &contents)); in TEST_F()
489 std::string contents; TEST_F() local
505 std::string contents; TEST_F() local
547 std::string contents; TEST_F() local
566 std::string contents; TEST_F() local
585 std::string contents; TEST_F() local
661 std::string contents; TEST_F() local
682 std::string contents; TEST_F() local
712 std::string contents; TEST_F() local
964 std::string contents; TEST_F() local
995 std::string contents; TEST_F() local
[all...]
/third_party/node/deps/zlib/google/
H A Dzip_reader_unittest.cc241 // Iterate through the contents in the test ZIP archive, and compare that the
242 // contents collected from the ZipReader matches the expected contents.
263 // contents, and compare that they match the expected contents.
412 std::string contents = "dummy"; in TEST_F() local
413 EXPECT_TRUE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
414 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
428 std::string contents = "dummy"; in TEST_F() local
429 EXPECT_FALSE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
447 std::string contents = "dummy"; TEST_F() local
463 std::string contents = "dummy"; TEST_F() local
475 std::string contents = "dummy"; TEST_F() local
583 std::string contents; TEST_F() local
615 std::string contents; TEST_F() local
646 std::string contents; TEST_F() local
690 std::string contents; TEST_F() local
726 std::string contents; TEST_F() local
858 std::string contents = "dummy"; TEST_F() local
[all...]
H A Dzip_unittest.cc293 // It's a file, check its contents are what we zipped. in TestUnzipFile()
302 << unzipped_entry_path << "' have different contents"; in TestUnzipFile()
374 // Hard-coded contents of a known zip file.
448 std::string contents; in TEST_F() local
450 &contents)); in TEST_F()
451 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
454 test_dir_.AppendASCII("Encrypted ZipCrypto.txt"), &contents)); in TEST_F()
455 EXPECT_EQ("This is encrypted with ZipCrypto.\n", contents); in TEST_F()
468 std::string contents; in TEST_F() local
470 &contents)); in TEST_F()
489 std::string contents; TEST_F() local
505 std::string contents; TEST_F() local
547 std::string contents; TEST_F() local
566 std::string contents; TEST_F() local
585 std::string contents; TEST_F() local
661 std::string contents; TEST_F() local
682 std::string contents; TEST_F() local
712 std::string contents; TEST_F() local
964 std::string contents; TEST_F() local
995 std::string contents; TEST_F() local
[all...]
/third_party/vulkan-loader/tests/framework/
H A Dtest_util.cpp245 contents += in.contents; in operator +=()
249 contents += in; in operator +=()
253 contents += std::string{in}; in operator +=()
257 if (contents.back() != path_separator && in.contents.front() != path_separator) contents += path_separator; in operator /=()
258 contents += in.contents; in operator /=()
262 if (contents in operator /=()
450 write_manifest(std::string const& name, std::string const& contents) write_manifest() argument
[all...]
/third_party/gn/src/gn/
H A Dc_include_iterator.cc79 std::string_view contents; in ExtractInclude() local
81 contents = TrimLeadingWhitespace(trimmed.substr(kIncludeLen)); in ExtractInclude()
83 contents = TrimLeadingWhitespace(trimmed.substr(kImportLen)); in ExtractInclude()
85 if (contents.empty()) in ExtractInclude()
90 if (contents[0] == '"') { in ExtractInclude()
93 } else if (contents[0] == '<') { in ExtractInclude()
100 // Count everything to next "/> as the contents. in ExtractInclude()
101 size_t terminator_index = contents.find(terminating_char, 1); in ExtractInclude()
105 *path = contents.substr(1, terminator_index - 1); in ExtractInclude()
121 : input_file_(input), file_(input->contents()) {} in CIncludeIterator()
[all...]
H A Dc_include_iterator_unittest.cc49 EXPECT_EQ("foo/bar.h", include.contents); in TEST()
55 EXPECT_EQ("stdio.h", include.contents); in TEST()
61 EXPECT_EQ("foo/baz.h", include.contents); in TEST()
67 EXPECT_EQ("la/deda.h", include.contents); in TEST()
75 EXPECT_EQ("weird_mac_import.h", include.contents); in TEST()
97 EXPECT_TRUE(include.contents.empty()); in TEST()
118 EXPECT_EQ("foo/bar.h", include.contents); in TEST()
145 EXPECT_EQ(include_str, std::string(include.contents)); in TEST()
169 EXPECT_EQ("foo/bar.h", include.contents); in TEST()
183 EXPECT_EQ("foo/bar.h", include.contents); in TEST()
[all...]
H A Dmetadata_walk_unittest.cc19 one.metadata().contents().insert( in TEST()
24 one.metadata().contents().insert( in TEST()
32 two.metadata().contents().insert( in TEST()
37 two.metadata().contents().insert( in TEST()
77 one.metadata().contents().insert( in TEST()
82 one.metadata().contents().insert( in TEST()
88 two.metadata().contents().insert( in TEST()
126 one.metadata().contents().insert( in TEST()
132 one.metadata().contents().insert( in TEST()
138 two.metadata().contents() in TEST()
[all...]
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
H A Dglcpp_test.py51 def parse_test_file(contents, nl_format):
56 for l in contents.decode('utf-8').split(nl_format):
62 def test_output(glcpp, contents, expfile, nl_format='\n'):
64 extra_args = parse_test_file(contents, nl_format)
71 actual, _ = proc.communicate(contents)
105 contents = f.read()
106 valid, diff = test_output(args.glcpp, contents, testfile + '.expected')
136 contents = f.read()
137 contents = contents
[all...]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkCmdUtil.cpp89 const VkSubpassContents contents, in beginRenderPass()
103 vk.cmdBeginRenderPass(commandBuffer, &renderPassBeginInfo, contents); in beginRenderPass()
112 const VkSubpassContents contents) in beginRenderPass()
114 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents); in beginRenderPass()
123 const VkSubpassContents contents) in beginRenderPass()
127 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, clearValue, contents); in beginRenderPass()
137 const VkSubpassContents contents) in beginRenderPass()
141 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents, pNext); in beginRenderPass()
153 const VkSubpassContents contents) in beginRenderPass()
161 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, DE_LENGTH_OF_ARRAY(clearValues), clearValues, contents, pNex in beginRenderPass()
82 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const deUint32 clearValueCount, const VkClearValue* clearValues, const VkSubpassContents contents, const void* pNext) beginRenderPass() argument
106 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const VkClearValue& clearValue, const VkSubpassContents contents) beginRenderPass() argument
117 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const VkSubpassContents contents) beginRenderPass() argument
130 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const void* pNext, const VkSubpassContents contents) beginRenderPass() argument
144 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const float clearDepth, const deUint32 clearStencil, const void* pNext, const VkSubpassContents contents) beginRenderPass() argument
164 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::UVec4& clearColor, const VkSubpassContents contents) beginRenderPass() argument
177 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const VkSubpassContents contents) beginRenderPass() argument
198 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const float clearDepth, const deUint32 clearStencil, const VkSubpassContents contents) beginRenderPass() argument
[all...]
/third_party/spirv-tools/test/fuzzers/
H A Dspvtools_as_fuzzer.cpp35 std::vector<char> contents; in LLVMFuzzerTestOneInput() local
36 contents.resize(size); in LLVMFuzzerTestOneInput()
37 memcpy(contents.data(), data, size); in LLVMFuzzerTestOneInput()
41 spvTextToBinaryWithOptions(context, contents.data(), contents.size(), in LLVMFuzzerTestOneInput()
55 spvTextToBinaryWithOptions(context, contents.data(), contents.size(), in LLVMFuzzerTestOneInput()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
H A DDumbTextComponent.java52 private String contents = ""; field in DumbTextComponent
259 if (contents.length() == 0) break; in keyPressed()
264 if (end > contents.length()) { in keyPressed()
277 contents.substring(selection.getStart(), selection.getEnd())); in copy()
297 * LIU: Given an offset into contents, moves up or down by lines,
299 * @param off the offset into contents
301 * @return the new offset into contents
311 return contents.length(); in lineDelta()
338 if (contents.length() == 0) break; in keyTyped()
353 if (contents in keyTyped()
[all...]
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dserializable_test.cc20 explicit SimpleExample(const std::vector<uint8_t>& contents) in SimpleExample() argument
21 : contents_(contents) {} in SimpleExample()
33 std::vector<uint8_t> contents = {1, 2, 3}; in TEST() local
34 SimpleExample foo(contents); in TEST()
35 foo.AppendSerialized(&contents); // Yields contents by appending. in TEST()
36 EXPECT_THAT(contents, testing::ElementsAre(1, 2, 3, 1, 2, 3)); in TEST()
37 // Yields contents by returning. in TEST()
/third_party/cups-filters/filter/pdftopdf/
H A Dqpdf_xobject.cc16 CombineFromContents_Provider(const std::vector<QPDFObjectHandle> &contents);
20 std::vector<QPDFObjectHandle> contents; member in CombineFromContents_Provider
23 CombineFromContents_Provider::CombineFromContents_Provider(const std::vector<QPDFObjectHandle> &contents) in CombineFromContents_Provider() argument
24 : contents(contents) in CombineFromContents_Provider()
31 const int clen=contents.size(); in provideStreamData()
33 contents[iA].pipeStreamData(&concat, true, false, false); in provideStreamData()
137 std::vector<QPDFObjectHandle> contents=page.getPageContents(); // (will assertPageObject) in makeXObject() local
139 auto ph=PointerHolder<QPDFObjectHandle::StreamDataProvider>(new CombineFromContents_Provider(contents)); in makeXObject()
/third_party/node/deps/v8/tools/
H A Dv8_presubmit.py143 contents = file_handle.read()
152 if decode(output) != contents:
559 def ProcessContents(self, name, contents):
563 if '\t' in contents:
569 if not COPYRIGHT_HEADER_PATTERN.search(contents):
572 if ' \n' in contents or contents.endswith(' '):
575 parts = contents.split(' \n')
576 if not contents.endswith(' '):
587 if not contents
[all...]
/third_party/glslang/gtests/
H A DTestFixture.cpp128 std::string contents; in ReadFile() local
130 contents.reserve((std::string::size_type)fstream.tellg()); in ReadFile()
132 contents.assign((std::istreambuf_iterator<char>(fstream)), in ReadFile()
134 return std::make_pair(true, contents); in ReadFile()
146 std::vector<std::uint32_t> contents; in ReadSpvBinaryFile()
150 contents.reserve(size_t(fstream.tellg()) / sizeof(std::uint32_t)); in ReadSpvBinaryFile()
159 contents.push_back(inWord); in ReadSpvBinaryFile()
162 return std::make_pair(true, contents); // hopefully, c++11 move semantics optimizes the copy away. in ReadSpvBinaryFile()
165 bool WriteFile(const std::string& path, const std::string& contents) in WriteFile() argument
169 fstream << contents; in WriteFile()
[all...]
/third_party/skia/third_party/externals/zlib/google/
H A Dzip_reader_unittest.cc241 // Iterate through the contents in the test zip file, and compare that the
242 // contents collected from the zip reader matches the expected contents.
259 // Open the test zip file from a file descriptor, iterate through its contents,
260 // and compare that they match the expected contents.
489 // sizes from 0 to 7 bytes respectively, being the contents of each file a in TEST_F()
495 std::string contents; in TEST_F() local
507 EXPECT_FALSE(reader.ExtractCurrentEntryToString(i - 1, &contents)); in TEST_F()
512 EXPECT_TRUE(reader.ExtractCurrentEntryToString(i, &contents)); in TEST_F()
513 EXPECT_EQ(base::StringPiece("0123456", i).as_string(), contents); in TEST_F()
531 std::string contents; TEST_F() local
[all...]
/third_party/spirv-tools/tools/diff/
H A Ddiff.cpp46 The contents of the SPIR-V modules are analyzed and a diff is produced showing a in print_usage()
84 std::vector<char> contents; in load_module() local
85 if (!ReadTextFile<char>(path, &contents)) return {}; in load_module()
89 std::string(contents.begin(), contents.end()), in load_module()
94 std::vector<uint32_t> contents; in load_module() local
95 if (!ReadBinaryFile<uint32_t>(path, &contents)) return {}; in load_module()
99 contents.data(), contents.size()); in load_module()
/third_party/typescript/tests/baselines/reference/
H A DtsxAttributesHasInferrableIndex.js6 function createElement(name: string, attributes: Attributes | undefined, ...contents: string[]) {
13 function Button(attributes: Attributes | undefined, contents: string[]) {
22 var contents = [];
24 contents[_i - 2] = arguments[_i];
28 function Button(attributes, contents) {

Completed in 14 milliseconds

12345678910>>...22