/external/chromium_org/third_party/skia/tests/ |
D | OnceTest.cpp | 19 SK_DECLARE_STATIC_ONCE(once); in DEF_TEST() 21 SkOnce(&once, add_five, &x); in DEF_TEST() 22 SkOnce(&once, add_five, &x); in DEF_TEST() 23 SkOnce(&once, add_five, &x); in DEF_TEST() 24 SkOnce(&once, add_five, &x); in DEF_TEST() 25 SkOnce(&once, add_five, &x); in DEF_TEST() 36 SkOnceFlag* once; member in Racer 40 SkOnce(once, add_six, ptr); in run() 49 SK_DECLARE_STATIC_ONCE(once); in DEF_TEST() 52 racers[i].once = &once; in DEF_TEST() [all …]
|
/external/skia/tests/ |
D | OnceTest.cpp | 19 SK_DECLARE_STATIC_ONCE(once); in DEF_TEST() 21 SkOnce(&once, add_five, &x); in DEF_TEST() 22 SkOnce(&once, add_five, &x); in DEF_TEST() 23 SkOnce(&once, add_five, &x); in DEF_TEST() 24 SkOnce(&once, add_five, &x); in DEF_TEST() 25 SkOnce(&once, add_five, &x); in DEF_TEST() 36 SkOnceFlag* once; member in Racer 40 SkOnce(once, add_six, ptr); in run() 49 SK_DECLARE_STATIC_ONCE(once); in DEF_TEST() 52 racers[i].once = &once; in DEF_TEST() [all …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
D | once.h | 93 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { in GoogleOnceInit() argument 94 if (!*once) { in GoogleOnceInit() 95 *once = true; in GoogleOnceInit() 101 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)(Arg), in GoogleOnceInit() argument 103 if (!*once) { in GoogleOnceInit() 104 *once = true; in GoogleOnceInit() 122 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure); 124 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { 125 if (internal::Acquire_Load(once) != ONCE_STATE_DONE) { 127 GoogleOnceInitImpl(once, &func); [all …]
|
D | once.cc | 65 void GoogleOnceInitImpl(ProtobufOnceType* once, Closure* closure) { in GoogleOnceInitImpl() argument 66 internal::AtomicWord state = internal::Acquire_Load(once); in GoogleOnceInitImpl() 79 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_CLOSURE); in GoogleOnceInitImpl() 84 internal::Release_Store(once, ONCE_STATE_DONE); in GoogleOnceInitImpl() 91 state = internal::Acquire_Load(once); in GoogleOnceInitImpl()
|
/external/chromium_org/chrome/browser/ui/webui/app_list/ |
D | start_page_browsertest.js | 155 this.mockHandler.expects(once()).launchApp( 162 this.mockHandler.expects(once()).setSpeechRecognitionState('READY'); 164 this.mockHandler.expects(once()).setSpeechRecognitionState('RECOGNIZING'); 169 this.mockHandler.expects(once()).setSpeechRecognitionState('READY'); 171 this.audioTrackMocks[i].expects(once()).stop(); 177 this.mockHandler.expects(once()).setSpeechRecognitionState('RECOGNIZING'); 182 this.mockHandler.expects(once()).setSpeechRecognitionState('STOPPING'); 183 this.mockHandler.expects(once()).setSpeechRecognitionState('READY'); 185 this.audioTrackMocks[i].expects(once()).stop(); 191 this.mockHandler.expects(once()).setSpeechRecognitionState('READY'); [all …]
|
/external/chromium_org/chrome/browser/resources/google_now/ |
D | background_unittest.gtestjs | 75 this.mockApis.expects(once()).authenticationManager_removeToken(ANYTHING); 94 this.mockApis.expects(once()).authenticationManager_removeToken(ANYTHING); 125 fixture.mockApis.expects(once()).authenticationManager_getAuthToken() 130 fixture.mockApis.expects(once()) 134 mockXMLHttpRequest.expects(once()) 138 mockXMLHttpRequest.expects(once()) 148 mockXMLHttpRequest.expects(once()).send() 158 this.mockApis.expects(once()).authenticationManager_getAuthToken() 183 this.mockGlobals.expects(once()).shouldShowExplanatoryCard() 186 this.mockGlobals.expects(once()).recordEvent( [all …]
|
D | utility_unittest.gtestjs | 68 this.mockGlobals.expects(once()). 73 this.mockApis.expects(once()). 83 this.mockLocalFunctions.expects(once()).setRequestHeader( 85 this.mockLocalFunctions.expects(once()).sendRequest( 127 this.mockGlobals.expects(once()). 132 this.mockApis.expects(once()). 142 this.mockLocalFunctions.expects(once()).setRequestHeader( 144 this.mockLocalFunctions.expects(once()).sendRequest( 165 this.mockGlobals.expects(once()). 168 this.mockGlobals.expects(once()). [all …]
|
D | cards_unittest.gtestjs | 69 fixture.mockApis.expects(once()). 112 this.mockApis.expects(once()). 115 this.mockApis.expects(once()). 123 this.mockApis.expects(once()). 159 this.mockApis.expects(once()). 165 this.mockApis.expects(once()). 174 this.mockApis.expects(once()). 183 this.mockLocalFunctions.expects(once()). 186 this.mockApis.expects(once()). 226 this.mockApis.expects(once()). [all …]
|
/external/chromium_org/v8/src/base/ |
D | once.h | 80 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg); 82 inline void CallOnce(OnceType* once, NoArgFunction init_func) { in CallOnce() argument 83 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 84 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), NULL); in CallOnce() 90 inline void CallOnce(OnceType* once, in CallOnce() argument 92 if (Acquire_Load(once) != ONCE_STATE_DONE) { in CallOnce() 93 CallOnceImpl(once, reinterpret_cast<PointerArgFunction>(init_func), in CallOnce()
|
D | once.cc | 18 void CallOnceImpl(OnceType* once, PointerArgFunction init_func, void* arg) { in CallOnceImpl() argument 19 AtomicWord state = Acquire_Load(once); in CallOnceImpl() 33 once, ONCE_STATE_UNINITIALIZED, ONCE_STATE_EXECUTING_FUNCTION); in CallOnceImpl() 38 Release_Store(once, ONCE_STATE_DONE); in CallOnceImpl() 48 state = Acquire_Load(once); in CallOnceImpl()
|
D | lazy-instance.h | 147 static void Init(OnceType* once, Function function, Storage storage) { in Init() 148 CallOnce(once, function, storage); in Init() 156 static void Init(OnceType* once, Function function, Storage storage) { in Init() 157 if (*once == ONCE_STATE_UNINITIALIZED) { in Init() 159 *once = ONCE_STATE_DONE; in Init()
|
/external/chromium_org/third_party/skia/include/core/ |
D | SkOnce.h | 39 inline void SkOnce(SkOnceFlag* once, void (*f)()); 42 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg); 124 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { in SkOnce() argument 125 return SkOnce(once->mutableDone(), once, f, arg); in SkOnce() 135 inline void SkOnce(SkOnceFlag* once, void (*func)()) { in SkOnce() argument 136 return SkOnce(once, sk_once_no_arg_adaptor, func); in SkOnce()
|
/external/skia/include/core/ |
D | SkOnce.h | 39 inline void SkOnce(SkOnceFlag* once, void (*f)()); 42 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg); 124 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { in SkOnce() argument 125 return SkOnce(once->mutableDone(), once, f, arg); in SkOnce() 135 inline void SkOnce(SkOnceFlag* once, void (*func)()) { in SkOnce() argument 136 return SkOnce(once, sk_once_no_arg_adaptor, func); in SkOnce()
|
/external/protobuf/src/google/protobuf/stubs/ |
D | once.h | 100 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { in GoogleOnceInit() argument 102 if (!once->initialized_) { in GoogleOnceInit() 103 once->Init(init_func); in GoogleOnceInit() 114 inline void GoogleOnceInit(ProtobufOnceType* once, void (*init_func)()) { 115 pthread_once(once, init_func);
|
/external/libcxx/test/thread/thread.mutex/thread.once/thread.once.onceflag/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.once/thread.once.onceflag/Android.… 19 test_name := thread/thread.mutex/thread.once/thread.once.onceflag/default
|
/external/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/thread/thread.mutex/thread.once/thread.once.callonce/Android.… 19 test_name := thread/thread.mutex/thread.once/thread.once.callonce/call_once
|
/external/chromium_org/third_party/leveldatabase/port/ |
D | port_chromium.cc | 53 void InitOnceImpl(OnceType* once, void (*initializer)()) { in InitOnceImpl() argument 54 OnceType state = ::base::subtle::Acquire_Load(once); in InitOnceImpl() 59 once, in InitOnceImpl() 66 ::base::subtle::Release_Store(once, ONCE_STATE_DONE); in InitOnceImpl() 71 state = ::base::subtle::Acquire_Load(once); in InitOnceImpl()
|
D | port_chromium.h | 100 void InitOnceImpl(OnceType* once, void (*initializer)()); 102 static inline void InitOnce(OnceType* once, void (*initializer)()) { in InitOnce() argument 103 if (::base::subtle::Acquire_Load(once) != ONCE_STATE_DONE) in InitOnce() 104 InitOnceImpl(once, initializer); in InitOnce()
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_ports/ |
D | vpx_once.h | 19 static void once(void (*func)(void)) in once() function 79 static void once(void (*func)(void)) in once() function 105 static void once(void (*func)(void)) in once() function 118 static void once(void (*func)(void)) in once() function
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/ |
D | 101-macros-used-twice.c.expected | 5 once 12 once 15 once again
|
D | 101-macros-used-twice.c | 5 once 12 once 15 once again
|
/external/mesa3d/src/glsl/glcpp/tests/ |
D | 101-macros-used-twice.c.expected | 5 once 12 once 15 once again
|
D | 101-macros-used-twice.c | 5 once 12 once 15 once again
|
/external/clang/test/Driver/ |
D | modules.m | 10 // RUN: %clang -fbuild-session-timestamp=123 -fmodules-validate-once-per-build-session -### %s 2>&1… 12 // MODULES_VALIDATE_ONCE: -fmodules-validate-once-per-build-session 14 // RUN: %clang -fmodules-validate-once-per-build-session -### %s 2>&1 | FileCheck -check-prefix=MOD… 15 // MODULES_VALIDATE_ONCE_ERR: option '-fmodules-validate-once-per-build-session' requires '-fbuild-…
|
/external/openfst/src/include/fst/ |
D | lock.h | 40 inline int FstOnceInit(FstOnceType *once, void (*init)(void)) { in FstOnceInit() argument 41 if (*once) in FstOnceInit() 43 *once = 0; in FstOnceInit()
|