| /external/perfetto/src/traced/probes/sys_stats/ |
| sys_stats_data_source_unittest.cc | 209 auto instance = std::unique_ptr<SysStatsDataSource>(new SysStatsDataSource( local 211 instance->set_ns_per_user_hz_for_testing(1000000000ull / 100); // 100 Hz. 212 instance->Start(); 213 return instance;
|
| /external/swiftshader/tests/VulkanUnitTests/ |
| unittests.cpp | 99 VkInstance instance = VK_NULL_HANDLE;
local 100 result = vkCreateInstance(&createInfo, nullptr, &instance);
104 result = vkEnumeratePhysicalDevices(instance, &pPhysicalDeviceCount, nullptr);
109 result = vkEnumeratePhysicalDevices(instance, &pPhysicalDeviceCount, &pPhysicalDevice);
|
| /external/syzkaller/pkg/instance/ |
| instance.go | 4 // Package instance provides helper functions for creation of temporal instances 6 package instance package 129 Boot bool // says if the error happened during booting or during instance testing 189 vm *vm.Instance
|
| /external/syzkaller/vm/gce/ |
| gce.go | 51 type instance struct { type 58 gceKey string // per-instance private ssh key associated with the instance 98 GCE.Instance, GCE.InternalIP, GCE.ProjectID, GCE.ZoneID, GCE.Network, GCE.Subnetwork) 127 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 129 // Create SSH key for the instance. 140 log.Logf(0, "deleting instance: %v", name) 144 log.Logf(0, "creating instance: %v", name) 163 log.Logf(0, "wait instance to boot: %v (%v)", name, ip) 173 inst := &instance{ [all...] |
| /external/syzkaller/vm/gvisor/ |
| gvisor.go | 39 type instance struct { type 78 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 116 inst := &instance{ 126 // Kill the previous instance in case it's still running. 148 func (inst *instance) waitBoot() error { 187 func (inst *instance) runscCmd(add ...string) *exec.Cmd { 205 func (inst *instance) Close() { 215 func (inst *instance) Forward(port int) (string, error) { 223 func (inst *instance) Copy(hostSrc string) (string, error) { 234 func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command string) [all...] |
| /external/syzkaller/vm/isolated/ |
| isolated.go | 37 type instance struct { type 79 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 81 inst := &instance{ 111 func (inst *instance) Forward(port int) (string, error) { 122 func (inst *instance) ssh(command string) error { 173 func (inst *instance) repair() error { 200 func (inst *instance) waitForSSH(timeout time.Duration) error { 205 func (inst *instance) waitForReboot(timeout int) error { 223 func (inst *instance) Close() { 227 func (inst *instance) Copy(hostSrc string) (string, error) [all...] |
| /external/syzkaller/vm/qemu/ |
| qemu.go | 48 type instance struct { type 211 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) { 240 func (pool *Pool) ctor(workdir, sshkey, sshuser string, index int) (vmimpl.Instance, error) { 241 inst := &instance{ 279 func (inst *instance) Close() { 295 func (inst *instance) Boot() error { 389 func (inst *instance) Forward(port int) (string, error) { 397 func (inst *instance) targetDir() string { 404 func (inst *instance) Copy(hostSrc string) (string, error) { 429 func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command string) [all...] |
| /external/tensorflow/tensorflow/core/util/ |
| dump_graph.cc | 36 static NameCounts& instance = *new NameCounts; local 48 mutex_lock lock(instance.counts_mutex); 49 count = instance.counts[name]++;
|
| /external/webrtc/webrtc/system_wrappers/include/ |
| static_instance.h | 40 static T* volatile instance = NULL; local 70 instance = T::CreateInstance(); 72 T* old_instance = instance; 73 instance = NULL; 96 // The instance has been destroyed by some other thread. Rollback. 102 if (instance == NULL) { 113 // updated just yet (that's done when the instance is created). 126 // Create instance and let whichever thread finishes first assign its 127 // local copy to the global instance. All other threads reclaim their 131 InterlockedExchangePointer(reinterpret_cast<void * volatile*>(&instance), [all...] |
| /external/webrtc/webrtc/test/channel_transport/ |
| traffic_control_win.cc | 20 TrafficControlWindows* TrafficControlWindows::instance = NULL; member in class:webrtc::test::TrafficControlWindows 30 if(instance != NULL) 38 return instance; 43 instance = new TrafficControlWindows(id); 44 if(instance == NULL) 51 instance->tcRegister = NULL; 52 instance->tcDeregister = NULL; 54 instance->tcEnumerate = NULL; 55 instance->tcOpenInterface = NULL; 56 instance->tcCloseInterface = NULL [all...] |
| /art/libartpalette/apex/ |
| palette.cc | 33 // Generic method used when a dynamically loaded palette instance does not 49 static PaletteLoader& Instance() { 50 static PaletteLoader instance; local 51 return instance; 114 PaletteGetVersionMethod m = PaletteLoader::Instance().GetPaletteGetVersionMethod(); 119 PaletteSchedSetPriorityMethod m = PaletteLoader::Instance().GetPaletteSchedSetPriorityMethod(); 124 PaletteSchedGetPriorityMethod m = PaletteLoader::Instance().GetPaletteSchedGetPriorityMethod(); 130 PaletteLoader::Instance().GetPaletteWriteCrashThreadStacksMethod(); 135 PaletteTraceEnabledMethod m = PaletteLoader::Instance().GetPaletteTraceEnabledMethod(); 140 PaletteTraceBeginMethod m = PaletteLoader::Instance().GetPaletteTraceBeginMethod() [all...] |
| /bionic/libc/kernel/uapi/linux/ |
| qrtr.h | 48 __le32 instance; member in struct:qrtr_ctrl_pkt::__anon1046::__anon1047
|
| /cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
| SoundGenerator.java | 8 private static SoundGenerator instance; field in class:SoundGenerator 49 if (instance == null) { 50 instance = new SoundGenerator(); 52 return instance;
|
| /cts/hostsidetests/gputools/apps/jni/ |
| android_gputools_cts_RootlessGpuDebug.cpp | 61 VkInstance instance; local 62 VkResult vkResult = vkCreateInstance(&instance_info, nullptr, &instance);
|
| /device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/ |
| Path.c | 136 /** Process a wide character string representing a Mapping Path and extract the instance number.
138 The instance number is the sequence of decimal digits immediately to the left
143 If either of these are not true, an instance value of 0 is returned.
145 If Path is NULL, an instance value of 0 is returned.
160 int instance = 0;
local 169 instance = (int)wcstol(temp+1, NULL, 10);
171 return instance;
249 /** Parse a path producing the target device, device instance, and file path.
286 int Instance = 0;
303 Instance = PathInstance(WPath, MapLen); [all...] |
| /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
| rx-eventloop.hpp | 107 static scheduler instance = make_scheduler<event_loop>(); local 108 return instance;
|
| /external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
| BenchmarkCreator.java | 69 Object instance; local 71 instance = benchmarkClassCtor.newInstance(); 87 field.set(instance, parser.parse(parameters.get(field.getName()))); 100 return instance;
|
| /external/catch2/include/internal/ |
| catch_console_colour.cpp | 39 static IColourImpl* instance() { function in struct:Catch::__anon15655::NoColourImpl 116 : NoColourImpl::instance(); 156 static IColourImpl* instance() { 191 ? PosixColourImpl::instance() 192 : NoColourImpl::instance(); 202 static IColourImpl* platformColourInstance() { return NoColourImpl::instance(); }
|
| /external/desugar/java/com/google/devtools/common/options/ |
| OptionsData.java | 83 ExpansionFunction instance; local 86 instance = (ExpansionFunction) constructor.newInstance(); 92 ImmutableList<String> expansion = instance.getExpansion(isolatedData);
|
| /external/grpc-grpc/src/core/lib/security/context/ |
| security_context.h | 80 void* instance; member in struct:__anon23168
|
| /external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
| ReflectionLongAdderCounter.java | 36 private final Object instance; field in class:ReflectionLongAdderCounter 83 instance = defaultConstructor.newInstance(); 103 addMethod.invoke(instance, delta); 114 return (Long) sumMethod.invoke(instance);
|
| /external/grpc-grpc-java/core/src/main/java/io/grpc/util/ |
| TransmitStatusRuntimeExceptionInterceptor.java | 52 public static ServerInterceptor instance() { method in class:TransmitStatusRuntimeExceptionInterceptor
|
| /external/guice/core/src/com/google/inject/util/ |
| Providers.java | 43 * Returns a provider which always provides {@code instance}. This should not be necessary to use 46 * @param instance the instance that should always be provided. This is also permitted to be null, 50 public static <T> Provider<T> of(final T instance) { 51 return new ConstantProvider<T>(instance); 55 private final T instance; field in class:Providers.ConstantProvider 57 private ConstantProvider(T instance) { 58 this.instance = instance; 63 return instance; [all...] |
| /external/guice/core/test/com/google/inject/example/ |
| ClientServiceWithFactories.java | 41 private static Service instance = new ServiceImpl(); field in class:ClientServiceWithFactories.ServiceFactory 44 return instance; 48 instance = service;
|
| /external/guice/extensions/spring/src/com/google/inject/spring/ |
| SpringIntegration.java | 108 volatile T instance; field in class:SpringIntegration.SpringProvider 111 if (instance == null) { 112 instance = type.cast(beanFactory.getBean(name)); 114 return instance;
|