Home
last modified time | relevance | path

Searched refs:_mode (Results 1 – 25 of 65) 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)):
184 mode_string_for_mode(self._mode),
218 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.py68 self._mode = _MODE_CLOSED
98 self._mode = mode_code
101 self._mode = mode_code
105 if self._mode == _MODE_READ:
119 if self._mode == _MODE_CLOSED:
122 if self._mode == _MODE_READ:
124 elif self._mode == _MODE_WRITE:
134 self._mode = _MODE_CLOSED
140 return self._mode == _MODE_CLOSED
154 return self._mode == _MODE_READ
[all …]
Dfileinput.py222 self._mode = mode
310 if 'b' in self._mode:
323 if 'b' in self._mode:
338 self._file = open(self._backupfilename, self._mode)
360 self._file = self._openhook(self._filename, self._mode)
362 self._file = open(self._filename, self._mode)
Dturtle.py991 self._mode = mode
1057 return self._mode
1061 self._mode = mode
1210 turtle._setmode(self._mode)
1525 self._mode = mode
1528 self._mode = None
1538 self._orient = TNavigator.START_ORIENTATION[self._mode]
1544 return self._mode
1547 self._mode = mode
1559 if self._mode == "standard":
/external/autotest/server/cros/network/
Dhostap_config.py286 return self._mode == self.MODE_11AC_PURE
292 if self._mode == self.MODE_11A:
294 if self._mode == self.MODE_11B:
296 if self._mode == self.MODE_11G:
311 return self._mode in (self.MODE_11N_MIXED, self.MODE_11N_PURE)
317 return self._mode in (self.MODE_11AC_MIXED, self.MODE_11AC_PURE)
522 self._mode = mode
534 'frequency %d' % (self._mode, self.frequency))
582 self._mode,
618 if self._mode == self.MODE_11A and frequency < 5000:
[all …]
/external/valgrind/include/
Dpub_tool_basics.h209 SysResMode _mode; member
288 switch (sr._mode) { in sr_isError()
301 switch (sr._mode) { in sr_Res()
314 switch (sr._mode) { in sr_ResHI()
327 switch (sr._mode) { in sr_Err()
341 return sr1._mode == sr2._mode in sr_EQ()
/external/libvncserver/webclients/novnc/include/
Dwebsock.js59 this._mode = 'base64'; // Current WebSocket mode: 'binary', 'base64'
285 this._mode = this._websocket.protocol;
288 this._mode = 'base64';
320 if (this._mode === 'binary') {
330 if (this._mode === 'binary') {
/external/valgrind/coregrind/
Dm_syscall.c209 res._mode = 0; /* invalid */ in VG_()
216 res._mode = isErr ? SysRes_UNIX_ERR : SysRes_UNIX_OK; in VG_()
222 res._mode = SysRes_MACH; in VG_()
228 res._mode = SysRes_MDEP; in VG_()
242 res._mode = 0; /* invalid */ in VG_()
249 res._mode = isErr ? SysRes_UNIX_ERR : SysRes_UNIX_OK; in VG_()
255 res._mode = SysRes_MACH; in VG_()
261 res._mode = SysRes_MDEP; in VG_()
276 r._mode = SysRes_UNIX_ERR; in VG_()
284 r._mode = SysRes_UNIX_OK; in VG_()
/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/antlr-3.4/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/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dtpu_context.py65 self._mode = None
72 if self._mode is None:
75 return self._mode
84 new_ctx._mode = mode # pylint: disable=protected-access
/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/eager/
Dcontext.py230 def _mode(self, mode): member in Context
513 return context()._mode(GRAPH_MODE) # pylint: disable=protected-access
518 return context()._mode(EAGER_MODE) # pylint: disable=protected-access
/external/autotest/client/cros/cellular/wardmodem/
Dat_transceiver.py80 self._mode = ATTransceiverMode.WARDMODEM
154 return self._mode
172 self._mode = value
/external/python/cpython3/Lib/dbm/
Ddumb.py49 self._mode = mode
287 self._os.chmod(file, self._mode)
/external/autotest/client/cros/
Dcros_disks.py441 self._mode = mode
495 os.chmod(path, self._mode)
529 os.chmod(path, self._mode)
/external/libxcam/xcore/
Ddrm_display.h144 drmModeModeInfo _mode; variable
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dhalf_normal.py167 def _mode(self): member in HalfNormal
/external/python/cpython2/Lib/lib-tk/
Dturtle.py947 self._mode = mode
1004 return self._mode
1008 self._mode = mode
1158 turtle._setmode(self._mode)
1441 self._mode = mode
1444 self._mode = None
1454 self._orient = TNavigator.START_ORIENTATION[self._mode]
1460 return self._mode
1463 self._mode = mode
1475 if self._mode == "standard":

123