Home
last modified time | relevance | path

Searched +full:open +full:- +full:source (Results 1 – 25 of 1139) sorted by relevance

12345678910>>...46

/third_party/icu/
DOAT.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd.
7 http://www.apache.org/licenses/LICENSE-2.0
17 -->
18 <!-- OAT(OSS Audit Tool) configuration guide:
19 basedir: Root dir, the basedir + project path is the real source file location.
28 5. task project: Projects to be checked, the path field define the source root dir of the project.
37 "license" is used to check source license header in the specified path;
38 "copyright" is used to check source copyright header in the specified path;
39 … "import" is used to check source dependency in the specified path, such as import ... ,include ...
[all …]
/third_party/libphonenumber/
DOAT.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2021 Huawei Device Co., Ltd.
8 http://www.apache.org/licenses/LICENSE-2.0
18 -->
19 <!-- OAT(OSS Audit Tool) configuration guide:
20 basedir: Root dir, the basedir + project path is the real source file location.
29 5. task project: Projects to be checked, the path field define the source root dir of the project.
38 "license" is used to check source license header in the specified path;
39 "copyright" is used to check source copyright header in the specified path;
40 … "import" is used to check source dependency in the specified path, such as import ... ,include ...
[all …]
/third_party/lwip/contrib/examples/httpd/examples_fs/
Dssi.shtml2 <head><title>lwIP - A Lightweight TCP/IP Stack</title></head>
10 <h1>lwIP - A Lightweight TCP/IP Stack</h1>
11 <h1><!--#HellWorl--></h1>
20 "<!--#counter-->"
24 multiple parts: "<!--#MultPart-->"
28 <!--#CgiParam-->
31 lwIP is an open source implementation of the TCP/IP
36 distributed world-wide. Since it's release, lwIP has
43 lwIP is an open source implementation of the TCP/IP
48 distributed world-wide. Since it's release, lwIP has
[all …]
/third_party/rust/rust/tests/rustdoc-gui/
Dsidebar-source-code-display.goml3 go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
5 assert-false: "#src-sidebar-toggle"
6 wait-for-css: (".sidebar", {"display": "none"})
11 wait-for: "#src-sidebar-toggle"
12 assert-css: ("#src-sidebar-toggle", {"visibility": "visible"})
13 assert-css: (".sidebar > *:not(#src-sidebar-toggle)", {"visibility": "hidden"})
15 click: "#src-sidebar-toggle"
16 wait-for-css: ("#src-sidebar-toggle", {"visibility": "visible"})
18 // We now check that opening the sidebar and clicking a link will leave it open.
22 wait-for-css: (".sidebar", {"width": "300px"})
[all …]
Dsource-code-page.goml1 // Checks that the interactions with the source code pages are working as expected.
2 go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
3 show-text: true
5 click: ".src-line-numbers > a:nth-child(4)" // This is the anchor for line 4.
7 assert-document-property: ({"URL": "lib.rs.html#4"}, ENDS_WITH)
8 assert-attribute: ("//*[@id='4']", {"class": "line-highlighted"})
10 assert-css: ("//*[@id='4']", {"border-right-width": "0px"})
12 assert-attribute: ("//*[@id='4']", {"class": "line-highlighted"})
13 assert-css: ("//*[@id='4']", {"border-right-width": "0px"})
15 go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html#4-6"
[all …]
Dsidebar-source-code.goml1 // The goal of this test is to ensure that the sidebar is working as expected in the source
3 go-to: "file://" + |DOC_PATH| + "/src/test_docs/lib.rs.html"
4 show-text: true
7 define-function: (
8 "check-colors",
11 set-local-storage: {
12 "rustdoc-theme": |theme|,
13 "rustdoc-use-system-theme": "false",
17 assert-css: (".source .sidebar", {
19 "background-color": |background_color|
[all …]
/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py27 """Should have no issue importing a source module [basic]. And if there is
126 with open(mapping['_temp'], 'w', encoding='utf-8') as file:
147 with open(mapping[name], 'w', encoding='utf-8') as file:
164 with open(mapping['_temp'], 'w', encoding='utf-8') as file:
177 with open(file_path, 'w', encoding='utf-8') as file:
199 source = mapping['_temp']
200 compiled = self.util.cache_from_source(source)
201 with open(source, 'w', encoding='utf-8') as f:
204 os.utime(source, (2 ** 33 - 5, 2 ** 33 - 5))
243 source = mapping['_temp']
[all …]
/third_party/python/Lib/test/
Dtest_pipes.py20 # tr a-z A-Z is not portable, so make the ranges explicit
33 with t.open(TESTFN, 'w') as f:
35 with open(TESTFN) as f:
41 with open(TESTFN, 'w') as f:
46 with open(TESTFN2) as f:
52 with open(TESTFN, 'w') as f:
56 f = t.open(TESTFN, 'r')
65 with open(TESTFN, 'w') as f:
67 with open(TESTFN2, 'w') as f:
71 with open(TESTFN2) as f:
[all …]
Dtest_winconsoleio.py26 "negative file descriptor", ConIO, -1)
30 # Windows 10: "Cannot open non-console file"
31 # Earlier: "Cannot open console output buffer for reading"
33 "Cannot open (console|non-console file)", ConIO, fd)
38 # cannot open console because it's not a real console
50 # cannot open console because it's not a real console
62 # cannot open console because it's not a real console
95 # bpo-45354: Windows 11 changed MS-DOS device name handling
97 f = open('C:/con', 'rb', buffering=0)
104 f = open(r'\\.\conin$', 'rb', buffering=0)
[all …]
Dtest_linecache.py55 self.file_byte_string = ''.join(self.file_list).encode('utf-8')
59 with tokenize.open(self.file_name) as fp:
97 file_byte_string = b'# coding=utf-8\n\x80abc'
107 self.assertEqual(getline(FILENAME, -1), EMPTY)
119 with open(filename, encoding='utf-8') as file:
129 with open(os_helper.TESTFN, "w", encoding='utf-8') as fp:
153 # Create a source file and cache its contents
156 with open(source_name, 'w', encoding='utf-8') as source:
157 source.write(SOURCE_1)
162 with open(source_name, encoding='utf-8') as source:
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dtest_check_spec_links.py3 # Copyright (c) 2018-2019 Collabora, Ltd.
5 # SPDX-License-Identifier: Apache-2.0
17 # API-specific constants
53 … """Fixture - add an arg named ckr to your test function to automatically get one passed to you."""
116 # Should error - this ought to be code:uint32_t
134 # double-underscores make italicized placeholders
135 # (triple are double-underscores delimited by underscores...)
196 # TODO can we auto-correct this to add the backticks?
205 assert(ckr.check("[open,desc='',type='',xrefs='']").numErrors() == 1)
207 assert(ckr.check("[open,refpage='',type='',xrefs='']").numErrors() == 1)
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_file_util.py29 self.source = os.path.join(tmp_dir, 'f1')
38 f = open(self.source, 'w')
44 move_file(self.source, self.target, verbose=0)
49 move_file(self.target, self.source, verbose=0)
51 move_file(self.source, self.target, verbose=1)
52 wanted = ['moving %s -> %s' % (self.source, self.target)]
56 move_file(self.target, self.source, verbose=0)
61 move_file(self.source, self.target_dir, verbose=1)
62 wanted = ['moving %s -> %s' % (self.source, self.target_dir)]
69 with open(self.source, 'w') as fobj:
[all …]
/third_party/python/Tools/iobench/
Diobench.py1 # -*- coding: utf-8 -*-
25 return open(fn, mode, encoding=encoding or TEXT_ENCODING)
29 return open(fn, mode)
41 return (("%s-%s-%s.txt" % (name, TEXT_ENCODING, NEWLINES), size)
106 for i in xrange(0, size - 1):
116 for i in xrange(0, size - 1, 1000):
138 def write_bytewise(f, source): argument
140 for i in xrange(0, len(source)):
141 f.write(source[i:i+1])
145 def write_small_chunks(f, source): argument
[all …]
/third_party/openSLES/
DOAT.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Copyright (c) 2022 Huawei Device Co., Ltd.
8 http://www.apache.org/licenses/LICENSE-2.0
18 -->
19 <!-- OAT(OSS Audit Tool) configuration guide:
20 basedir: Root dir, the basedir + project path is the real source file location.
29 5. task project: Projects to be checked, the path field define the source root dir of the project.
38 "license" is used to check source license header in the specified path;
39 "copyright" is used to check source copyright header in the specified path;
40 … "import" is used to check source dependency in the specified path, such as import ... ,include ...
[all …]
/third_party/openssl/external/perl/Text-Template-1.56/t/
Dtaint.t1 #!perl -T
2 # Tests for taint-mode features
13 …or all versions up to at least 0.2308) is currently bugged under MSWin32/taint mode [as of 2018-09]
15 …# ref: [File-Temp: Fails under -T, Windows 7, Strawberry Perl 5.12.1](https://rt.cpan.org/Public/B…
20 my $tmpfile = File::Temp->new;
21 my $file = $tmpfile->filename;
32 open my $fh, '>', $file or die "Couldn't write temporary file $file: $!";
37 my $obj = Text::Template->new(@_);
38 eval { $obj->fill_in() };
48 my $obj = Text::Template->new(@_);
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/
DCONTRIBUTIONS2 ---------------------------
4 This software is distributed under a permissive open source license to
5 allow it to be used in any projects, whether open source or proprietary.
13 inclusion of Signed-off-by tag in the contributions at the end of the
20 --------------------------------------------------------
26 Signed-off-by: Your Name <your@email.example.org>
57 format-patch. The patch can then be sent, e.g., with git send-email.
61 ------------------------------------------
64 open source license indicated in the file" means that the contribution
74 open source license indicated in the file" means that the contribution
[all …]
/third_party/wpa_supplicant/
DCONTRIBUTIONS2 ---------------------------
4 This software is distributed under a permissive open source license to
5 allow it to be used in any projects, whether open source or proprietary.
13 inclusion of Signed-off-by tag in the contributions at the end of the
20 --------------------------------------------------------
26 Signed-off-by: Your Name <your@email.example.org>
57 format-patch. The patch can then be sent, e.g., with git send-email.
61 ------------------------------------------
64 open source license indicated in the file" means that the contribution
74 open source license indicated in the file" means that the contribution
[all …]
/third_party/python/Lib/
Dpipes.py4 ------------
12 from a disk file or from an open file, and similar for its output.
27 -----------
34 where kind is a string of two characters: the first is '-' if the
50 To open a file for reading or writing through a conversion pipeline:
51 fp = t.open(file, mode)
52 where mode is 'r' to read the file, or 'w' to write it -- just like
53 for the built-in function open() or for os.popen().
75 STDIN_FILEOUT = '-f' # Must write a real file
76 FILEIN_STDOUT = 'f-' # Must read a real file
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Dmessage_serialization_unittest.cc1 // Protocol Buffers - Google's data interchange format
4 // Use of this source code is governed by a BSD-style
6 // https://developers.google.com/open-source/licenses/bsd
38 cli.RegisterGenerator("--java_out", &java_generator, /*help_text=*/""); in CompileJavaProto()
41 "--proto_path=", in CompileJavaProto()
43 std::string java_out = absl::StrCat("--java_out=", ::testing::TempDir()); in CompileJavaProto()
60 // Open-source codebase does not support file::JoinPath, so we manually in TEST()
66 // Open-source codebase does not support constexpr absl::string_view. in TEST()
71 // Open-source codebase does not have absl::StrSplit overload taking a single in TEST()
74 // NOLINTNEXTLINE(abseil-faster-strsplit-delimiter) in TEST()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/
DCONTRIBUTIONS2 ---------------------------
4 This software is distributed under a permissive open source license to
5 allow it to be used in any projects, whether open source or proprietary.
13 inclusion of Signed-off-by tag in the contributions at the end of the
20 --------------------------------------------------------
26 Signed-off-by: Your Name <your@email.example.org>
57 format-patch. The patch can then be sent, e.g., with git send-email.
64 ------------------------------------------
67 open source license indicated in the file" means that the contribution
77 open source license indicated in the file" means that the contribution
[all …]
/third_party/rust/rust/library/std/src/sys/unix/kernel_copy/
Dtests.rs10 fn copy_specialization() -> Result<()> { in copy_specialization()
14 let source_path = tmp_path.join("copy-spec.source"); in copy_specialization()
15 let sink_path = tmp_path.join("copy-spec.sink"); in copy_specialization()
18 let mut source = crate::fs::OpenOptions::new() in copy_specialization() localVariable
23 .open(&source_path)?; in copy_specialization()
24 source.write_all(b"abcdefghiklmnopqr")?; in copy_specialization()
25 source.seek(SeekFrom::Start(8))?; in copy_specialization()
26 let mut source = BufReader::with_capacity(8, source.take(5)); in copy_specialization() localVariable
27 source.fill_buf()?; in copy_specialization()
28 assert_eq!(source.buffer(), b"iklmn"); in copy_specialization()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_KHR_display/
Ddisplay.adoc1 // Copyright 2014-2024 The Khronos Group Inc.
3 // SPDX-License-Identifier: CC-BY-4.0
19 [open,refpage='VkDisplayKHR',desc='Opaque handle to a display object',type='handles']
20 --
24 --
26 [open,refpage='vkGetPhysicalDeviceDisplayPropertiesKHR',desc='Query information about the available…
27 --
57 --
59 [open,refpage='VkDisplayPropertiesKHR',desc='Structure describing an available display device',type…
60 --
[all …]
Ddisplay.txt1 // Copyright 2014-2021 The Khronos Group, Inc.
3 // SPDX-License-Identifier: CC-BY-4.0
19 [open,refpage='VkDisplayKHR',desc='Opaque handle to a display object',type='handles']
20 --
24 --
26 [open,refpage='vkGetPhysicalDeviceDisplayPropertiesKHR',desc='Query information about the available…
27 --
53 --
55 [open,refpage='VkDisplayPropertiesKHR',desc='Structure describing an available display device',type…
56 --
[all …]
/third_party/sqlite/
DLICENSE3 …e the original SQLite code, either in source code form or as a compiled binary, for any purpose, c…
5- those parts of the SQLite library that you actually bundle and ship with a larger application. S…
7 …tten from scratch. No code has been taken from other projects or from the open internet. Every lin…
9 Open-Source, not Open-Contribution
11open-source, meaning that you can make as many copies of it as you want and do whatever you want w…
28 … you would like to make a suggested change, and include a patch as a proof-of-concept, that would …
/third_party/jerryscript/
DDCO.md3 The JerryScript project uses the signed-off-by language and process to give us a clear chain of tru…
7 … in whole or in part by me and I have the right to submit it under the open source license indicat…
9open source license and I have the right under that license to submit that work with modifications…
13 …, including my sign-off) is maintained indefinitely and may be redistributed consistent with this …
15 We have the same requirements for using the signed-off-by process as the Linux kernel.
16 In short, you need to include a signed-off-by tag in the commit message of every patch.
20 > JerryScript-DCO-1.0-Signed-off-by: Random J Developer random@developer.example.org
22 "JerryScript-DCO-1.0-Signed-off-by:" this is a developer's certification that he or she has the rig…

12345678910>>...46