Home
last modified time | relevance | path

Searched refs:_mode (Results 1 – 25 of 68) sorted by relevance

123

/external/autotest/server/cros/ap_configurators/
Dap_spec.py147 self._mode = mode
154 if not self._channel and (self._mode == MODE_N or not self._mode):
157 if not self._mode:
158 self._mode = DEFAULT_2GHZ_MODE
161 if not self._mode:
162 self._mode = DEFAULT_5GHZ_MODE
168 if ((band == BAND_2GHZ and self._mode not in VALID_2GHZ_MODES) or
169 (band == BAND_5GHZ and self._mode not in VALID_5GHZ_MODES) or
186 mode_string_for_mode(self._mode),
220 return self._mode
[all …]
/external/python/cpython3/Lib/
Dlzma.py95 self._mode = _MODE_CLOSED
122 self._mode = mode_code
125 self._mode = mode_code
129 if self._mode == _MODE_READ:
140 if self._mode == _MODE_CLOSED:
143 if self._mode == _MODE_READ:
146 elif self._mode == _MODE_WRITE:
156 self._mode = _MODE_CLOSED
161 return self._mode == _MODE_CLOSED
175 return self._mode == _MODE_READ
[all …]
Dbz2.py64 self._mode = _MODE_CLOSED
94 self._mode = mode_code
97 self._mode = mode_code
101 if self._mode == _MODE_READ:
115 if self._mode == _MODE_CLOSED:
118 if self._mode == _MODE_READ:
120 elif self._mode == _MODE_WRITE:
130 self._mode = _MODE_CLOSED
136 return self._mode == _MODE_CLOSED
150 return self._mode == _MODE_READ
[all …]
Dfileinput.py224 self._mode = mode
312 if 'b' in self._mode:
325 if 'b' in self._mode:
340 self._file = open(self._backupfilename, self._mode)
362 self._file = self._openhook(self._filename, self._mode)
364 self._file = open(self._filename, self._mode)
/external/autotest/server/cros/network/
Dhostap_config.py294 return self._mode == self.MODE_11AC_PURE
300 if self._mode == self.MODE_11A:
302 if self._mode == self.MODE_11B:
304 if self._mode == self.MODE_11G:
319 return self._mode in (self.MODE_11N_MIXED, self.MODE_11N_PURE)
325 return self._mode in (self.MODE_11AC_MIXED, self.MODE_11AC_PURE)
564 self._mode = mode
576 'frequency %d' % (self._mode, self.frequency))
637 self._mode,
673 if self._mode == self.MODE_11A and frequency < 5000:
[all …]
/external/skqp/third_party/
Dthird_party.gni32 _mode = "static_library"
34 _mode = "source_set"
37 target(_mode, target_name) {
/external/skia/third_party/
Dthird_party.gni39 _mode = "static_library"
41 _mode = "source_set"
44 target(_mode, target_name) {
/external/python/cpython2/Lib/
Dfileinput.py216 self._mode = mode
317 self._file = open(self._backupfilename, self._mode)
337 self._file = self._openhook(self._filename, self._mode)
339 self._file = open(self._filename, self._mode)
Ddumbdbm.py49 self._mode = mode
225 self._os.chmod(file, self._mode)
/external/capstone/bindings/ocaml/
Docaml.c623 CAMLprim value ocaml_cs_disasm(value _arch, value _mode, value _code, value _addr, value _count) in ocaml_cs_disasm() argument
625 CAMLparam5(_arch, _mode, _code, _addr, _count); in ocaml_cs_disasm()
664 while (_mode != Val_emptylist) { in ocaml_cs_disasm()
665 head = Field(_mode, 0); /* accessing the head */ in ocaml_cs_disasm()
719 _mode = Field(_mode, 1); /* point to the tail for next loop */ in ocaml_cs_disasm()
754 CAMLprim value ocaml_open(value _arch, value _mode) in ocaml_open() argument
756 CAMLparam2(_arch, _mode); in ocaml_open()
795 while (_mode != Val_emptylist) { in ocaml_open()
796 head = Field(_mode, 0); /* accessing the head */ in ocaml_open()
850 _mode = Field(_mode, 1); /* point to the tail for next loop */ in ocaml_open()
Dcapstone.ml118 let cs_open _arch _mode: csh = (
119 let _handle = _cs_open _arch _mode in (
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
DHashList.cs64 private EnumerationMode _mode; field in Antlr.Runtime.Collections.HashList.HashListEnumerator
82 _mode = mode; in HashListEnumerator()
154 if (_mode == EnumerationMode.Key)
156 else if (_mode == EnumerationMode.Value)
/external/compiler-rt/lib/asan/scripts/
Dasan_device_setup380 local _mode=$3
383 echo "Installing $_to/$_basename $_mode $_context"
386 if [[ -n "$_mode" ]]; then
387 adb_shell chmod "$_mode" "$_to/$_basename"
/external/python/oauth2client/oauth2client/contrib/
Dlocked_file.py76 self._mode = mode
131 self._fh = open(self._filename, self._mode)
D_fcntl_opener.py45 self._fh = open(self._filename, self._mode)
D_win32_opener.py56 self._fh = open(self._filename, self._mode)
/external/libnl/python/netlink/
Dutil.py153 self._mode = mode
156 return capi.nl_rate2str(self._rate, self._mode, 32)[1]
/external/icu/icu4c/source/test/perf/normperf/
Dnormperf.h81 …uickCheckFn func, ULine* srcLines,int32_t srcNumLines, UNormalizationMode _mode, int32_t opts, UBo… in QuickCheckPerfFunction() argument
86 mode = _mode; in QuickCheckPerfFunction()
91 …ckCheckFn func, const UChar* source,int32_t sourceLen, UNormalizationMode _mode, int32_t opts, UBo… in QuickCheckPerfFunction() argument
96 mode = _mode; in QuickCheckPerfFunction()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_context.py216 self._mode = None
230 if self._mode is None:
233 return self._mode
242 new_ctx._mode = mode # pylint: disable=protected-access
Dtpu_embedding.py371 self._mode = mode
474 config_proto.mode = self._mode
724 if self._mode != TRAINING:
727 .format(self._mode))
/external/python/cpython3/Lib/dbm/
Ddumb.py49 self._mode = mode
292 self._os.chmod(file, self._mode)
/external/autotest/client/cros/
Dcros_disks.py452 self._mode = mode
506 os.chmod(path, self._mode)
540 os.chmod(path, self._mode)
/external/libxcam/xcore/
Ddrm_display.h144 drmModeModeInfo _mode; variable
/external/tensorflow/tensorflow/python/eager/
Dcontext.py454 def _mode(self, mode): member in Context
959 return context()._mode(GRAPH_MODE) # pylint: disable=protected-access
964 return context()._mode(EAGER_MODE) # pylint: disable=protected-access
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dhalf_normal.py179 def _mode(self): member in HalfNormal

123