Home
last modified time | relevance | path

Searched refs:how (Results 1 – 25 of 3994) sorted by relevance

12345678910>>...160

/third_party/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)},
/third_party/boost/boost/locale/
Dencoding.hpp38 …o_utf(char const *begin,char const *end,std::string const &charset,method_type how=default_method);
44 …arType const *begin,CharType const *end,std::string const &charset,method_type how=default_method);
52 …pe> to_utf(char const *begin,char const *end,std::locale const &loc,method_type how=default_method) in to_utf() argument
54 return to_utf<CharType>(begin,end,std::use_facet<info>(loc).encoding(),how); in to_utf()
63 …tf(CharType const *begin,CharType const *end,std::locale const &loc,method_type how=default_method) in from_utf() argument
65 return from_utf(begin,end,std::use_facet<info>(loc).encoding(),how); in from_utf()
73 …CharType> to_utf(std::string const &text,std::string const &charset,method_type how=default_method) in to_utf() argument
75 return to_utf<CharType>(text.c_str(),text.c_str()+text.size(),charset,how); in to_utf()
82 …(std::basic_string<CharType> const &text,std::string const &charset,method_type how=default_method) in from_utf() argument
84 return from_utf(text.c_str(),text.c_str()+text.size(),charset,how); in from_utf()
[all …]
Dencoding_utf.hpp34 utf_to_utf(CharIn const *begin,CharIn const *end,method_type how = default_method) in utf_to_utf() argument
44 if(how==stop) in utf_to_utf()
59 utf_to_utf(CharIn const *str,method_type how = default_method) in utf_to_utf() argument
64 return utf_to_utf<CharOut,CharIn>(str,end,how); in utf_to_utf()
73 utf_to_utf(std::basic_string<CharIn> const &str,method_type how = default_method) in utf_to_utf() argument
75 return utf_to_utf<CharOut,CharIn>(str.c_str(),str.c_str()+str.size(),how); in utf_to_utf()
/third_party/boost/libs/locale/src/encoding/
Dcodepage.cpp41 method_type how) in convert_between() argument
46 if(cvt->open(to_charset,from_charset,how)) in convert_between()
51 if(cvt->open(to_charset,from_charset,how)) in convert_between()
56 if(cvt->open(to_charset,from_charset,how)) in convert_between()
67 method_type how) in convert_to() argument
72 if(cvt->open(charset,how)) in convert_to()
77 if(cvt->open(charset,how)) in convert_to()
82 if(cvt->open(charset,how)) in convert_to()
93 method_type how) in convert_from() argument
98 if(cvt->open(charset,how)) in convert_from()
[all …]
Duconv_codepage.ipp32 virtual bool open(char const *charset,method_type how)
36 … cvt_from_.reset(new from_type(charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
37 … cvt_to_.reset(new to_type("UTF-8",how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
76 virtual bool open(char const *charset,method_type how)
80 … cvt_from_.reset(new from_type("UTF-8",how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
81 … cvt_to_.reset(new to_type(charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
117 virtual bool open(char const *to_charset,char const *from_charset,method_type how)
121 …cvt_from_.reset(new from_type(from_charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
122 … cvt_to_.reset(new to_type(to_charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
Diconv_codepage.ipp43 bool do_open(char const *to,char const *from,method_type how)
47 how_ = how;
150 virtual bool open(char const *charset,method_type how)
152 return self_.do_open(charset,utf_name<CharType>(),how);
167 virtual bool open(char const *to_charset,char const *from_charset,method_type how)
169 return self_.do_open(to_charset,from_charset,how);
189 virtual bool open(char const *charset,method_type how)
191 return self_.do_open(utf_name<CharType>(),charset,how);
/third_party/boost/libs/locale/test/
Dtest_convert.cpp44 #define TEST_A(Chr,how,source,dest) \ argument
47 std::cout <<"Testing " #how " for " #Chr ", lang="<<inf.language(); \
51 TEST(boost::locale::how(source_s)==dest_s); \
52 TEST(boost::locale::how(source_s.c_str())==dest_s); \
53 TEST(boost::locale::how(source_s.c_str(),source_s.c_str()+source_s.size())==dest_s);\
88 #define TEST_V(how,source_s,dest_s) \ in main() argument
90 TEST_A(char,how,source_s,dest_s); \ in main()
94 TEST_A(char,how,to<char>(source_s),to<char>(dest_s)); \ in main()
102 … #define TEST_V(how,source_s,dest_s) TEST_A(wchar_t,how,to<wchar_t>(source_s),to<wchar_t>(dest_s)) in main() argument
107 …#define TEST_V(how,source_s,dest_s) TEST_A(char16_t,how,to<char16_t>(source_s),to<char16_t>(dest_s… in main() argument
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_mbuf.h54 struct mbuf * m_gethdr(int how, short type);
55 struct mbuf * m_get(int how, short type);
57 void m_clget(struct mbuf *m, int how);
58 struct mbuf * m_getm2(struct mbuf *m, int len, int how, short type, int flags, int allonebuf);
59 struct mbuf *m_uiotombuf(struct uio *uio, int how, int len, int align, int flags);
67 #define MGET(m, how, type) ((m) = m_get((how), (type))) argument
68 #define MGETHDR(m, how, type) ((m) = m_gethdr((how), (type))) argument
69 #define MCLGET(m, how) m_clget((m), (how)) argument
316 #define MBTOM(how) (how) argument
368 #define M_PREPEND(m, plen, how) do { \ argument
[all …]
/third_party/mksh/
Dulimit.c203 int how = SOFT | HARD, optc; in c_ulimit() local
210 how = HARD; in c_ulimit()
213 how = SOFT; in c_ulimit()
243 return (set_ulimit(rlimits[i], wp[builtin_opt.optind], how)); in c_ulimit()
246 print_ulimit(rlimits[i], how); in c_ulimit()
249 print_ulimit(rlimits[i], how); in c_ulimit()
263 set_ulimit(const struct limits *l, const char *v, int how MKSH_A_UNUSED) in set_ulimit()
304 if (how & SOFT) in set_ulimit()
306 if (how & HARD) in set_ulimit()
328 print_ulimit(const struct limits *l, int how MKSH_A_UNUSED) in print_ulimit()
[all …]
/third_party/boost/boost/geometry/policies/relate/
Ddirection.hpp41 : how(h) in direction_type()
54 : how(h) in direction_type()
69 char how; member
283 r.how = 'a'; in segments_collinear()
287 r.how = r.arrival[0] == 0 ? 't' : 'f'; in segments_collinear()
293 r.how = 'e'; in segments_collinear()
331 char how, int how_a, int how_b) in calculate_side()
334 return return_type(sides, how, how_a, how_b, -dir, dir); in calculate_side()
339 char how, int how_a, int how_b) in angle()
342 return return_type(sides, how, how_a, how_b, dir, dir); in angle()
/third_party/boost/libs/numeric/odeint/doc/
Dexamples_table.qbk19 [This examples shows how member functions can be used as system functions in odeint.]]
22 …[This examples shows how member functions can be used as system functions in odeint with `std::bin…
34 [The Fermi-Pasta-Ulam (FPU) example shows how odeint can be used to integrate lattice systems.]]
37 [Shows skeletal code on how to implement own factory functions.]]
43 [This examples shows how __boost_units can be used with odeint.]]
46 …[The Heun example shows how an custom Runge-Kutta stepper can be created with odeint generic Runge…
55 [Simple example showing how to get odeint to work with a self-defined vector type.]]
58 …[The phase oscillator ensemble example shows how globally coupled oscillators can be analyzed and
79 [The Stuart-Landau example shows how odeint can be used with complex state types.]]
82 …[The 2D phase oscillator example shows how a two-dimensional lattice works with odeint and how mat…
[all …]
/third_party/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
/third_party/ltp/include/lapi/
Dsafe_rt_signal.h37 int how, const sigset_t *set, in safe_rt_sigprocmask() argument
42 ret = tst_syscall(__NR_rt_sigprocmask, how, set, oldset, sigsetsize); in safe_rt_sigprocmask()
46 how, set, oldset, sigsetsize); in safe_rt_sigprocmask()
50 how, set, oldset, sigsetsize, ret); in safe_rt_sigprocmask()
56 #define SAFE_RT_SIGPROCMASK(how, set, oldset, sigsetsize) \ argument
57 safe_rt_sigprocmask(__FILE__, __LINE__, how, set, oldset, sigsetsize)
/third_party/typescript_eslint/docs/getting-started/plugin-development/
DREADME.md5 - talk about how to setup the folder structure
6 - talk about how to consume `experimental-utils` to create an empty rule
7 - talk about https://eslint.org/docs/developer-guide/selectors and how to use the strict types
8 - talk about how to write tests
12 - talk about how to use type information
/third_party/gstreamer/gstreamer/docs/random/wtay/
Dabstract4 and how the modularity can provide many benefits when building
9 the framework and how specific problems were solved.
17 cothreads and expand on how the number of cothread switches can
22 types between plugins. We continue with an explanation of how
27 or seek and flush events. We explain how these events work and
28 how they interact with the scheduler.
32 explain how all the pieces fit together and how we combine different
/third_party/libuv/src/unix/
Dpthread-fixes.c39 int uv__pthread_sigmask(int how, const sigset_t* set, sigset_t* oset) { in uv__pthread_sigmask() argument
44 return sigprocmask(how, set, oset); in uv__pthread_sigmask()
46 err = pthread_sigmask(how, set, oset); in uv__pthread_sigmask()
48 if (err == EINVAL && sigprocmask(how, set, oset) == 0) { in uv__pthread_sigmask()
/third_party/python/Lib/idlelib/
Drpc.py173 how, (oid, methodname, args, kwargs) = request
191 if how == 'CALL':
196 elif how == 'QUEUE':
200 return ("ERROR", "Unsupported message type: %s" % how)
253 how, what = response
254 if how == "OK":
256 if how == "QUEUED":
258 if how == "EXCEPTION":
261 if how == "EOF":
265 if how == "ERROR":
[all …]
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/
DREADME17 …and draws a large number of happy faces bouncing around the screen. Shows how you can load a bitm…
25 …Acts as a finger-paint type program. Demonstrates how you can use SDL mouse input to accept touch…
29 … which can be used as a virtual drumkit. Demonstrates how you can play .wav sounds in SDL and how
33 …e screen. If the user types ':)' a happy face is displayed. Demonstrates how to use functions ad…
37how you can use SDL on iPhone to build an OpenGL ES based application. Shows you how you can use S…
43 … the iPhone itself. See the iPhone SDL main README file for directions on how to do this. Once t…
/third_party/boost/libs/asio/doc/
Dexamples.qbk32 This example shows how to customise the allocation of memory associated with
40 This example demonstrates how to create reference counted buffers that can be
55 The following POSIX-specific chat client demonstrates how to use the
77 These POSIX-specific examples show how to use Boost.Asio in conjunction with the
83 The second example demonstrates how it is possible to fork a process from
91 Example programs implementing simple HTTP 1.0 clients. These examples show how
102 implementation of HTTP 1.0. It demonstrates how to perform a clean shutdown by
189 This example shows how to use raw sockets with ICMP to ping a remote host.
198 This example shows how to customise handler invocation. Completion handlers are
206 Two examples showing how to use [link boost_asio.reference.ip__tcp.iostream
[all …]
/third_party/libxml2/
Dxzlib.c65 int how; /* 0: get header, 1: copy, 2: decompress */ member
127 state->how = LOOK; /* look for gzip header */ in xz_reset()
197 switch (state->how) { in xz_compressed()
448 state->how = LZMA; in xz_head()
503 state->how = GZIP; in xz_head()
524 state->how = COPY; in xz_head()
554 if (state->how == GZIP) { in xz_decomp()
594 if ((state->how != GZIP) && in xz_decomp()
611 if (state->how == GZIP) { in xz_decomp()
634 state->how = LOOK; /* ready for next stream, once have is 0 (leave in xz_decomp()
[all …]
/third_party/python/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 (both the
21 Here's an example of how to send a MIME message containing a bunch of family
27 Here's an example of how to send the entire contents of a directory as an email
33 Here's an example of how to unpack a MIME message like the one
39 Here's an example of how to create an HTML message with an alternative plain
/third_party/boost/libs/locale/src/std/
Dconverter.cpp43 …virtual string_type convert(converter_base::conversion_type how,char_type const *begin,char_type c… in convert() argument
45 switch(how) { in convert()
55 if(how == converter_base::upper_case) in convert()
78 …virtual std::string convert(converter_base::conversion_type how,char const *begin,char const *end,… in convert() argument
80 switch(how) { in convert()
91 if(how == upper_case) in convert()
/third_party/musl/src/thread/
Dpthread_sigmask.c5 int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old) in pthread_sigmask() argument
8 if (set && (unsigned)how - SIG_BLOCK > 2U) return EINVAL; in pthread_sigmask()
9 ret = -__syscall(SYS_rt_sigprocmask, how, set, old, _NSIG/8); in pthread_sigmask()

12345678910>>...160