/external/autotest/server/cros/ap_configurators/ |
linksyswrt54gs2_ap_configurator.py | 18 def _set_mode(self, mode): 22 if mode in self.get_supported_modes()[0]['modes']: 23 mode_name = mode_mapping.get(mode) 25 mode_name = mode 27 raise RuntimeError('The mode selected %d is not supported by router' 28 ' %s.', hex(mode), self.name)
|
asus_ac66r_ap_configurator.py | 14 def set_mode(self, mode, band=None): 16 self.add_item_to_command_list(self._set_mode, (mode, band), 1, 900) 19 def _set_mode(self, mode, band=None): 22 if mode == ap_spec.MODE_AUTO: 24 elif mode == ap_spec.MODE_N: 27 raise RuntimeError('Invalid mode passed %x' % mode)
|
/external/libxml2/win32/wince/ |
wincecompat.c | 34 char mode[3]; /* mode[0] ="w/r/a" mode[1]="+" */ local 35 mode[2]=0; 37 mode[0]='w'; 39 mode[0]='r'; 40 return (int) fopen(filename, mode);
|
/external/python/cpython3/Lib/ |
stat.py | 19 # Extract bits from the mode 21 def S_IMODE(mode): 22 """Return the portion of the file's mode that can be set by 25 return mode & 0o7777 27 def S_IFMT(mode): 28 """Return the portion of the file's mode that describes the 31 return mode & 0o170000 46 def S_ISDIR(mode): 47 """Return True if mode is from a directory.""" 48 return S_IFMT(mode) == S_IFDI [all...] |
/external/skia/src/gpu/effects/ |
GrBlurredEdgeFragmentProcessor.h | 19 enum class Mode { kGaussian = 0, kSmoothStep = 1 }; 20 Mode mode() const { return fMode; } function in class:GrBlurredEdgeFragmentProcessor::Mode 21 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode) { 22 return std::unique_ptr<GrFragmentProcessor>(new GrBlurredEdgeFragmentProcessor(mode)); 29 GrBlurredEdgeFragmentProcessor(Mode mode) 31 , fMode(mode) {} 36 Mode fMode [all...] |
/external/skqp/src/gpu/effects/ |
GrBlurredEdgeFragmentProcessor.h | 19 enum class Mode { kGaussian = 0, kSmoothStep = 1 }; 20 Mode mode() const { return fMode; } function in class:GrBlurredEdgeFragmentProcessor::Mode 21 static std::unique_ptr<GrFragmentProcessor> Make(Mode mode) { 22 return std::unique_ptr<GrFragmentProcessor>(new GrBlurredEdgeFragmentProcessor(mode)); 29 GrBlurredEdgeFragmentProcessor(Mode mode) 31 , fMode(mode) {} 36 Mode fMode [all...] |
/external/syslinux/com32/lib/ |
fopen.c | 9 FILE *fopen(const char *file, const char *mode) 15 while (*mode) { 16 switch (*mode) { 30 mode++; 42 return fdopen(fd, mode);
|
fopendev.c | 9 FILE *fopendev(const struct dev_info * dev, const char *mode) 15 while (*mode) { 16 switch (*mode) { 30 mode++; 42 return fdopen(fd, mode);
|
/external/syslinux/com32/lib/sys/ |
zfopen.c | 10 FILE *zfopen(const char *file, const char *mode) 16 while (*mode) { 17 switch (*mode) { 31 mode++; 43 return fdopen(fd, mode);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ViewMode.java | 29 * Represents the view mode for the tablet Gmail activity. 31 * dependent on the mode should listen to changes on this object. 35 * A listener for changes on a ViewMode. To listen to mode changes, implement this 37 * instance. On mode changes, the onViewModeChanged method will be called with the new mode. 41 * Called when the mode has changed. 47 * Mode when showing a single conversation. 51 * Mode when showing a list of conversations 55 * Mode when showing results from user search. 59 * Mode when showing results from user search [all...] |
/external/autotest/client/cros/scripts/ |
reorder-services-moblab.sh | 21 local mode="${1}" 26 if [ "${mode}" = "ethernet" ]; then 38 local mode="${1}" 46 set_route "${mode}" "${ip}" "${host}" 192.168.231.254 51 local mode="${1}" 57 find_route "${mode}" "${foreign%:*}" 66 mode="${1:-}" 67 if [ "${mode}" != "wifi" -a "${mode}" != "ethernet" ]; then 76 if [ "${mode}" = "ethernet" ]; the [all...] |
/external/mesa3d/src/glx/ |
glxconfig.c | 46 * \param mode GL context mode whose data is to be returned. 47 * \param attribute Attribute of \c mode that is to be returned. 48 * \param value_return Location to store the data member of \c mode. 49 * \return If \c attribute is a valid attribute of \c mode, zero is 53 glx_config_get(struct glx_config * mode, int attribute, int *value_return) 60 *value_return = mode->rgbBits; 63 *value_return = mode->rgbMode; 66 *value_return = mode->redBits; 69 *value_return = mode->greenBits [all...] |
/external/libopus/celt/dump_modes/ |
dump_modes_arm_ne10.c | 59 CELTMode *mode = modes[i]; local 60 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); 71 void dump_mode_arch(CELTMode *mode) 76 mdctSize = mode->shortMdctSize*mode->nbShortMdcts; 78 fprintf(file, "#ifndef NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); 79 fprintf(file, "#define NE10_FFT_PARAMS%d_%d\n", mode->Fs, mdctSize); 81 for(k=0;k<=mode->mdct.maxshift;k++) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewMeasureSpec.java | 30 public static int makeMeasureSpec (int size, int mode) { 31 return size + mode; 36 int mode = getMode(measureSpec); local 41 if (mode == View.MeasureSpec.UNSPECIFIED) 43 else if (mode == View.MeasureSpec.EXACTLY) 45 else if (mode == View.MeasureSpec.AT_MOST) 48 sb.append(mode).append(" ");
|
/external/xz-embedded/linux/lib/xz/ |
xz_private.h | 53 /* If no specific decoding mode is requested, enable support for all modes. */ 62 * The DEC_IS_foo(mode) macros are used in "if" statements. If only some 67 # define DEC_IS_SINGLE(mode) ((mode) == XZ_SINGLE) 69 # define DEC_IS_SINGLE(mode) (false) 73 # define DEC_IS_PREALLOC(mode) ((mode) == XZ_PREALLOC) 75 # define DEC_IS_PREALLOC(mode) (false) 79 # define DEC_IS_DYNALLOC(mode) ((mode) == XZ_DYNALLOC [all...] |
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
JSONWriter.java | 69 * The current mode. Values: 76 protected char mode; field in class:JSONWriter 98 this.mode = 'i'; 114 if (this.mode == 'o' || this.mode == 'a') { 116 if (this.comma && this.mode == 'a') { 123 if (this.mode == 'o') { 124 this.mode = 'k'; 142 if (this.mode == 'i' || this.mode == 'o' || this.mode == 'a') [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
op_classes.c | 19 static enum chan_allowed allow_channel(struct hostapd_hw_modes *mode, u8 chan, 24 for (i = 0; i < mode->num_channels; i++) { 25 if (mode->channels[i].chan == chan) 29 if (i == mode->num_channels || 30 (mode->channels[i].flag & HOSTAPD_CHAN_DISABLED)) 34 *flags = mode->channels[i].flag; 36 if (mode->channels[i].flag & HOSTAPD_CHAN_NO_IR) 43 static int get_center_80mhz(struct hostapd_hw_modes *mode, u8 channel) 48 if (mode->mode != HOSTAPD_MODE_IEEE80211A 215 struct hostapd_hw_modes *mode; local [all...] |
/external/curl/docs/cmdline-opts/ |
ftp-ssl-ccc-mode.d | 1 Long: ftp-ssl-ccc-mode 3 Help: Set CCC mode 8 Sets the CCC mode. The passive mode will not initiate the shutdown, but 10 the server. The active mode initiates the shutdown and waits for a reply from
|
/hardware/intel/img/psb_video/src/android/ |
psb_mds.cpp | 60 int mode = MDS_MODE_NONE; local 62 mode = mListener->getDisplayMode(false); 63 if (checkMode(mode, (MDS_VIDEO_ON | MDS_HDMI_CONNECTED))) 64 mode = MDS_HDMI_VIDEO_ISPLAYING; 65 else if (checkMode(mode, (MDS_VIDEO_ON | MDS_WIDI_ON))) 66 mode = MDS_WIDI_VIDEO_ISPLAYING; 68 mode = MDS_INIT_VALUE; 69 //ALOGV("mds mode is %d", mode); 70 return mode; 84 int mode = mListener->getDisplayMode(false); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List15.java | 31 * This demo illustrates the use of CHOICE_MODE_MULTIPLE_MODAL, a.k.a. selection mode on ListView. 52 public boolean onCreateActionMode(ActionMode mode, Menu menu) { 55 mode.setTitle("Select Items"); 56 setSubtitle(mode); 60 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { 64 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { 69 mode.finish(); 79 public void onDestroyActionMode(ActionMode mode) { 82 public void onItemCheckedStateChanged(ActionMode mode, 84 setSubtitle(mode); [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
flags.c | 2 Implementation of internal function to return the (stdio) flags for a given mode.
58 * Return the (stdio) flags for a given mode. Store the flags
63 __sflags(const char *mode, int *optr)
67 _DIAGASSERT(mode != NULL);
69 switch (*mode++) {
89 default: /* illegal mode */
98 for (; *mode; mode++)
99 switch (*mode) {
|
/external/clang/test/CodeGen/ |
attr-mode-vector-types.c | 3 typedef int __attribute__((mode(byte))) __attribute__((vector_size(4))) vec_t1; 4 typedef int __attribute__((mode(QI))) __attribute__((vector_size(8))) vec_t2; 5 typedef int __attribute__((mode(SI))) __attribute__((vector_size(16))) vec_t3; 6 typedef int __attribute__((mode(DI))) __attribute__((vector_size(64)))vec_t4; 7 typedef float __attribute__((mode(SF))) __attribute__((vector_size(128))) vec_t5; 8 typedef float __attribute__((mode(DF))) __attribute__((vector_size(256))) vec_t6;
|
/external/mesa3d/src/compiler/glsl/ |
opt_dead_builtin_variables.cpp | 42 if (var->data.mode != ir_var_uniform 43 && var->data.mode != ir_var_auto 44 && var->data.mode != ir_var_system_value 45 && var->data.mode != other) 51 if ((var->data.mode == other || var->data.mode == ir_var_system_value)
|
/toolchain/binutils/binutils-2.27/libiberty/ |
fopen_unlocked.c | 40 const char * @var{mode}) 50 const char * @var{mode}) 60 const char * @var{mode}, FILE * @var{stream}) 108 fopen_unlocked (const char *path, const char *mode) 110 FILE *const fp = fopen (path, mode); 116 fdopen_unlocked (int fildes, const char *mode) 118 FILE *const fp = fdopen (fildes, mode); 124 freopen_unlocked (const char *path, const char *mode, FILE *stream) 126 FILE *const fp = freopen (path, mode, stream);
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/fvp/ |
fvp_io_storage.c | 40 .mode = FOPEN_MODE_RB 44 .mode = FOPEN_MODE_RB 48 .mode = FOPEN_MODE_RB 52 .mode = FOPEN_MODE_RB 57 .mode = FOPEN_MODE_RB 61 .mode = FOPEN_MODE_RB 65 .mode = FOPEN_MODE_RB 69 .mode = FOPEN_MODE_RB 73 .mode = FOPEN_MODE_RB 77 .mode = FOPEN_MODE_R [all...] |