constants 449 base/nix/mime_util_xdg.cc MimeUtilConstants* constants = MimeUtilConstants::GetInstance(); constants 450 base/nix/mime_util_xdg.cc if (constants->last_check_time_.is_null()) { constants 451 base/nix/mime_util_xdg.cc constants->last_check_time_ = TimeTicks::Now(); constants 459 base/nix/mime_util_xdg.cc TimeTicks::Now() - constants->last_check_time_; constants 460 base/nix/mime_util_xdg.cc if (time_since_last_check.InSeconds() > constants->kUpdateIntervalInSeconds) { constants 461 base/nix/mime_util_xdg.cc constants->last_check_time_ += time_since_last_check; constants 464 base/nix/mime_util_xdg.cc MimeUtilConstants::IconDirMtimeMap* icon_dirs = &constants->icon_dirs_; constants 476 base/nix/mime_util_xdg.cc constants->icon_dirs_.clear(); constants 477 base/nix/mime_util_xdg.cc constants->icon_themes_.clear(); constants 485 base/nix/mime_util_xdg.cc MimeUtilConstants* constants = MimeUtilConstants::GetInstance(); constants 487 base/nix/mime_util_xdg.cc MimeUtilConstants::IconDirMtimeMap* icon_dirs = &constants->icon_dirs_; constants 488 base/nix/mime_util_xdg.cc MimeUtilConstants::IconFormats* icon_formats = &constants->icon_formats_; constants 552 base/nix/mime_util_xdg.cc MimeUtilConstants* constants = MimeUtilConstants::GetInstance(); constants 553 base/nix/mime_util_xdg.cc MimeUtilConstants::IconThemeMap* icon_themes = &constants->icon_themes_; constants 558 base/nix/mime_util_xdg.cc IconTheme** default_themes = constants->default_themes_; constants 112 chrome/browser/extensions/activity_log/activity_actions.cc return (page_incognito() ? constants::kIncognitoUrl : "") + page_url().spec(); constants 116 chrome/browser/extensions/activity_log/activity_actions.cc set_page_incognito(StartsWithASCII(url, constants::kIncognitoUrl, true)); constants 118 chrome/browser/extensions/activity_log/activity_actions.cc set_page_url(GURL(url.substr(strlen(constants::kIncognitoUrl)))); constants 124 chrome/browser/extensions/activity_log/activity_actions.cc return (arg_incognito() ? constants::kIncognitoUrl : "") + arg_url().spec(); constants 128 chrome/browser/extensions/activity_log/activity_actions.cc set_arg_incognito(StartsWithASCII(url, constants::kIncognitoUrl, true)); constants 130 chrome/browser/extensions/activity_log/activity_actions.cc set_arg_url(GURL(url.substr(strlen(constants::kIncognitoUrl)))); constants 189 chrome/browser/extensions/activity_log/activity_actions.cc if (other()->GetBooleanWithoutPathExpansion(constants::kActionPrerender, constants 194 chrome/browser/extensions/activity_log/activity_actions.cc if (other()->GetDictionaryWithoutPathExpansion(constants::kActionWebRequest, constants 200 chrome/browser/extensions/activity_log/activity_actions.cc if (other()->GetStringWithoutPathExpansion(constants::kActionExtra, &extra)) constants 203 chrome/browser/extensions/activity_log/activity_actions.cc if (other()->GetIntegerWithoutPathExpansion(constants::kActionDomVerb, constants 51 chrome/browser/extensions/activity_log/activity_log.cc using constants::kArgUrlPlaceholder; constants 555 chrome/browser/extensions/activity_log/activity_log.cc if (other->GetInteger(constants::kActionDomVerb, &dom_verb) && constants 557 chrome/browser/extensions/activity_log/activity_log.cc other->SetInteger(constants::kActionDomVerb, DomActionType::XHR); constants 606 chrome/browser/extensions/activity_log/activity_log.cc action->mutable_other()->SetBoolean(constants::kActionPrerender, true); constants 117 chrome/browser/extensions/activity_log/activity_log_policy.cc if (action->mutable_other()->GetDictionary(constants::kActionWebRequest, constants 57 chrome/browser/net/chrome_net_log.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); constants 58 chrome/browser/net/chrome_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); constants 121 chrome/browser/net/net_log_temp_file.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); constants 122 chrome/browser/net/net_log_temp_file.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); constants 59 chrome/browser/speech/extension_api/tts_engine_extension_api.cc constants::kErrorMissingPauseOrResume)); constants 105 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (voice.gender == constants::kGenderMale) constants 107 chrome/browser/speech/extension_api/tts_engine_extension_api.cc else if (voice.gender == constants::kGenderFemale) constants 121 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (voice.event_types.find(constants::kEventTypeEnd) != constants 143 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (options->HasKey(constants::kRequiredEventTypesKey)) constants 144 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kRequiredEventTypesKey, NULL); constants 145 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (options->HasKey(constants::kDesiredEventTypesKey)) constants 146 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kDesiredEventTypesKey, NULL); constants 147 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (sends_end_event && options->HasKey(constants::kEnqueueKey)) constants 148 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kEnqueueKey, NULL); constants 149 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (options->HasKey(constants::kSrcIdKey)) constants 150 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kSrcIdKey, NULL); constants 151 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (options->HasKey(constants::kIsFinalEventKey)) constants 152 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kIsFinalEventKey, NULL); constants 153 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (options->HasKey(constants::kOnEventKey)) constants 154 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->Remove(constants::kOnEventKey, NULL); constants 159 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (!options->HasKey(constants::kVoiceNameKey)) constants 160 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->SetString(constants::kVoiceNameKey, voice.name); constants 161 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (!options->HasKey(constants::kLangKey)) constants 162 chrome/browser/speech/extension_api/tts_engine_extension_api.cc options->SetString(constants::kLangKey, voice.lang); constants 216 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetString(constants::kEventTypeKey, &event_type)); constants 219 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (event->HasKey(constants::kCharIndexKey)) { constants 221 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetInteger(constants::kCharIndexKey, &char_index)); constants 230 chrome/browser/speech/extension_api/tts_engine_extension_api.cc error_ = constants::kErrorUndeclaredEventType; constants 242 chrome/browser/speech/extension_api/tts_engine_extension_api.cc error_ = constants::kErrorUndeclaredEventType; constants 247 chrome/browser/speech/extension_api/tts_engine_extension_api.cc if (event_type == constants::kEventTypeStart) { constants 250 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeEnd) { constants 253 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeWord) { constants 256 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeSentence) { constants 259 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeMarker) { constants 262 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeError) { constants 264 chrome/browser/speech/extension_api/tts_engine_extension_api.cc event->GetString(constants::kErrorMessageKey, &error_message); constants 267 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypePause) { constants 270 chrome/browser/speech/extension_api/tts_engine_extension_api.cc } else if (event_type == constants::kEventTypeResume) { constants 30 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeStart; constants 32 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeEnd; constants 34 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeWord; constants 36 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeSentence; constants 38 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeMarker; constants 40 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeInterrupted; constants 42 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeCancelled; constants 44 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeError; constants 46 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypePause; constants 48 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeResume; constants 51 chrome/browser/speech/extension_api/tts_extension_api.cc return constants::kEventTypeError; constants 56 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeStart) constants 58 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeEnd) constants 60 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeWord) constants 62 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeSentence) constants 64 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeMarker) constants 66 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeInterrupted) constants 68 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeCancelled) constants 70 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeError) constants 72 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypePause) constants 74 chrome/browser/speech/extension_api/tts_extension_api.cc if (str == constants::kEventTypeResume) constants 117 chrome/browser/speech/extension_api/tts_extension_api.cc details->SetInteger(constants::kCharIndexKey, char_index); constants 118 chrome/browser/speech/extension_api/tts_extension_api.cc details->SetString(constants::kEventTypeKey, event_type_string); constants 120 chrome/browser/speech/extension_api/tts_extension_api.cc details->SetString(constants::kErrorMessageKey, error_message); constants 122 chrome/browser/speech/extension_api/tts_extension_api.cc details->SetInteger(constants::kSrcIdKey, utterance->src_id()); constants 123 chrome/browser/speech/extension_api/tts_extension_api.cc details->SetBoolean(constants::kIsFinalEventKey, utterance->finished()); constants 144 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorUtteranceTooLong; constants 156 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kVoiceNameKey)) { constants 158 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetString(constants::kVoiceNameKey, &voice_name)); constants 162 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kLangKey)) constants 163 chrome/browser/speech/extension_api/tts_extension_api.cc EXTENSION_FUNCTION_VALIDATE(options->GetString(constants::kLangKey, &lang)); constants 165 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorInvalidLang; constants 171 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kGenderKey)) constants 173 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetString(constants::kGenderKey, &gender_str)); constants 174 chrome/browser/speech/extension_api/tts_extension_api.cc if (gender_str == constants::kGenderMale) { constants 176 chrome/browser/speech/extension_api/tts_extension_api.cc } else if (gender_str == constants::kGenderFemale) { constants 181 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorInvalidGender; constants 186 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kRateKey)) { constants 188 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetDouble(constants::kRateKey, &rate)); constants 190 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorInvalidRate; constants 196 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kPitchKey)) { constants 198 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetDouble(constants::kPitchKey, &pitch)); constants 200 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorInvalidPitch; constants 206 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kVolumeKey)) { constants 208 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetDouble(constants::kVolumeKey, &volume)); constants 210 chrome/browser/speech/extension_api/tts_extension_api.cc error_ = constants::kErrorInvalidVolume; constants 216 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kEnqueueKey)) { constants 218 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetBoolean(constants::kEnqueueKey, &can_enqueue)); constants 222 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kRequiredEventTypesKey)) { constants 225 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetList(constants::kRequiredEventTypesKey, &list)); constants 234 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kDesiredEventTypesKey)) { constants 237 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetList(constants::kDesiredEventTypesKey, &list)); constants 246 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kExtensionIdKey)) { constants 248 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetString(constants::kExtensionIdKey, &voice_extension_id)); constants 252 chrome/browser/speech/extension_api/tts_extension_api.cc if (options->HasKey(constants::kSrcIdKey)) { constants 254 chrome/browser/speech/extension_api/tts_extension_api.cc options->GetInteger(constants::kSrcIdKey, &src_id)); constants 319 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetString(constants::kVoiceNameKey, voice.name); constants 320 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetBoolean(constants::kRemoteKey, voice.remote); constants 322 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetString(constants::kLangKey, voice.lang); constants 324 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetString(constants::kGenderKey, constants::kGenderMale); constants 326 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetString(constants::kGenderKey, constants::kGenderFemale); constants 328 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->SetString(constants::kExtensionIdKey, voice.extension_id); constants 336 chrome/browser/speech/extension_api/tts_extension_api.cc result_voice->Set(constants::kEventTypesKey, event_types); constants 352 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc scoped_ptr<base::Value> constants(NetInternalsUI::GetConstants()); constants 354 chrome/browser/ui/webui/net_internals/net_internals_ui_browsertest.cc temp_file_handle, *constants)); constants 87 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = GetDomainConstants(domain); constants 88 components/policy/core/common/cloud/component_cloud_policy_store.cc if (constants) constants 89 components/policy/core/common/cloud/component_cloud_policy_store.cc *policy_type = constants->policy_type; constants 90 components/policy/core/common/cloud/component_cloud_policy_store.cc return constants != NULL; constants 96 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = GetDomainConstantsForType(policy_type); constants 97 components/policy/core/common/cloud/component_cloud_policy_store.cc if (constants) constants 98 components/policy/core/common/cloud/component_cloud_policy_store.cc *domain = constants->domain; constants 99 components/policy/core/common/cloud/component_cloud_policy_store.cc return constants != NULL; constants 125 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants& constants = kDomains[domain]; constants 127 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->LoadAllSubkeys(constants.proto_cache_key, &protos); constants 130 components/policy/core/common/cloud/component_cloud_policy_store.cc PolicyNamespace ns(constants.domain, id); constants 137 components/policy/core/common/cloud/component_cloud_policy_store.cc proto.Pass(), constants.policy_type, id, &payload, NULL)) { constants 145 components/policy/core/common/cloud/component_cloud_policy_store.cc if (cache_->Load(constants.data_cache_key, id, &data) && constants 163 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = GetDomainConstants(ns.domain); constants 166 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants || !ValidateData(data, secure_hash, &policy)) constants 170 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Store(constants->proto_cache_key, ns.component_id, serialized_policy); constants 171 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Store(constants->data_cache_key, ns.component_id, data); constants 181 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = GetDomainConstants(ns.domain); constants 182 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants) constants 185 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Delete(constants->proto_cache_key, ns.component_id); constants 186 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->Delete(constants->data_cache_key, ns.component_id); constants 198 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = GetDomainConstants(domain); constants 199 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants) constants 202 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->FilterSubkeys(constants->proto_cache_key, filter); constants 203 components/policy/core/common/cloud/component_cloud_policy_store.cc cache_->FilterSubkeys(constants->data_cache_key, filter); constants 260 components/policy/core/common/cloud/component_cloud_policy_store.cc const DomainConstants* constants = constants 262 components/policy/core/common/cloud/component_cloud_policy_store.cc if (!constants || !policy_data.has_settings_entity_id()) constants 265 components/policy/core/common/cloud/component_cloud_policy_store.cc ns->domain = constants->domain; constants 111 content/browser/media/media_internals_proxy.cc base::DictionaryValue* constants = new base::DictionaryValue(); constants 112 content/browser/media/media_internals_proxy.cc constants->Set("eventTypes", net::NetLog::GetEventTypesAsValue()); constants 113 content/browser/media/media_internals_proxy.cc constants->Set("eventPhases", event_phases); constants 115 content/browser/media/media_internals_proxy.cc return constants; constants 59 content/shell/browser/shell_net_log.cc scoped_ptr<base::Value> constants(GetShellConstants(app_name)); constants 60 content/shell/browser/shell_net_log.cc net_log_logger_.reset(new net::NetLogLogger(file, *constants)); constants 25 net/base/net_log_logger.cc NetLogLogger::NetLogLogger(FILE* file, const base::Value& constants) constants 33 net/base/net_log_logger.cc base::JSONWriter::Write(&constants, &json); constants 29 net/base/net_log_logger.h NetLogLogger(FILE* file, const base::Value& constants); constants 33 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); constants 34 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); constants 55 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); constants 56 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); constants 87 net/base/net_log_logger_unittest.cc scoped_ptr<base::Value> constants(NetLogLogger::GetConstants()); constants 88 net/base/net_log_logger_unittest.cc NetLogLogger logger(file, *constants); constants 161 third_party/libwebp/dsp/dec_neon.c const int16_t constants[] = {20091, 17734, 0, 0}; constants 303 third_party/libwebp/dsp/dec_neon.c : [kBPS] "r"(kBPS), [constants] "r"(constants) /* constants */ constants 121 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc } constants[] = { constants 134 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc for (NameValue* constant = constants;