Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 25 of 2280) sorted by relevance

12345678910>>...92

/third_party/node/test/fixtures/wpt/FileAPI/blob/
DBlob-slice.any.js66 [{start: -6, contents: "STRING"}, property
67 {start: -12, contents: "PASSSTRING"}, property
68 {start: 4, contents: "STRING"}, property
69 {start: 12, contents: ""}, property
70 {start: 0, end: -6, contents: "PASS"}, property
71 {start: 0, end: -12, contents: ""}, property
72 {start: 0, end: 4, contents: "PASS"}, property
73 {start: 0, end: 12, contents: "PASSSTRING"}, property
74 {start: 7, end: 4, contents: ""}] property
80 [{start: 0, end: 9, contents: "foobarbaz"}, property
[all …]
/third_party/openssl/util/
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 = shift;
[all …]
/third_party/node/deps/openssl/openssl/util/
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 = shift;
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_resource.py28 contents = set(resources.contents(self.data))
34 contents.discard('__pycache__')
36 contents,
59 file=data01, path=data01.__file__, contents=['A', 'B', 'C']
61 self.assertEqual(set(resources.contents(package)), {'A', 'B', 'C'})
65 file=data01, path=data01.__file__, contents=['A', 'B', 'C', 'D/E', 'D/F']
71 file=data01, path=data01.__file__, contents=['A', 'B', 'C', 'D/E', 'D/F']
77 file=data01, path=data01.__file__, contents=['A', 'B', 'C', 'D/E', 'D/F']
89 file=data01, path=data01.__file__, contents=['A', 'B', 'C']
115 set(resources.contents(submodule)), {'__init__.py', 'binary.file'}
[all …]
/third_party/node/deps/zlib/google/
Dzip_reader_unittest.cc426 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"; in TEST_F() local
462 EXPECT_TRUE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
463 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
477 std::string contents = "dummy"; in TEST_F() local
478 EXPECT_FALSE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
[all …]
Dzip_unittest.cc448 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()
471 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
489 std::string contents; in TEST_F() local
491 &contents)); in TEST_F()
[all …]
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_reader_unittest.cc426 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"; in TEST_F() local
462 EXPECT_TRUE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
463 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
477 std::string contents = "dummy"; in TEST_F() local
478 EXPECT_FALSE(reader.ExtractCurrentEntryToString(&contents)); in TEST_F()
[all …]
Dzip_unittest.cc448 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()
471 EXPECT_EQ("This is not encrypted.\n", contents); in TEST_F()
489 std::string contents; in TEST_F() local
491 &contents)); in TEST_F()
[all …]
/third_party/node/deps/v8/third_party/test262-harness/test/
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, name)
[all …]
/third_party/typescript/src/loggedIO/
DloggedIO.ts3 contents?: string; property
27 contents?: string;
34 contents?: string;
134 file.contents = host.readFile(ts.combinePaths(baseName, file.contentsPath));
140 file.contents = host.readFile(ts.combinePaths(baseName, file.contentsPath));
149 …result.contents = (result.bom || "") + host.readFile(ts.combinePaths(baseName, result.contentsPath…
168 if (file.contents !== undefined) {
170 writeFile(ts.combinePaths(baseTestName, file.contentsPath), file.contents);
171 delete file.contents;
177 if (file.contents !== undefined) {
[all …]
/third_party/vulkan-loader/tests/framework/
Dtest_util.cpp253 contents += in.contents; in operator +=()
257 contents += in; in operator +=()
261 contents += std::string{in}; in operator +=()
265 …if (contents.back() != path_separator && in.contents.front() != path_separator) contents += path_s… in operator /=()
266 contents += in.contents; in operator /=()
270 … if (contents.back() != path_separator && in.front() != path_separator) contents += path_separator; in operator /=()
271 contents += in; in operator /=()
276 …if (contents.back() != path_separator && in_str.front() != path_separator) contents += path_separa… in operator /=()
277 contents += in_str; in operator /=()
281 path new_path = contents; in operator +()
[all …]
/third_party/cef/tests/ceftests/
Dstream_unittest.cc11 const std::string& contents) { in VerifyStreamReadBehavior() argument
12 int contentSize = static_cast<int>(contents.size()); in VerifyStreamReadBehavior()
13 const char* contentStr = contents.c_str(); in VerifyStreamReadBehavior()
44 const std::string& contents) { in VerifyStreamWriteBehavior() argument
45 int contentSize = static_cast<int>(contents.size()); in VerifyStreamWriteBehavior()
46 const char* contentStr = contents.c_str(); in VerifyStreamWriteBehavior()
74 std::string contents = "This is my test\ncontents for the file"; in TEST() local
84 ASSERT_EQ((size_t)1, fwrite(contents.c_str(), contents.size(), 1, f)); in TEST()
92 VerifyStreamReadBehavior(stream, contents); in TEST()
106 std::string contents = "This is my test\ncontents for the file"; in TEST() local
[all …]
/third_party/gstreamer/gstreamer/gst/parse/
Dgen_lex.py22 contents = open(cfile).read() variable
23 if not 'priv_gst_parse_yyget_column' in contents:
24 contents = parse_snippet + contents variable
25 contents = prefix + contents variable
27 open(cfile, 'w').write(contents)
Dgen_lex.py.in22 contents = open(cfile).read() variable
23 if not 'priv_gst_parse_yyget_column' in contents:
24 contents = parse_snippet + contents variable
25 contents = prefix + contents variable
27 open(cfile, 'w').write(contents)
/third_party/typescript/tests/baselines/reference/
DtsxAttributesHasInferrableIndex.types9 function createElement(name: string, attributes: Attributes | undefined, ...contents: string[]) {
10 >createElement : (name: string, attributes: Attributes | undefined, ...contents: string[]) => string
13 >contents : string[]
23 function Button(attributes: Attributes | undefined, contents: string[]) {
24 >Button : (attributes: Attributes | undefined, contents: string[]) => string
26 >contents : string[]
34 >Button : (attributes: Attributes | undefined, contents: string[]) => string
35 >Button : (attributes: Attributes | undefined, contents: string[]) => string
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp56 const VkSubpassContents contents, in beginRenderPass() argument
70 vk.cmdBeginRenderPass(commandBuffer, &renderPassBeginInfo, contents); in beginRenderPass()
79 const VkSubpassContents contents) in beginRenderPass() argument
81 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents); in beginRenderPass()
90 const VkSubpassContents contents) in beginRenderPass() argument
94 beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, clearValue, contents); in beginRenderPass()
104 const VkSubpassContents contents) in beginRenderPass() argument
108 …beginRenderPass(vk, commandBuffer, renderPass, framebuffer, renderArea, 1u, &clearValue, contents,… in beginRenderPass()
120 const VkSubpassContents contents) in beginRenderPass() argument
128 …enderPass, framebuffer, renderArea, DE_LENGTH_OF_ARRAY(clearValues), clearValues, contents, pNext); in beginRenderPass()
[all …]
/third_party/cups-filters/filter/pdftopdf/
Dqpdf_xobject.cc16 CombineFromContents_Provider(const std::vector<QPDFObjectHandle> &contents);
20 std::vector<QPDFObjectHandle> contents; member in CombineFromContents_Provider
23 …eFromContents_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 …ph=PointerHolder<QPDFObjectHandle::StreamDataProvider>(new CombineFromContents_Provider(contents)); in makeXObject()
/third_party/mesa3d/src/compiler/glsl/glcpp/tests/
Dglcpp_test.py51 def parse_test_file(contents, nl_format): argument
56 for l in contents.decode('utf-8').split(nl_format):
62 def test_output(glcpp, contents, expfile, nl_format='\n'): argument
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.replace('\n', replace).encode('utf-8')
139 args.glcpp, contents, testfile + '.expected', nl_format=replace)
/third_party/spirv-tools/test/fuzzers/
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/gn/src/gn/
Dc_include_iterator.cc80 std::string_view contents; in ExtractInclude() local
83 contents = TrimLeadingWhitespace(trimmed.substr(kIncludeLen)); in ExtractInclude()
86 contents = TrimLeadingWhitespace(trimmed.substr(kImportLen)); in ExtractInclude()
88 if (contents.empty()) in ExtractInclude()
93 if (contents[0] == '"') { in ExtractInclude()
96 } else if (contents[0] == '<') { in ExtractInclude()
104 size_t terminator_index = contents.find(terminating_char, 1); in ExtractInclude()
108 *path = contents.substr(1, terminator_index - 1); in ExtractInclude()
124 : input_file_(input), file_(input->contents()) {} in CIncludeIterator()
140 include->contents = include_contents; in GetNextIncludeString()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
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()
311 return contents.length(); in lineDelta()
338 if (contents.length() == 0) break; in keyTyped()
353 if (contents.length() == 0) break; in keyTyped()
358 if (end > contents.length()) { in keyTyped()
407 newSelection.pin(contents); in select()
456 select(tempSelection.set(selection).pin(contents)); in setText()
[all …]
/third_party/glslang/gtests/
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() local
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()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
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()
/third_party/node/deps/npm/test/lib/commands/
Dconfig.js144 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
145 const rc = ini.parse(contents)
160 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
161 const rc = ini.parse(contents)
176 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
177 const rc = ini.parse(contents)
191 const contents = await fs.readFile(join(global, 'npmrc'), { encoding: 'utf8' })
192 const rc = ini.parse(contents)
269 const contents = await fs.readFile(join(home, '.npmrc'), { encoding: 'utf8' })
270 const rc = ini.parse(contents)
[all …]
/third_party/python/Tools/pynche/
DTypeinViewer.py91 contents = ew.get()
93 if contents and contents[0] in 'xX' and self.__hexp.get():
94 contents = '0' + contents
98 v = int(contents, 16)
100 v = int(contents)
111 contents = contents[:i-1] + contents[i:]
115 contents = hex(v)[2:]
117 contents = int(v)
119 ew.insert(0, contents)

12345678910>>...92