| /third_party/rust/crates/lazy-static.rs/tests/ |
| D | test.rs | 7 pub static ref NUMBER: u32 = times_two(3); constant 9 static ref ARRAY_BOXES: [Box<u32>; 3] = [Box::new(1), Box::new(2), Box::new(3)]; constant 14 pub static ref STRING: String = "hello".to_string(); constant 16 static ref HASHMAP: HashMap<u32, &'static str> = { constant 25 static ref UNSAFE: u32 = unsafe { constant 31 static ref S1: &'static str = "a"; constant 32 static ref S2: &'static str = "b"; constant 35 static ref S3: String = [*S1, *S2].join(""); constant 77 pub static ref FOO: Box<u32> = Box::new(0); constant 78 static ref BAR: Box<u32> = Box::new(98); constant [all …]
|
| /third_party/rust/crates/regex/bench/src/ |
| D | bench.rs | 150 static ref RE: Mutex<Regex> = Mutex::new($re); constant 151 static ref TEXT: Mutex<Text> = Mutex::new(text!($haystack)); constant 188 static ref RE: Mutex<Regex> = Mutex::new(regex!($pattern)); constant 189 static ref TEXT: Mutex<Text> = Mutex::new(text!($haystack)); constant 221 static ref RE: Mutex<Regex> = Mutex::new($pattern); constant 222 static ref TEXT: Mutex<Text> = Mutex::new(text!($haystack)); constant 244 static ref RE: Mutex<RegexSet> = Mutex::new($re); constant 245 static ref TEXT: Mutex<Text> = Mutex::new(text!($haystack)); constant 272 static ref RE: Mutex<RegexSet> = Mutex::new($re); constant 273 static ref TEXT: Mutex<Text> = Mutex::new(text!($haystack)); constant
|
| /third_party/vk-gl-cts/framework/delibs/deutil/ |
| D | deCommandLine.c | 164 const char* ref[] = { "hello" }; in deCommandLine_selfTest() local 169 const char* ref[] = { "hello", "world" }; in deCommandLine_selfTest() local 174 const char* ref[] = { "hello/world" }; in deCommandLine_selfTest() local 179 const char* ref[] = { "hello/world", "--help" }; in deCommandLine_selfTest() local 184 const char* ref[] = { "hello/world", "--help", "foo" }; in deCommandLine_selfTest() local 189 const char* ref[] = { "hello\\world", "--help", "foo" }; in deCommandLine_selfTest() local 194 const char* ref[] = { "hello/worl d", "--help", "--foo=bar", "ba z\"" }; in deCommandLine_selfTest() local 199 const char* ref[] = { "hello/worl d", "--help", "--foo=bar", "ba z'" }; in deCommandLine_selfTest() local 204 const char* ref[] = { "hello", "'world'" }; in deCommandLine_selfTest() local 209 const char* ref[] = { "hello", "\"world\"" }; in deCommandLine_selfTest() local [all …]
|
| /third_party/rust/crates/codespan/codespan-reporting/tests/ |
| D | term.rs | 10 static ref TEST_CONFIG: Config = Config { constant 90 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant 120 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant 172 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant 312 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant 338 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant 364 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, &'static str>> = { constant 390 static ref TEST_DATA: TestData<'static, SimpleFile<&'static str, &'static str>> = { constant 425 static ref TEST_DATA: TestData<'static, SimpleFile<&'static str, &'static str>> = { constant 453 static ref TEST_DATA: TestData<'static, SimpleFiles<&'static str, String>> = { constant [all …]
|
| /third_party/json/docs/examples/ |
| D | at__json_pointer.cpp | 43 json::reference ref = j.at("/array/01"_json_pointer); in main() local 54 json::reference ref = j.at("/array/one"_json_pointer); in main() local 65 json::reference ref = j.at("/array/4"_json_pointer); in main() local 76 json::reference ref = j.at("/array/-"_json_pointer); in main() local 87 json::const_reference ref = j.at("/foo"_json_pointer); in main() local 98 json::reference ref = j.at("/number/foo"_json_pointer); in main() local
|
| D | at__json_pointer_const.cpp | 30 json::const_reference ref = j.at("/array/one"_json_pointer); in main() local 41 json::const_reference ref = j.at("/array/4"_json_pointer); in main() local 52 json::const_reference ref = j.at("/array/-"_json_pointer); in main() local 63 json::const_reference ref = j.at("/foo"_json_pointer); in main() local 74 json::const_reference ref = j.at("/number/foo"_json_pointer); in main() local
|
| /third_party/NuttX/drivers/usbdev/gadget/fconfig/include/ |
| D | obj_ref.h | 63 static inline void objref_init(struct obj_ref *ref, int val) in objref_init() 68 static inline void objref_get(struct obj_ref *ref) in objref_get() 73 static inline int objref_put(struct obj_ref *ref, void (*release)(struct obj_ref *ref)) in objref_put() 83 static inline uint32_t objref_read(struct obj_ref *ref) in objref_read()
|
| /third_party/rust/crates/lazy-static.rs/src/ |
| D | lib.rs | 35 static ref EXAMPLE: u8 = 42; constant 67 static ref HASHMAP: HashMap<u32, &'static str> = { constant 74 static ref COUNT: usize = HASHMAP.len(); constant 75 static ref NUMBER: u32 = times_two(21); constant
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/functional/ |
| D | function_ref_test.cc | 39 FunctionRef<int()> ref(&Function); in TEST() local 44 FunctionRef<int()> ref(Function); in TEST() local 52 FunctionRef<int()> ref(NoExceptFunction); in TEST() local 58 FunctionRef<int(std::unique_ptr<int>)> ref(l); in TEST() local 64 FunctionRef<std::unique_ptr<int>()> ref(l); in TEST() local 70 FunctionRef<int(int, int, int)> ref(l); in TEST() local 80 FunctionRef<void()> ref(l); in TEST() local 100 FunctionRef<void()> ref(Function); in TEST() local 111 FunctionRef<int(const S& s)> ref(mem_ptr); in TEST() local 123 FunctionRef<int(const S& s)> ref(mem_fun_ptr); in TEST() local [all …]
|
| /third_party/rust/crates/nix/test/ |
| D | test.rs | 86 pub static ref CWD_LOCK: RwLock<()> = RwLock::new(()); constant 89 pub static ref FORK_MTX: Mutex<()> = Mutex::new(()); constant 92 pub static ref GROUPS_MTX: Mutex<()> = Mutex::new(()); constant 94 pub static ref KMOD_MTX: Mutex<()> = Mutex::new(()); constant 96 pub static ref PTSNAME_MTX: Mutex<()> = Mutex::new(()); constant 98 pub static ref SIGNAL_MTX: Mutex<()> = Mutex::new(()); constant
|
| /third_party/rust/crates/cxx/gen/build/src/ |
| D | lib.rs | 137 let ref mut rust_source_files = rust_source_files.into_iter(); in bridges() localVariable 215 let ref prj = Project::init()?; in build() localVariable 370 let ref link = crate_dir.join(&prj.include_prefix); in make_crate_dir() localVariable 371 let ref manifest_dir = prj.manifest_dir; in make_crate_dir() localVariable 387 let ref shared_cxx_h = prj.shared_dir.join("rust").join("cxx.h"); in make_include_dir() localVariable 406 let ref rel_path = paths::local_relative_path(rust_source_file); in generate_bridge() localVariable 412 let ref rel_path_h = rel_path.with_appended_extension(".h"); in generate_bridge() localVariable 413 let ref header_path = include_dir.join(rel_path_h); in generate_bridge() localVariable 416 let ref link_path = include_dir.join(rel_path); in generate_bridge() localVariable 419 let ref rel_path_cc = rel_path.with_appended_extension(".cc"); in generate_bridge() localVariable [all …]
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
| D | CBindingWrapping.h | 20 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument 29 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument 37 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
|
| /third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
| D | CBindingWrapping.h | 19 #define DEFINE_SIMPLE_CONVERSION_FUNCTIONS(ty, ref) \ argument 28 #define DEFINE_ISA_CONVERSION_FUNCTIONS(ty, ref) \ argument 36 #define DEFINE_STDCXX_CONVERSION_FUNCTIONS(ty, ref) \ argument
|
| /third_party/skia/src/gpu/ |
| D | GrNonAtomicRef.h | 38 void ref() const { in ref() function 59 template<typename T> inline void GrTDeleteNonAtomicRef(const T* ref) { in GrTDeleteNonAtomicRef() 60 delete ref; in GrTDeleteNonAtomicRef() local
|
| /third_party/opencl-headers/tests/ |
| D | test_cl_half.h.c | 27 int test_half_to_float(cl_half h, cl_float ref) in test_half_to_float() 41 int test_half_from_float(cl_float f, cl_half ref, in test_half_from_float() 60 #define CHECK_TO_FLOAT(h, ref) \ in main() argument 74 #define CHECK_FROM_FLOAT(f, ref, mode) \ in main() argument
|
| /third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
| D | cordz_info_statistics_test.cc | 140 double FairShareImpl(CordRep* rep, size_t ref) { in FairShareImpl() 171 size_t FairShare(CordRep* rep, size_t ref = 1) { in FairShare() 217 RefHelper ref; in TEST() local 232 RefHelper ref; in TEST() local 247 RefHelper ref; in TEST() local 261 RefHelper ref; in TEST() local 275 RefHelper ref; in TEST() local 292 RefHelper ref; in TEST() local 310 RefHelper ref; in TEST() local 329 RefHelper ref; in TEST() local [all …]
|
| /third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
| D | RefBaseTests.cpp | 119 Ref ref(tracker1); in TEST() local 131 Ref ref(tracker); in TEST() local 140 Ref ref; in TEST() local 150 Ref ref(tracker); in TEST() local 184 Ref ref; in TEST() local 218 Ref ref; in TEST() local 240 Ref ref(tracker); in TEST() local 255 Ref ref(tracker); in TEST() local 270 Ref ref; in TEST() local 285 Ref ref; in TEST() local [all …]
|
| /third_party/typescript/tests/baselines/reference/ |
| D | esNextWeakRefs_IterableWeakMap.js | 3 const IterableWeakMap_cleanup = ({ ref, set }: { property 31 const ref = new WeakRef(key); constant 33 this.#weakMap.set(key, { ref, value }); property 37 ref, property 108 const IterableWeakMap_cleanup = ({ ref, set }) => { property
|
| /third_party/node/deps/npm/node_modules/@npmcli/git/lib/ |
| D | lines-to-revs.js | 101 const ref = rawRef.slice('refs/tags/'.length) constant 106 const ref = rawRef.slice('refs/heads/'.length) constant 113 const ref = rawRef.slice('refs/'.length).replace(/\/head$/, '') constant 118 const ref = 'HEAD' constant
|
| /third_party/mesa3d/src/gallium/frontends/clover/util/ |
| D | pointer.hpp | 77 ref_holder(const ref_holder &ref) : in ref_holder() 81 ref_holder(ref_holder &&ref) : in ref_holder() function in clover::ref_holder 92 operator=(ref_holder ref) { in operator =() 191 intrusive_ref(const intrusive_ref &ref) : in intrusive_ref() 195 intrusive_ref(intrusive_ref &&ref) : in intrusive_ref() function in clover::intrusive_ref 206 operator=(intrusive_ref ref) { in operator =() 241 intrusive_ref<T> ref { *new T(std::forward<As>(as)...) }; in create() local
|
| /third_party/node/test/parallel/ |
| D | test-abortcontroller.js | 183 let ref; variable 185 ref = new globalThis.WeakRef(AbortSignal.timeout(1_200_000)); variable 196 let ref; variable 199 ref = new globalThis.WeakRef(AbortSignal.timeout(1_200_000)); variable 217 let ref; variable 220 ref = new globalThis.WeakRef(AbortSignal.timeout(1_200_000)); variable
|
| /third_party/node/test/js-native-api/test_reference_double_free/ |
| D | test_reference_double_free.c | 9 napi_ref* ref = data; in Destructor() local 15 napi_ref* ref = data; in NoDeleteDestructor() local 28 napi_ref* ref = malloc(sizeof(*ref)); in New() local 58 napi_ref ref; in DeleteImmediately() local
|
| /third_party/mesa3d/src/mesa/main/ |
| D | stencil.c | 137 _mesa_StencilFuncSeparateATI( GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask ) in _mesa_StencilFuncSeparateATI() 186 stencil_func(struct gl_context *ctx, GLenum func, GLint ref, GLuint mask) in stencil_func() 220 _mesa_StencilFunc_no_error(GLenum func, GLint ref, GLuint mask) in _mesa_StencilFunc_no_error() 228 _mesa_StencilFunc(GLenum func, GLint ref, GLuint mask) in _mesa_StencilFunc() 467 GLint ref, GLuint mask) in stencil_func_separate() 490 _mesa_StencilFuncSeparate_no_error(GLenum face, GLenum func, GLint ref, in _mesa_StencilFuncSeparate_no_error() 499 _mesa_StencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) in _mesa_StencilFuncSeparate()
|
| /third_party/skia/modules/svg/src/ |
| D | SkSVGUse.cpp | 44 const auto ref = ctx.findNodeById(fHref); in onRender() local 53 const auto ref = ctx.findNodeById(fHref); in onAsPath() local 62 const auto ref = ctx.findNodeById(fHref); in onObjectBoundingBox() local
|
| /third_party/icu/icu4c/source/test/perf/leperf/ |
| D | letrperf.cpp | 50 void time_obj(void * ref) { in time_obj() 60 void time_obj2(void * ref) { in time_obj2() 71 void time_letr1(void * ref) { in time_letr1() 92 void time_letr2(void * ref) { in time_letr2() 112 static void time_letr3(void * ref) { in time_letr3()
|