/external/chromium/chrome/browser/metrics/ |
metric_event_duration_details.h | 15 : event_name(e), duration_ms(d) {} 17 std::string event_name; member in struct:MetricEventDurationDetails
|
/external/chromium_org/chrome/browser/metrics/ |
metric_event_duration_details.h | 14 : event_name(e), duration_ms(d) {} 16 std::string event_name; member in struct:MetricEventDurationDetails
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
ratelimitmanager.cc | 36 const std::string event_name) { 37 RateLimitMap::iterator it = rate_limits_.find(event_name); 44 bool RateLimitManager::IsWithinRateLimit(const std::string event_name) { 45 RateLimit* current_rate = GetRateLimit(event_name); 52 void RateLimitManager::UpdateRateLimit(const std::string event_name, 55 RateLimit* current_rate = GetRateLimit(event_name); 58 rate_limits_[event_name] = current_rate; 63 bool RateLimitManager::VerifyRateLimit(const std::string event_name, 66 return VerifyRateLimit(event_name, max_count, per_x_seconds, false); 69 bool RateLimitManager::VerifyRateLimit(const std::string event_name, [all...] |
ratelimitmanager.h | 68 bool VerifyRateLimit(const std::string event_name, int max_count, 73 bool VerifyRateLimit(const std::string event_name, int max_count, 128 RateLimit* GetRateLimit(const std::string event_name); 131 bool IsWithinRateLimit(const std::string event_name); 134 void UpdateRateLimit(const std::string event_name, int max_count,
|
/external/linux-tools-perf/scripts/python/ |
check-perf-trace.py | 28 def irq__softirq_entry(event_name, context, common_cpu, 31 print_header(event_name, common_cpu, common_secs, common_nsecs, 39 def kmem__kmalloc(event_name, context, common_cpu, 43 print_header(event_name, common_cpu, common_secs, common_nsecs, 54 def trace_unhandled(event_name, context, event_fields_dict): 56 unhandled[event_name] += 1 58 unhandled[event_name] = 1 60 def print_header(event_name, cpu, secs, nsecs, pid, comm): 62 (event_name, cpu, secs, nsecs, pid, comm), 81 for event_name in keys [all...] |
/external/linux-tools-perf/scripts/perl/ |
check-perf-trace.pl | 30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 34 print_header($event_name, $common_cpu, $common_secs, $common_nsecs, 45 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 50 print_header($event_name, $common_cpu, $common_secs, $common_nsecs, 87 foreach my $event_name (keys %unhandled) { 88 printf("%-40s %10d\n", $event_name, $unhandled{$event_name}); 94 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 97 $unhandled{$event_name}++; 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_ [all...] |
wakeup-latency.pl | 30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 53 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 96 foreach my $event_name (keys %unhandled) { 97 printf("%-40s %10d\n", $event_name, $unhandled{$event_name}); 103 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 106 $unhandled{$event_name}++;
|
rw-by-file.pl | 30 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 41 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 93 foreach my $event_name (keys %unhandled) { 94 printf("%-40s %10d\n", $event_name, $unhandled{$event_name}); 100 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 103 $unhandled{$event_name}++;
|
workqueue-stats.pl | 28 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 38 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 48 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 58 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 118 foreach my $event_name (keys %unhandled) { 119 printf("%-40s %10d\n", $event_name, $unhandled{$event_name}); 125 my ($event_name, $context, $common_cpu, $common_secs, $common_nsecs, 128 $unhandled{$event_name}++;
|
/external/linux-tools-perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
Core.py | 17 def define_flag_field(event_name, field_name, delim): 18 flag_fields[event_name][field_name]['delim'] = delim 20 def define_flag_value(event_name, field_name, value, field_str): 21 flag_fields[event_name][field_name]['values'][value] = field_str 23 def define_symbolic_field(event_name, field_name): 27 def define_symbolic_value(event_name, field_name, value, field_str): 28 symbolic_fields[event_name][field_name]['values'][value] = field_str 30 def flag_str(event_name, field_name, value): 33 if flag_fields[event_name][field_name]: 35 keys = flag_fields[event_name][field_name]['values'].keys( [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_devtools_events.cc | 22 const std::string& event_name, int* tab_id) { 25 if (IsStringASCII(event_name) && 26 StartsWithASCII(event_name, 32 event_name.substr(strlen(kDevToolsEventPrefix)), '.', &parts);
|
extension_event_router_forwarder.cc | 19 const std::string& event_name, const std::string& event_args, 21 HandleEvent("", event_name, event_args, 0, true, event_url); 25 const std::string& event_name, const std::string& event_args, 30 HandleEvent("", event_name, event_args, profile_id, 36 const std::string& event_name, const std::string& event_args, 38 HandleEvent(extension_id, event_name, event_args, 0, true, event_url); 43 const std::string& event_name, const std::string& event_args, 48 HandleEvent(extension_id, event_name, event_args, profile_id, 54 const std::string& event_name, const std::string& event_args, 63 extension_id, event_name, event_args, profile_id [all...] |
extension_event_router.h | 34 // Add or remove the process/extension pair as a listener for |event_name|. 38 void AddEventListener(const std::string& event_name, 41 void RemoveEventListener(const std::string& event_name, 46 bool HasEventListener(const std::string& event_name); 50 const std::string& event_name); 59 const std::string& event_name, const std::string& event_args, 65 const std::string& event_name, const std::string& event_args, 73 const std::string& event_name, const std::string& event_args,
|
extension_event_router.cc | 27 const std::string& event_name, 31 args.Set(0, Value::CreateStringValue(event_name)); 96 const std::string& event_name, 100 DCHECK_EQ(listeners_[event_name].count(listener), 0u) << event_name; 101 listeners_[event_name].insert(listener); 104 extension_devtools_manager_->AddEventListener(event_name, process->id()); 108 if (event_name.compare(extension_processes_api_constants::kOnUpdated) == 0) 113 const std::string& event_name, 117 DCHECK_EQ(listeners_[event_name].count(listener), 1u) < 119 " event=" << event_name; local [all...] |
extension_devtools_events.h | 21 static bool IsDevToolsEventName(const std::string& event_name, int* tab_id);
|
extension_event_router_forwarder.h | 33 // DispatchEventToRenderers(event_name, event_args, profile, event_url) 36 void BroadcastEventToRenderers(const std::string& event_name, 41 // DispatchEventToExtension(extension_id, event_name, event_args, 46 const std::string& event_name, 51 // DispatchEventToRenderers(event_name, event_args, 54 void DispatchEventToRenderers(const std::string& event_name, 61 // DispatchEventToExtension(extension_id, event_name, event_args, 65 const std::string& event_name, 81 const std::string& event_name, 91 const std::string& event_name, [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_info/ |
system_info_api.cc | 40 bool IsDisplayChangedEvent(const std::string& event_name) { 41 return event_name == system_display::OnDisplayChanged::kEventName; 44 bool IsSystemStorageEvent(const std::string& event_name) { 45 return (event_name == system_storage::OnAttached::kEventName || 46 event_name == system_storage::OnDetached::kEventName); 59 // Add/remove event listener for the |event_name| event. 60 void AddEventListener(const std::string& event_name); 61 void RemoveEventListener(const std::string& event_name); 75 void DispatchEvent(const std::string& event_name, 109 void SystemInfoEventRouter::AddEventListener(const std::string& event_name) { [all...] |
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
rules_registry_service.h | 43 std::string event_name; member in struct:extensions::RulesRegistryService::RulesRegistryKey 45 RulesRegistryKey(const std::string event_name, 47 : event_name(event_name), 50 return (event_name < other.event_name) || 51 ((event_name == other.event_name) && 75 // Returns the RulesRegistry for |event_name| and |webview_key| or NULL if no 80 const std::string& event_name); [all...] |
declarative_api.cc | 36 bool IsWebViewEvent(const std::string& event_name) { 40 return event_name.compare(0, strlen(kWebView), kWebView) == 0; 43 std::string GetWebRequestEventName(const std::string& event_name) { 44 std::string web_request_event_name(event_name); 59 std::string event_name; local 60 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &event_name)); 61 if (IsWebViewEvent(event_name) && 66 event_name, extension_, Feature::BLESSED_EXTENSION_CONTEXT, 72 std::string event_name; local 73 EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &event_name)); [all...] |
/external/ceres-solver/internal/ceres/ |
wall_time.h | 77 void AddEvent(const string& event_name);
|
/external/chromium_org/chrome/browser/extensions/ |
event_router_forwarder.h | 34 // DispatchEventToRenderers(event_name, event_args, profile, event_url) 37 void BroadcastEventToRenderers(const std::string& event_name, 42 // DispatchEventToExtension(extension_id, event_name, event_args, 47 const std::string& event_name, 52 // DispatchEventToRenderers(event_name, event_args, 55 void DispatchEventToRenderers(const std::string& event_name, 62 // DispatchEventToExtension(extension_id, event_name, event_args, 66 const std::string& event_name, 79 const std::string& event_name, 91 const std::string& event_name, [all...] |
event_router_forwarder.cc | 27 const std::string& event_name, 30 HandleEvent(std::string(), event_name, event_args.Pass(), 0, true, event_url); local 34 const std::string& event_name, 42 event_name, 51 const std::string& event_name, 54 HandleEvent(extension_id, event_name, event_args.Pass(), 0, true, event_url); 59 const std::string& event_name, 66 HandleEvent(extension_id, event_name, event_args.Pass(), profile, 71 const std::string& event_name, 80 extension_id, event_name, base::Passed(&event_args) [all...] |
/external/chromium_org/extensions/browser/ |
event_router.h | 87 const std::string& event_name, 98 // Add or remove the process/extension pair as a listener for |event_name|. 102 void AddEventListener(const std::string& event_name, 105 void RemoveEventListener(const std::string& event_name, 112 // |event_name| is added or removed. There can currently be only one observer 113 // for each distinct |event_name|. 115 const std::string& event_name); 128 void AddLazyEventListener(const std::string& event_name, 130 void RemoveLazyEventListener(const std::string& event_name, 134 void AddFilteredEventListener(const std::string& event_name, 314 std::string event_name; member in struct:extensions::Event 368 const std::string event_name; member in struct:extensions::EventListenerInfo 381 const std::string event_name; member in struct:extensions::EventDispatchInfo [all...] |
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
media_action.py | 28 def WaitForEvent(self, tab, selector, event_name, timeout): 34 event_name: Name of the event to check if fired or not. 38 self.HasEventCompletedOrError(tab, selector, event_name), 41 def HasEventCompletedOrError(self, tab, selector, event_name): 43 'window.__hasEventCompleted("%s", "%s");' % (selector, event_name)): 47 logging.error('Detected media error while waiting for %s: %s', event_name,
|
/external/chromium_org/chrome/renderer/extensions/ |
event_bindings.cc | 100 std::string event_name = *v8::String::Utf8Value(args[0]->ToString()); local 102 if (!dispatcher_->CheckContextAccessToExtensionAPI(event_name, context())) 108 if (++listener_counts[event_name] == 1) { 110 new ExtensionHostMsg_AddListener(extension_id, event_name)); 118 new ExtensionHostMsg_AddLazyListener(extension_id, event_name)); 127 std::string event_name = *v8::String::Utf8Value(args[0]); local 134 if (--listener_counts[event_name] == 0) { 136 new ExtensionHostMsg_RemoveListener(extension_id, event_name)); 146 new ExtensionHostMsg_RemoveLazyListener(extension_id, event_name)); 150 // MatcherID AttachFilteredEvent(string event_name, object filter 160 std::string event_name = *v8::String::Utf8Value(args[0]); local 252 const std::string& event_name = event_filter.GetEventName(matcher_id); local 271 std::string event_name = *v8::String::Utf8Value(args[0]->ToString()); local [all...] |