/external/chromium_org/chrome/browser/ui/ash/multi_user/ |
H A D | multi_user_window_manager.cc | 26 // Caching the current multi profile mode to avoid expensive detection 41 ash::MultiProfileUMA::SessionMode mode = local 51 mode = ash::MultiProfileUMA::SESSION_SEPARATE_DESKTOP_MODE; 53 // The side by side mode is using the Single user window manager since all 56 mode = ash::MultiProfileUMA::SESSION_SIDE_BY_SIDE_MODE; 58 ash::MultiProfileUMA::RecordSessionMode(mode); 75 // Note: In case of the M-31 mode the window manager won't exist. 96 MultiProfileMode mode) { 100 multi_user_mode_ = mode; 94 SetInstanceForTest( MultiUserWindowManager* instance, MultiProfileMode mode) argument
|
/external/e2fsprogs/lib/ |
H A D | fpopen.c | 33 extern FILE *fpopen(const char *cmd, const char *mode); 35 FILE *fpopen(const char *cmd, const char *mode) argument 45 if (!mode) { 50 switch (*mode) { 61 switch (*(mode+1)) { 113 return fdopen(do_stdin ? fds[1] : fds[0], mode);
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
H A D | HtmlTextEscapingMode.java | 138 * 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/arduino/hardware/arduino/cores/arduino/ |
H A D | WInterrupts.c | 1 /* -*- mode: jde; c-basic-offset: 2; indent-tabs-mode: nil -*- */ 39 void attachInterrupt(uint8_t interruptNum, void (*userFunc)(void), int mode) { argument 43 // Configure the interrupt mode (trigger on low input, any change, rising 44 // edge, or falling edge). The mode constants were chosen to correspond 46 // the mode into place. 53 EICRA = (EICRA & ~((1 << ISC00) | (1 << ISC01))) | (mode << ISC00); 57 EICRA = (EICRA & ~((1 << ISC10) | (1 << ISC11))) | (mode << ISC10); 61 EICRA = (EICRA & ~((1 << ISC20) | (1 << ISC21))) | (mode << ISC20); 65 EICRA = (EICRA & ~((1 << ISC30) | (1 << ISC31))) | (mode << ISC3 [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | SelectActionModeCallback.java | 99 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 100 mode.setTitle(null); 101 mode.setSubtitle(null); 104 createActionMenu(mode, menu); 109 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 116 createActionMenu(mode, menu); 122 private void createActionMenu(ActionMode mode, Menu menu) { argument 123 mode.getMenuInflater().inflate(R.menu.select_action_menu, menu); 146 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 153 mode 173 onDestroyActionMode(ActionMode mode) argument [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
H A D | Presence.java | 64 private Mode mode = null; field in class:Presence 68 * Creates a new presence update. Status, priority, and mode are left un-set. 77 * Creates a new presence update with a specified status, priority, and mode. 82 * @param mode the mode type for this presence update. 84 public Presence(Type type, String status, int priority, Mode mode) { argument 88 setMode(mode); 96 * when the user is available, their presence mode may be {@link Mode#away away}, 108 * mode is {@link Mode#away away}, {@link Mode#xa extended away}, or 109 * {@link Mode#dnd do not disturb}. False will be returned when the type or mode 202 setMode(Mode mode) argument [all...] |
/external/chromium_org/build/ |
H A D | compiler_version.py | 31 mode = args[0] 33 if mode not in ('host', 'target'): 34 raise Exception('Invalid mode: %s' % mode) 37 return mode, tool 104 (mode, tool) = ParseArgs(args[1:]) 109 ret_code, result = ExtractVersion(mode, tool) 118 (mode, tool) = ParseArgs(args) 119 ret_code, result = ExtractVersion(mode, tool) 125 def ExtractVersion(mode, too [all...] |
/external/chromium_org/content/browser/accessibility/ |
H A D | browser_accessibility_state_impl.cc | 127 AccessibilityMode mode) { 134 content::AddAccessibilityModeTo(accessibility_mode_, mode); 136 AddOrRemoveFromAllWebContents(mode, true); 140 AccessibilityMode mode) { 143 mode == AccessibilityModeComplete) { 148 content::RemoveAccessibilityModeFrom(accessibility_mode_, mode); 150 AddOrRemoveFromAllWebContents(mode, false); 154 AccessibilityMode mode, 160 web_contents_vector[i]->AddAccessibilityMode(mode); 162 web_contents_vector[i]->RemoveAccessibilityMode(mode); 126 AddAccessibilityMode( AccessibilityMode mode) argument 139 RemoveAccessibilityMode( AccessibilityMode mode) argument 153 AddOrRemoveFromAllWebContents( AccessibilityMode mode, bool add) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/glx/tests/ |
H A D | fake_glx_screen.h | 71 fake_glx_context(struct glx_screen *psc, struct glx_config *mode) argument 79 this->config = mode; 92 struct glx_config *mode, 103 return new fake_glx_context(psc, mode); 120 fake_glx_context_direct(struct glx_screen *psc, struct glx_config *mode) argument 121 : fake_glx_context(psc, mode) 126 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, argument 132 return new fake_glx_context_direct(psc, mode); 136 struct glx_config *mode, 147 return new fake_glx_context_direct(psc, mode); 91 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument 135 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument [all...] |
/external/chromium_org/v8/src/ |
H A D | code-factory.cc | 15 Callable CodeFactory::LoadIC(Isolate* isolate, ContextualMode mode) { argument 17 LoadIC::initialize_stub(isolate, LoadICState(mode).GetExtraICState()), 30 Callable CodeFactory::StoreIC(Isolate* isolate, StrictMode mode) { argument 31 return Callable(StoreIC::initialize_stub(isolate, mode), 37 Callable CodeFactory::KeyedStoreIC(Isolate* isolate, StrictMode mode) { argument 38 Handle<Code> ic = mode == SLOPPY 54 OverwriteMode mode) { 55 BinaryOpICStub stub(isolate, op, mode); 62 ToBooleanStub::ResultMode mode, 64 ToBooleanStub stub(isolate, mode, type 53 BinaryOpIC(Isolate* isolate, Token::Value op, OverwriteMode mode) argument 61 ToBoolean(Isolate* isolate, ToBooleanStub::ResultMode mode, ToBooleanStub::Types types) argument [all...] |
/external/mesa3d/src/glx/tests/ |
H A D | fake_glx_screen.h | 71 fake_glx_context(struct glx_screen *psc, struct glx_config *mode) argument 79 this->config = mode; 92 struct glx_config *mode, 103 return new fake_glx_context(psc, mode); 120 fake_glx_context_direct(struct glx_screen *psc, struct glx_config *mode) argument 121 : fake_glx_context(psc, mode) 126 static glx_context *create(struct glx_screen *psc, struct glx_config *mode, argument 132 return new fake_glx_context_direct(psc, mode); 136 struct glx_config *mode, 147 return new fake_glx_context_direct(psc, mode); 91 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument 135 create_attribs(struct glx_screen *psc, struct glx_config *mode, struct glx_context *shareList, unsigned num_attribs, const uint32_t *attribs, unsigned *error) argument [all...] |
/external/freetype/src/gzip/ |
H A D | inflate.c | 32 /* 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/bison/lib/ |
H A D | open.c | 31 orig_open (const char *filename, int flags, mode_t mode) argument 33 return open (filename, flags, mode); 55 mode_t mode; local 58 mode = 0; 66 mode = va_arg (arg, PROMOTED_MODE_T); 118 fd = orig_open (filename, flags, mode); 135 fd = open ("/dev/null", flags, mode);
|
/external/chromium_org/chrome/browser/ui/search/ |
H A D | search_model.cc | 15 SearchModel::State::State(const SearchMode& mode, argument 18 : mode(mode), 24 return mode == rhs.mode && instant_support == rhs.instant_support && 36 << "Please do not try to set the SearchModel mode without first " 51 << "Please do not try to set the SearchModel mode without first " 54 if (state_.mode == new_mode) 58 state_.mode = new_mode;
|
/external/chromium_org/third_party/opus/src/include/ |
H A D | opus_custom.h | 79 * 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/libopus/include/ |
H A D | opus_custom.h | 79 * 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/qemu/distrib/sdl-1.2.15/src/video/ggi/ |
H A D | SDL_ggivideo.c | 147 ggi_mode mode = local 165 SDL_SetError("Unhandled GGI mode type!\n"); 185 /* Validate mode, autodetecting any GGI_AUTO or GT_AUTO fields */ 186 ggiCheckMode(VIS, &mode); 188 /* At this point we should have a valid mode - try to set it */ 189 err = ggiSetMode(VIS, &mode); 194 SDL_SetError("Can't set a mode!\n"); 201 this->info.current_w = mode.virt.x; 202 this->info.current_h = mode.virt.y; 205 if (GT_SCHEME(mode 253 ggi_mode mode = local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/xbios/ |
H A D | SDL_xbios_centscreen.c | 39 int cur_handle; /* Current Centscreen mode handle */ 44 curmode.mode = curmode.physx = curmode.physy = curmode.plan = 51 if ((listedmode.mode & CSCREEN_VIRTUAL)==0) { 56 modeinfo.number = listedmode.mode; 66 curmode.mode = curmode.physx = curmode.physy = curmode.plan = 81 newmode.handle = newmode.mode = newmode.logx = newmode.logy = -1; 90 newmode.mode &= ~(CSCREEN_SAVER|CSCREEN_ENERGYSTAR); 99 /* Restore old video mode */ 101 newmode.mode = newmode.physx = newmode.physy = newmode.plan =
|
H A D | SDL_xbios_centscreen.h | 51 unsigned short mode; /* Falcon videomode code */ member in struct:__anon29617 77 #define Vfirst(mask,mode) \ 78 (long)trap_14_wll((short)0x46,(long)(mask),(long)(mode)) 79 #define Vnext(mask,mode) \ 80 (long)trap_14_wll((short)0x47,(long)(mask),(long)(mode)) 105 #define Vsize(mode) \ 106 (long)trap_14_wl((short)0x54,(long)(mode))
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 223 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/chromium_org/chrome/browser/chromeos/ |
H A D | ui_proxy_config.cc | 16 : mode(MODE_DIRECT), 25 mode = UIProxyConfig::MODE_PAC_SCRIPT; 30 mode = UIProxyConfig::MODE_SINGLE_PROXY; 41 mode = UIProxyConfig::MODE_PROXY_PER_SCHEME; 46 if (mode != UIProxyConfig::MODE_SINGLE_PROXY && 47 mode != UIProxyConfig::MODE_PROXY_PER_SCHEME) { 48 NOTREACHED() << "Cannot set bypass rules for proxy mode [" << mode << "]"; 60 mode = UIProxyConfig::MODE_DIRECT; 62 mode [all...] |
/external/chromium_org/remoting/host/ |
H A D | desktop_resizer_win.cc | 13 // TODO(jamiewalch): Use the correct DPI for the mode: http://crbug.com/172405. 50 DWORD mode_number, DWORD flags, DEVMODE* mode); 52 // Returns true if the mode has width, height, bits-per-pixel, frequency 54 static bool IsModeValid(const DEVMODE& mode); 56 // Returns the width & height of |mode|, or 0x0 if they are missing. 57 static ScreenResolution GetModeResolution(const DEVMODE& mode); 84 // the same resolution, store the one most closely matching the current mode 149 // Restore the display mode based on the registry configuration. 163 DWORD mode_number, DWORD flags, DEVMODE* mode) { 164 memset(mode, 162 GetPrimaryDisplayMode( DWORD mode_number, DWORD flags, DEVMODE* mode) argument 172 IsModeValid(const DEVMODE& mode) argument 180 GetModeResolution(const DEVMODE& mode) argument [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
H A D | normlzr.h | 150 * @param mode The normalization mode. 153 Normalizer(const UnicodeString& str, UNormalizationMode mode); 163 * @param mode The normalization mode. 166 Normalizer(const UChar* str, int32_t length, UNormalizationMode mode); 175 * @param mode The normalization mode. 178 Normalizer(const CharacterIterator& iter, UNormalizationMode mode); 199 * Normalizes a <code>UnicodeString</code> according to the specified normalization mode 769 quickCheck(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument 776 isNormalized(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument [all...] |
/external/icu/icu4c/source/common/unicode/ |
H A D | normlzr.h | 150 * @param mode The normalization mode. 153 Normalizer(const UnicodeString& str, UNormalizationMode mode); 163 * @param mode The normalization mode. 166 Normalizer(const UChar* str, int32_t length, UNormalizationMode mode); 175 * @param mode The normalization mode. 178 Normalizer(const CharacterIterator& iter, UNormalizationMode mode); 199 * Normalizes a <code>UnicodeString</code> according to the specified normalization mode 769 quickCheck(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument 776 isNormalized(const UnicodeString& source, UNormalizationMode mode, UErrorCode &status) argument [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/common/ |
H A D | tokenizer.py | 32 mode: The latest mode of the tokenizer. This allows patterns to distinguish 37 non-matched text when in the given mode. Defaults to Type.NORMAL. 48 non-matched text when in the given mode. Defaults to Type.NORMAL. 63 # The current mode. 64 self.mode = self.__starting_mode 112 for matcher in self.matchers[self.mode]: 121 self.__CreateNormalToken(self.mode, normal_token, line, 129 # Change the mode to the correct one for after this match. 130 self.mode [all...] |