Searched refs:mode (Results 251 - 275 of 4963) sorted by relevance

<<11121314151617181920>>

/external/strace/tests-mx32/
H A Dmbind.c42 const unsigned long mode = 3; local
47 long rc = syscall(__NR_mbind, 0, len, mode, nodemask, maxnode, flags);
/external/syslinux/com32/include/sys/
H A Ddirent.h36 * Convert between stat structure mode types and directory types.
37 * The stat structure mode types are the same as in Linux.
39 #define IFTODT(mode) (((mode) & 0170000) >> 12)
/external/valgrind/none/tests/s390x/
H A Drounding-2.c6 /* Basic test that we can set the rounding mode in the FPC and
10 set_rounding_mode(unsigned mode) argument
12 register unsigned r asm("1") = mode;
32 printf("initial rounding mode: %u\n", get_rounding_mode());
35 printf("setting rounding mode to %u\n", rmodes[i]);
/external/webrtc/webrtc/modules/audio_processing/vad/
H A Dstandalone_vad.h50 // aggressive mode. Returns -1 if the input is less than 0 or larger than 3,
52 int set_mode(int mode);
54 int mode() const { return mode_; } function in class:webrtc::StandaloneVad
/external/zlib/src/contrib/iostream3/
H A Dzfstream.cc11 #include <cstring> // for strcpy, strcat, strlen (mode strings)
52 std::ios_base::openmode mode)
58 if ((mode & std::ios_base::in) && (mode & std::ios_base::out))
61 // Build mode string for gzopen and check it [27.8.1.3.2]
63 if (!this->open_mode(mode, char_mode))
72 io_mode = mode;
80 std::ios_base::openmode mode)
86 if ((mode & std::ios_base::in) && (mode
51 open(const char *name, std::ios_base::openmode mode) argument
79 attach(int fd, std::ios_base::openmode mode) argument
131 open_mode(std::ios_base::openmode mode, char* c_mode) const argument
379 gzifstream(const char* name, std::ios_base::openmode mode) argument
388 gzifstream(int fd, std::ios_base::openmode mode) argument
398 open(const char* name, std::ios_base::openmode mode) argument
409 attach(int fd, std::ios_base::openmode mode) argument
434 gzofstream(const char* name, std::ios_base::openmode mode) argument
443 gzofstream(int fd, std::ios_base::openmode mode) argument
453 open(const char* name, std::ios_base::openmode mode) argument
464 attach(int fd, std::ios_base::openmode mode) argument
[all...]
/external/e2fsprogs/lib/
H A Dfpopen.c34 extern FILE *fpopen(const char *cmd, const char *mode);
36 FILE *fpopen(const char *cmd, const char *mode) argument
46 if (!mode) {
51 switch (*mode) {
62 switch (*(mode+1)) {
114 return fdopen(do_stdin ? fds[1] : fds[0], mode);
/external/owasp/sanitizer/src/main/org/owasp/html/
H A DHtmlTextEscapingMode.java138 * The mode used for content following a start tag with the given name.
141 HtmlTextEscapingMode mode = ESCAPING_MODES.get(canonTagName);
142 return mode != null ? mode : PCDATA;
163 HtmlTextEscapingMode mode = getModeForTag(canonTagName);
164 return mode != PCDATA && mode != VOID;
/external/syslinux/libinstaller/
H A Dsyslxopt.c60 {"raid-mode", 0, NULL, 'r'},
75 void __attribute__ ((noreturn)) usage(int rv, enum syslinux_mode mode) argument
77 switch (mode) {
111 " --stupid -s Slow, safe and stupid mode\n"
116 mode == MODE_SYSLINUX ? " " : "-o");
123 if (mode == MODE_SYSLINUX_DOSWIN)
128 if (mode == MODE_SYSLINUX_DOSWIN || mode == MODE_SYSLINUX)
135 void parse_options(int argc, char *argv[], enum syslinux_mode mode) argument
182 usage(0, mode);
[all...]
/external/capstone/cstool/
H A Dcstool.c9 void print_insn_detail_x86(csh ud, cs_mode mode, cs_insn *ins);
74 printf("Syntax: %s [-d] <arch+mode> <assembly-hexstring> [start-address-in-hex-format]\n", prog);
75 printf("\nThe following <arch+mode> options are supported:\n");
78 printf(" x16: 16-bit mode (X86)\n");
79 printf(" x32: 32-bit mode (X86)\n");
80 printf(" x64: 64-bit mode (X86)\n");
81 printf(" x16att: 16-bit mode (X86) syntax-att\n");
82 printf(" x32att: 32-bit mode (X86) syntax-att\n");
83 printf(" x64att: 64-bit mode (X86) syntax-att\n");
89 printf(" thumb: thumb mode\
128 char *mode; local
[all...]
/external/iproute2/ip/
H A Diplink_xdp.c88 __u8 mode; local
90 mode = rta_getattr_u8(tb[IFLA_XDP_ATTACHED]);
95 print_uint(PRINT_JSON, "mode", NULL, mode);
105 __u8 mode; local
112 mode = rta_getattr_u8(tb[IFLA_XDP_ATTACHED]);
113 if (mode == XDP_ATTACHED_NONE)
119 else if (mode == XDP_ATTACHED_DRV)
121 else if (mode == XDP_ATTACHED_SKB)
123 else if (mode
[all...]
/external/mockito/src/test/java/org/mockito/verification/
H A DTimeoutTest.java21 VerificationMode mode; field in class:TimeoutTest
31 Timeout t = new Timeout(1, mode, timer);
34 doNothing().when(mode).verify(data);
45 Timeout t = new Timeout(1, mode, timer);
51 when(mode).verify(data);
63 Timeout t = new Timeout(1, mode, timer);
69 when(mode).verify(data);
77 Timeout t = new Timeout(10, mode, timer);
79 doThrow(error).when(mode).verify(data);
87 verify(mode, time
[all...]
/external/v8/src/ast/
H A Dcontext-slot-cache.cc29 int ContextSlotCache::Lookup(Object* data, String* name, VariableMode* mode, argument
36 if (mode != nullptr) *mode = result.mode();
46 VariableMode mode, InitializationFlag init_flag,
60 Value(mode, init_flag, maybe_assigned_flag, slot_index - kNotFound)
63 ValidateEntry(data, name, mode, init_flag, maybe_assigned_flag, slot_index);
75 VariableMode mode,
88 DCHECK(result.mode() == mode);
45 Update(Handle<Object> data, Handle<String> name, VariableMode mode, InitializationFlag init_flag, MaybeAssignedFlag maybe_assigned_flag, int slot_index) argument
74 ValidateEntry(Handle<Object> data, Handle<String> name, VariableMode mode, InitializationFlag init_flag, MaybeAssignedFlag maybe_assigned_flag, int slot_index) argument
[all...]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/
H A Dhead_test.py43 for mode in [estimator_lib.ModeKeys.TRAIN, estimator_lib.ModeKeys.EVAL,
46 model_fn(features={}, labels={"a": "b"}, mode=mode)
50 with self.assertRaisesRegexp(ValueError, "Unknown mode 'Not a mode'"):
51 model_fn(features={}, labels={}, mode="Not a mode")
61 def define_loss(self, features, mode):
62 del mode # unused
98 features=features, labels=None, mode
[all...]
/external/freetype/src/gzip/
H A Dinflate.c32 /* mode */
33 inflate_mode mode; /* current inflate mode */ member in struct:internal_state
35 /* mode dependent information */
45 /* mode independent information */
61 z->state->mode = z->state->nowrap ? BLOCKS : METHOD;
158 while (1) switch (z->state->mode)
164 z->state->mode = BAD;
171 z->state->mode = BAD;
176 z->state->mode
[all...]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
H A Dfake_fs.py69 def _FakeOpen(self, path, mode=None):
70 if mode is None:
71 mode = 'r'
72 if mode == 'r' or mode == 'rU' or mode == 'rb':
74 return self._real_open(path, mode)
79 def _FakeCodecsOpen(self, path, mode=None,
81 if mode is None:
82 mode
[all...]
/external/lzma/Java/Tukaani/src/org/tukaani/xz/
H A DLZMA2Options.java89 * Compression mode: uncompressed.
95 * Compression mode: fast.
101 * Compression mode: normal.
137 private int mode; field in class:LZMA2Options
171 public LZMA2Options(int dictSize, int lc, int lp, int pb, int mode, argument
177 setMode(mode);
210 mode = MODE_FAST;
215 mode = MODE_NORMAL;
405 * Sets the compression mode.
415 * The special mode <cod
422 setMode(int mode) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/hud/
H A Dhud_cpufreq.c53 int mode; /* CPUFREQ_MINIMUM, CPUFREQ_CURRENT, CPUFREQ_MAXIMUM */ member in struct:cpufreq_info
68 find_cfi_by_index(int cpu_index, int mode) argument
71 if (cfi->mode != mode)
101 switch (cfi->mode) {
121 * \param mode query CPUFREQ_MINIMUM | CURRENT | MAXIMUM statistic.
125 unsigned int mode)
134 cfi = find_cfi_by_index(cpu_index, mode);
142 cfi->mode = mode;
124 hud_cpufreq_graph_install(struct hud_pane *pane, int cpu_index, unsigned int mode) argument
[all...]
/external/libopus/include/
H A Dopus_custom.h79 * an additional mode parameter which is a structure produced by
81 * must create a mode using the same sample rate (fs) and frame size
104 /** The mode contains all the information necessary to create an
106 with exactly the same mode, otherwise the output will be
112 /** Creates a new mode struct. This will be passed to an encoder or
113 * decoder. The mode MUST NOT BE DESTROYED until the encoders and
119 * @return A newly created mode
123 /** Destroys a mode struct. Only call this after all encoders and
124 * decoders using this mode are destroyed as well.
125 * @param [in] mode <t
[all...]
/external/skia/tests/
H A DColorFilterTest.cpp59 for (int mode = 0; mode <= (int)SkBlendMode::kLastMode; mode++) {
66 auto cf = SkColorFilter::MakeModeFilter(color, (SkBlendMode)mode);
68 // allow for no filter if we're in Dst mode (its a no op)
69 if (SkBlendMode::kDst == (SkBlendMode)mode && nullptr == cf) {
79 SkBlendMode expectedMode = (SkBlendMode)mode;
81 // SkDebugf("--- mc [%d %x] ", mode, color);
85 if (SkBlendMode::kClear == (SkBlendMode)mode) {
/external/skqp/gm/
H A Dlocalmatriximageshader.cpp48 SkShader::TileMode mode[2]; local
50 SkImage* image = redLocalMatrixShader->isAImage(&matrix, mode);
51 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
53 image = blueLocalMatrixShader->isAImage(&matrix, mode);
54 paint.setShader(image->makeShader(mode[0], mode[1], &matrix));
/external/skqp/tests/
H A DColorFilterTest.cpp59 for (int mode = 0; mode <= (int)SkBlendMode::kLastMode; mode++) {
66 auto cf = SkColorFilter::MakeModeFilter(color, (SkBlendMode)mode);
68 // allow for no filter if we're in Dst mode (its a no op)
69 if (SkBlendMode::kDst == (SkBlendMode)mode && nullptr == cf) {
79 SkBlendMode expectedMode = (SkBlendMode)mode;
81 // SkDebugf("--- mc [%d %x] ", mode, color);
85 if (SkBlendMode::kClear == (SkBlendMode)mode) {
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_Configuration.java223 int mode = NONE, unicode = 0, count = 0, nextChar;
228 if (mode == UNICODE) {
236 mode = NONE;
242 if (mode == SLASH) {
243 mode = NONE;
246 mode = CONTINUE; // Look for a following \n
249 mode = IGNORE; // Ignore whitespace on the next line
267 mode = UNICODE;
285 if (mode == CONTINUE) { // Part of a \r\n sequence
286 mode
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dnormlzr.h155 * @param mode The normalization mode.
158 Normalizer(const UnicodeString& str, UNormalizationMode mode);
168 * @param mode The normalization mode.
171 Normalizer(ConstChar16Ptr str, int32_t length, UNormalizationMode mode);
180 * @param mode The normalization mode.
183 Normalizer(const CharacterIterator& iter, UNormalizationMode mode);
206 * Normalizes a <code>UnicodeString</code> according to the specified normalization mode
780 quickCheck(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument
787 isNormalized(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument
[all...]
/external/mesa3d/src/mesa/vbo/
H A Dvbo_exec.c94 * considering the drawing mode, number of vertices, and instance count,
104 vbo_count_tessellated_primitives(GLenum mode, GLuint count, argument
108 switch (mode) {
175 if (p->mode == GL_LINE_STRIP && p->count == 2) {
177 p->mode = GL_LINES;
179 else if ((p->mode == GL_TRIANGLE_STRIP || p->mode == GL_TRIANGLE_FAN)
182 p->mode = GL_TRIANGLES;
208 /* The prim mode must match (ex: both GL_TRIANGLES) */
209 if (p0->mode !
[all...]
/external/tensorflow/tensorflow/contrib/gan/python/estimator/python/
H A Dhead_impl.py116 def create_loss(self, features, mode, logits, labels):
123 mode: Estimator's `ModeKeys`.
132 del mode, labels, features # unused for this head.
139 self, features, mode, logits, labels=None,
147 mode: Estimator's `ModeKeys`.
160 ValueError: If `train_op_fn` isn't provided in train mode.
168 if mode == model_fn_lib.ModeKeys.PREDICT:
170 mode=model_fn_lib.ModeKeys.PREDICT,
172 elif mode == model_fn_lib.ModeKeys.EVAL:
174 features=None, mode
[all...]

Completed in 820 milliseconds

<<11121314151617181920>>