Home
last modified time | relevance | path

Searched full:how (Results 1 – 25 of 12571) sorted by relevance

12345678910>>...503

/external/ltp/testcases/kernel/syscalls/openat2/
Dopenat201.c13 static struct open_how *how; variable
24 struct open_how **how; member
27 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
28 {&dir_fd, TEST_FILE, O_RDONLY, S_IRUSR, 0, &how, sizeof(*how)},
29 {&dir_fd, TEST_FILE, O_WRONLY, S_IWUSR, 0, &how, sizeof(*how)},
30 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_XDEV, &how, sizeof(*how)},
31 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_MAGICLINKS, &how, sizeof(*how)},
32 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_SYMLINKS, &how, sizeof(*how)},
33 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_BENEATH, &how, sizeof(*how)},
34 {&dir_fd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_IN_ROOT, &how, sizeof(*how)},
[all …]
Dopenat203.c12 static struct open_how *how; variable
22 struct open_how **how; member
26 {"invalid-dfd", -1, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how), EBADF},
27 {"invalid-pathname", AT_FDCWD, NULL, O_RDONLY | O_CREAT, S_IRUSR, 0, &how, sizeof(*how), EFAULT},
28 {"invalid-flags", AT_FDCWD, TEST_FILE, O_RDONLY, S_IWUSR, 0, &how, sizeof(*how), EINVAL},
29 {"invalid-mode", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, -1, 0, &how, sizeof(*how), EINVAL},
30 …{"invalid-resolve", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, -1, &how, sizeof(*how), EINVAL…
31 {"invalid-size-zero", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, 0, EINVAL},
32 …{"invalid-size-small", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how) - 1, …
33 …{"invalid-size-big", AT_FDCWD, TEST_FILE, O_RDWR | O_CREAT, S_IRWXU, 0, &how, sizeof(*how) + 1, EF…
[all …]
Dopenat202.c12 static struct open_how *how; variable
44 how->flags = O_RDONLY | O_CREAT; in run()
45 how->mode = S_IRUSR; in run()
46 how->resolve = tc->resolve; in run()
48 TEST(openat2(AT_FDCWD, tc->pathname, how, sizeof(*how))); in run()
84 {&how, .size = sizeof(*how)},
/external/linux-kselftest/tools/testing/selftests/openat2/
Dopenat2_test.c158 struct open_how how; member
169 .how.flags = O_TMPFILE | O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
171 .how.flags = O_TMPFILE | O_CREAT | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
175 .how.flags = O_PATH | O_CLOEXEC }, in test_openat2_flags()
177 .how.flags = O_PATH | O_DIRECTORY }, in test_openat2_flags()
179 .how.flags = O_PATH | O_NOFOLLOW }, in test_openat2_flags()
182 .how.flags = O_PATH | O_RDWR, .err = -EINVAL }, in test_openat2_flags()
184 .how.flags = O_PATH | O_CREAT, .err = -EINVAL }, in test_openat2_flags()
186 .how.flags = O_PATH | O_EXCL, .err = -EINVAL }, in test_openat2_flags()
188 .how.flags = O_PATH | O_NOCTTY, .err = -EINVAL }, in test_openat2_flags()
[all …]
Dresolve_test.c113 struct open_how how; member
139 .path = "/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
142 .path = "cheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
145 .path = "abscheeky/absself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
148 .path = "..", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
151 .path = "../root/", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
154 .path = "cheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
157 .path = "abscheeky/self", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
160 .path = "cheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
163 .path = "abscheeky/garbageself", .how.resolve = RESOLVE_BENEATH, in test_openat2_opath_tests()
[all …]
Dhelpers.c17 bool needs_openat2(const struct open_how *how) in needs_openat2() argument
19 return how->resolve != 0; in needs_openat2()
22 int raw_openat2(int dfd, const char *path, void *how, size_t size) in raw_openat2() argument
24 int ret = syscall(__NR_openat2, dfd, path, how, size); in raw_openat2()
28 int sys_openat2(int dfd, const char *path, struct open_how *how) in sys_openat2() argument
30 return raw_openat2(dfd, path, how, sizeof(*how)); in sys_openat2()
33 int sys_openat(int dfd, const char *path, struct open_how *how) in sys_openat() argument
35 int ret = openat(dfd, path, how->flags, how->mode); in sys_openat()
98 struct open_how how = {}; in init() local
104 fd = sys_openat2(AT_FDCWD, ".", &how); in init()
/external/python/cpython2/Mac/Demo/
Dindex.html14 afterwards. They still show how to use the Carbon wrappers but aren't
49 part zero</A> whets your appetite by showing you how to ask the user
50 for a filename, and how to display a message. It explains about end-of-line
55 part one</A> explains how to create a simple modal-dialog application
63 how to create applets, standalone applications written in Python.
67 and shows you how to create applications that can be used on machines without
73 how to use <code>FrameWork</code> application framework and the
78 is meant for the hardcore programmer, and shows how to create an
85 is a companion document, written by Corran Webster, which explains how you
90 how to create a Python module interfacing to a scriptable application,
[all …]
/external/flatbuffers/docs/source/
DFlatBuffers.md38 write and what data you don't, and how you design data structures.
94 explaining how it speeds up loading their posts.
100 This section is a quick rundown of how to use this system. Subsequent
127 - How to [build the compiler](@ref flatbuffers_guide_building) and samples on
129 - How to [use the compiler](@ref flatbuffers_guide_using_schema_compiler).
130 - How to [write a schema](@ref flatbuffers_guide_writing_schema).
131 - How to [use the generated C++ code](@ref flatbuffers_guide_use_cpp) in your
133 - How to [use the generated Java code](@ref flatbuffers_guide_use_java)
135 - How to [use the generated C# code](@ref flatbuffers_guide_use_c-sharp)
137 - How to [use the generated Kotlin code](@ref flatbuffers_guide_use_kotlin)
[all …]
/external/clang/www/analyzer/
Dfaq.html5 <title>FAQ and How to Deal with Common False Positives</title>
20 <h1>FAQ and How to Deal with Common False Positives</h1>
23 <li><a href="#custom_assert">How do I tell the analyzer that I do not want the bug being
27 pointer is never null. How can I tell the analyzer that a pointer can never be
29 …<li><a href="#dead_store">How do I tell the static analyzer that I don't care about a specific dea…
30 …<li><a href="#unused_ivar">How do I tell the static analyzer that I don't care about a specific un…
31 …<li><a href="#unlocalized_string">How do I tell the static analyzer that I don't care about a spec…
32 …<li><a href="#use_assert">The analyzer assumes that a loop body is never entered. How can I tell …
33 <li><a href="#suppress_issue">How can I suppress a specific analyzer warning?</a></li>
34 <li><a href="#exclude_code">How can I selectively exclude code the analyzer examines?</a></li>
[all …]
/external/capstone/tests/
DREADME1 This directory contains some test code to show how to use Capstone API.
9 This code shows how to access to architecture-neutral information in disassembled
14 This code shows how to use SKIPDATA option to skip broken instructions (most likely
19 This code shows how to use the API cs_disasm_iter() to decode one instruction at
23 This code shows how to use MNEMONIC option to customize instruction mnemonic
24 at run-time, and then how to reset the engine to use the default mnemonic.
27 These code show how to access architecture-specific information for each
31 This code shows how to use Capstone from a Windows driver.
/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/text/
DIsEqualIgnoringWhiteSpaceTest.java12 … private final Matcher<String> matcher = equalToIgnoringWhiteSpace("Hello World how\n are we? ");
20 assertThat("Hello World how are we?", matcher); in testPassesIfWordsAreSameButWhitespaceDiffers()
21 assertThat(" Hello World how are \n\n\twe?", matcher); in testPassesIfWordsAreSameButWhitespaceDiffers()
25 assertThat("Hello PLANET how are we?", not(matcher)); in testFailsIfTextOtherThanWhitespaceDiffers()
26 assertThat("Hello World how are we", not(matcher)); in testFailsIfTextOtherThanWhitespaceDiffers()
30 assertThat("HelloWorld how are we?", not(matcher)); in testFailsIfWhitespaceIsAddedOrRemovedInMidWord()
31 assertThat("Hello Wo rld how are we?", not(matcher)); in testFailsIfWhitespaceIsAddedOrRemovedInMidWord()
48 assertDescription("equalToIgnoringWhiteSpace(\"Hello World how\\n are we? \")", in testHasAReadableDescription()
/external/libwebsockets/minimal-examples/raw/
DREADME.md3 minimal-raw-adopt-tcp|Shows how to have lws adopt an existing tcp socket something else had connect…
4 minimal-raw-adopt-udp|Shows how to create a udp socket and read and write on it
5 minimal-raw-fallback-http|Shows how to run a normal http(s) server that falls back to a specified r…
6 minimal-raw-file|Shows how to adopt a file descriptor (device node, fifo, file, etc) into the lws e…
8 minimal-raw-proxy-fallback|Shows how to run a normal http(s) server that falls back to a proxied co…
9 minimal-raw-proxy|Shows how to set up a vhost so it listens for connections and proxies them to a s…
10 minimal-raw-vhost|Shows how to set up a vhost that listens and accepts RAW socket connections
/external/icu/icu4c/source/samples/
Dreadme.txt10 break - demonstrates how to use BreakIterators in C and C++.
14 case - demonstrates how to do Unicode case conversion in C and C++.
16 coll - shows how collation compares strings
22 datecal - demonstrates how a calendar object provides information
26 dtitvfmtsample - shows how date interval format uses predefined skeletons
42 strsrch - demonstrates how to search for patterns in Unicode text using the usearch interface.
46 uciter8 - demonstrates how to leniently read 8-bit Unicode text.
72 * How do I build the samples?
/external/cronet/third_party/icu/source/samples/
Dreadme.txt10 break - demonstrates how to use BreakIterators in C and C++.
14 case - demonstrates how to do Unicode case conversion in C and C++.
16 coll - shows how collation compares strings
22 datecal - demonstrates how a calendar object provides information
26 dtitvfmtsample - shows how date interval format uses predefined skeletons
42 strsrch - demonstrates how to search for patterns in Unicode text using the usearch interface.
46 uciter8 - demonstrates how to leniently read 8-bit Unicode text.
72 * How do I build the samples?
/external/gemmlowp/doc/
Dquantization.md13 perform, specifically, it affects how one goes from internal 32bit accumulator
23 In the present document, our purpose is to show how, reasoning from first
25 naturally at some specific quantization paradigm, and how that can be
28 We also aim to show how that differs from the older, legacy quantization
133 how to eliminate all usage of floating-point arithmetic. That will come
138 Now that we know &mdash; equation (3) &mdash; how real numbers are to correspond
182 matrix multiplication should do, i.e. how to compute `result_quantized_value`.
202 Equation (5) is the conclusion of this general discussion of how to specify what
227 It is out of scope of the present doc to discuss how to avoid the overhead of
263 So how do we implement the multiplication of a int32 value by a positive real
[all …]
/external/python/google-api-python-client/docs/dyn/
Dhealthcare_v1.projects.locations.datasets.dicomStores.studies.html87 …r samples that show how to call DeleteStudy, see [Deleting a study, series, or instance](https://c…
90 …. For samples that show how to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud…
93 …ent. For samples that show how to call RetrieveStudy, see [Retrieving DICOM data](https://cloud.go…
96 …hat show how to call SearchForInstances, see [Searching for studies, series, instances, and frames…
99 …that show how to call SearchForSeries, see [Searching for studies, series, instances, and frames](…
102 …ment. For samples that show how to call StoreInstances, see [Storing DICOM data](https://cloud.goo…
111 …r samples that show how to call DeleteStudy, see [Deleting a study, series, or instance](https://c…
126 …ssage, and error details. You can find out more about this error model and how to work with it in …
147 …. For samples that show how to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud…
160 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
[all …]
Dhealthcare_v1beta1.projects.locations.datasets.dicomStores.studies.html87 …r samples that show how to call DeleteStudy, see [Deleting a study, series, or instance](https://c…
90 …. For samples that show how to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud…
93 …ent. For samples that show how to call RetrieveStudy, see [Retrieving DICOM data](https://cloud.go…
96 …hat show how to call SearchForInstances, see [Searching for studies, series, instances, and frames…
99 …that show how to call SearchForSeries, see [Searching for studies, series, instances, and frames](…
102 …ment. For samples that show how to call StoreInstances, see [Storing DICOM data](https://cloud.goo…
111 …r samples that show how to call DeleteStudy, see [Deleting a study, series, or instance](https://c…
126 …ssage, and error details. You can find out more about this error model and how to work with it in …
147 …. For samples that show how to call RetrieveStudyMetadata, see [Retrieving metadata](https://cloud…
160 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
[all …]
Dhealthcare_v1beta1.projects.locations.datasets.dicomStores.studies.series.instances.html87 …samples that show how to call DeleteInstance, see [Deleting a study, series, or instance](https://…
90 …t. For samples that show how to call RetrieveInstance, see [Retrieving an instance](https://cloud.…
93 …For samples that show how to call RetrieveInstanceMetadata, see [Retrieving metadata](https://clou…
96 …ples that show how to call RetrieveRenderedInstance, see [Retrieving consumer image formats](https…
105 …samples that show how to call DeleteInstance, see [Deleting a study, series, or instance](https://…
124 …t. For samples that show how to call RetrieveInstance, see [Retrieving an instance](https://cloud.…
137 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
150 …For samples that show how to call RetrieveInstanceMetadata, see [Retrieving metadata](https://clou…
163 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
176 …ples that show how to call RetrieveRenderedInstance, see [Retrieving consumer image formats](https…
[all …]
Dhealthcare_v1.projects.locations.datasets.dicomStores.studies.series.instances.html87 …samples that show how to call DeleteInstance, see [Deleting a study, series, or instance](https://…
90 …t. For samples that show how to call RetrieveInstance, see [Retrieving an instance](https://cloud.…
93 …For samples that show how to call RetrieveInstanceMetadata, see [Retrieving metadata](https://clou…
96 …ples that show how to call RetrieveRenderedInstance, see [Retrieving consumer image formats](https…
105 …samples that show how to call DeleteInstance, see [Deleting a study, series, or instance](https://…
124 …t. For samples that show how to call RetrieveInstance, see [Retrieving an instance](https://cloud.…
137 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
150 …For samples that show how to call RetrieveInstanceMetadata, see [Retrieving metadata](https://clou…
163 …ody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and res…
176 …ples that show how to call RetrieveRenderedInstance, see [Retrieving consumer image formats](https…
[all …]
/external/python/cpython2/Demo/pysvr/
Dpysvr.py95 except SystemExit, how:
96 if how:
98 how = str(how)
100 how = ""
101 stdout.write("Exit %s\n" % how)
112 except SystemExit, how:
113 raise SystemExit, how, sys.exc_info()[2]
/external/llvm/docs/
Dindex.rst95 Discusses how to get up and running quickly with the LLVM infrastructure.
141 `How to build the C, C++, ObjC, and ObjC++ front end`__
160 A collection of tips for frontend authors on how to generate IR
205 How to make ``isa<>``, ``dyn_cast<>``, etc. available for clients of your
209 Look here to see how to add instructions and intrinsics to LLVM.
271 Information on how to write LLVM transformations and analyses.
274 Information on how to write LLVM backends for machine targets.
290 Information on how to write a new alias analysis implementation or how to
317 how to keep LLVM source code portable
324 How to build your programs with link-time optimization on Linux.
[all …]
/external/curl/docs/
DFAQ19 1.10 How many are using curl?
23 1.14 How do I submit my patch?
24 1.15 How do I port libcurl to my OS?
33 3.2 How do I tell curl to resume a transfer?
35 3.4 How do I tell curl to run custom FTP commands?
36 3.5 How can I disable the Accept: */* header?
39 3.8 How do I tell curl to follow HTTP redirects?
40 3.9 How do I use curl in my favorite programming language?
42 3.11 How do I POST with a different Content-Type?
48 3.17 How do I list the root directory of an FTP server?
[all …]
/external/testng/doc/
Dbook.html29how to leverage key Java platform improvements designed to facilitate effective testing, such as d…
30how to test</li><li>Introduces TestNG, explains its goals and features, and shows how to apply the…
31 testing design patterns presented in this book will show you how to im
32 prove your tests by giving you concrete advice on how to make your code and your design more testab…
/external/libevent/
Dratelim-internal.h35 /** A token bucket is an internal structure that tracks how many bytes we are
39 /** How many bytes are we willing to read or write right now? These
49 /** How many bytes are we willing to read on average per tick? */
51 /** How many bytes are we willing to read at most in any one tick? */
53 /** How many bytes are we willing to write on average per tick? */
55 /** How many bytes are we willing to write at most in any one tick? */
58 /* How long is a tick? Note that fractions of a millisecond are
62 /* How long is a tick, in milliseconds? Derived from tick_timeout. */
/external/python/cpython2/Doc/library/
Demail-examples.rst6 Here are a few examples of how to use the :mod:`email` package to read, write,
9 First, let's see how to create and send a simple text message:
20 Here's an example of how to send a MIME message containing a bunch of family
26 Here's an example of how to send the entire contents of a directory as an email
32 Here's an example of how to unpack a MIME message like the one
37 Here's an example of how to create an HTML message with an alternative plain

12345678910>>...503