Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 25 of 153) sorted by relevance

1234567

/external/perfetto/src/profiling/memory/
Dbookkeeping_unittest.cc81 HeapTracker hd(&c, false); in TEST() local
83 hd.RecordMalloc({}, {}, 0x1, 5, 5, sequence_number, 100 * sequence_number); in TEST()
85 hd.RecordFree(0x1, sequence_number, 100 * sequence_number); in TEST()
86 hd.GetCallstackAllocations([](const HeapTracker::CallstackAllocations&) {}); in TEST()
92 HeapTracker hd(&c, false); in TEST() local
94 hd.RecordMalloc(stack(), DummyBuildIds(stack().size()), 1, 5, 5, in TEST()
97 hd.RecordMalloc(stack2(), DummyBuildIds(stack2().size()), 1, 2, 2, in TEST()
101 hd.GetCallstackAllocations([](const HeapTracker::CallstackAllocations&) {}); in TEST()
102 hd.GetCallstackAllocations([](const HeapTracker::CallstackAllocations&) {}); in TEST()
108 HeapTracker hd(&c, false); in TEST() local
[all …]
/external/llvm-project/clang/test/SemaCUDA/
Dlambda.cu12 __host__ __device__ void hd(int x);
18 [=](){ hd(b); }(); in test()
20 [&](){ hd(b); }(); in test()
22 kernel<<<1,1>>>([](){ hd(0); }); in test()
24 kernel<<<1,1>>>([=](){ hd(b); }); in test()
27 kernel<<<1,1>>>([&](){ hd(b); }); in test()
30 kernel<<<1,1>>>([&] __device__ (){ hd(b); }); in test()
34 auto f = [&]{ hd(b); }; in test()
46 [&](){ hd(b); }(); in main()
48 [=, &b](){ hd(b); }(); in main()
[all …]
Dbad-calls-on-same-line.cu29 inline __host__ __device__ void hd() { in hd() function
35 hd<int>(); in host_fn()
36 hd<double>(); in host_fn()
38 hd<float>(); in host_fn()
Dcall-device-fn-from-host.cu23 __host__ __device__ void hd() { device_fn(); } in hd() function
45 __host__ __device__ void hd() { device_fn(); } in hd() function
70 t.hd(); in hd_member_fn()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dsink.h48 const void *hd; \
50 func = (functype *)upb_handlers_gethandler(s.handlers, sel, &hd); \
52 return func(s.closure, hd, val); \
74 const void *hd; in upb_sink_putstring() local
76 handler = (func *)upb_handlers_gethandler(s.handlers, sel, &hd); in upb_sink_putstring()
79 return handler(s.closure, hd, buf, n, handle); in upb_sink_putstring()
85 const void *hd; in upb_sink_putunknown() local
88 (func *)upb_handlers_gethandler(s.handlers, UPB_UNKNOWN_SELECTOR, &hd); in upb_sink_putunknown()
91 return handler(s.closure, hd, buf, n); in upb_sink_putunknown()
97 const void *hd; in upb_sink_startmsg() local
[all …]
Dhandlers.h144 typedef bool upb_unknown_handlerfunc(void *c, const void *hd, const char *buf,
148 typedef void* upb_startfield_handlerfunc(void *c, const void *hd);
149 typedef bool upb_endfield_handlerfunc(void *c, const void *hd);
150 typedef bool upb_int32_handlerfunc(void *c, const void *hd, int32_t val);
151 typedef bool upb_int64_handlerfunc(void *c, const void *hd, int64_t val);
152 typedef bool upb_uint32_handlerfunc(void *c, const void *hd, uint32_t val);
153 typedef bool upb_uint64_handlerfunc(void *c, const void *hd, uint64_t val);
154 typedef bool upb_float_handlerfunc(void *c, const void *hd, float val);
155 typedef bool upb_double_handlerfunc(void *c, const void *hd, double val);
156 typedef bool upb_bool_handlerfunc(void *c, const void *hd, bool val);
[all …]
/external/wpa_supplicant_8/src/crypto/
Dcrypto_gnutls.c23 gcry_md_hd_t hd; in gnutls_digest_vector() local
30 if (gcry_md_open(&hd, algo, 0) != GPG_ERR_NO_ERROR) in gnutls_digest_vector()
33 gcry_md_write(hd, addr[i], len[i]); in gnutls_digest_vector()
34 p = gcry_md_read(hd, algo); in gnutls_digest_vector()
37 gcry_md_close(hd); in gnutls_digest_vector()
50 gcry_cipher_hd_t hd; in des_encrypt() local
63 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0); in des_encrypt()
64 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8)); in des_encrypt()
65 gcry_cipher_encrypt(hd, cypher, 8, clear, 8); in des_encrypt()
66 gcry_cipher_close(hd); in des_encrypt()
[all …]
/external/arm-trusted-firmware/drivers/ufs/
Dufs.c177 utrd_header_t *hd; in get_utrd() local
198 hd = (utrd_header_t *)utrd->header; in get_utrd()
199 hd->ucdba = utrd->upiu & UINT32_MAX; in get_utrd()
200 hd->ucdbau = (utrd->upiu >> 32) & UINT32_MAX; in get_utrd()
202 hd->rul = utrd->size_resp_upiu >> 2; in get_utrd()
203 hd->ruo = utrd->size_upiu >> 2; in get_utrd()
213 utrd_header_t *hd; in ufs_prepare_cmd() local
226 hd = (utrd_header_t *)utrd->header; in ufs_prepare_cmd()
229 hd->i = 1; in ufs_prepare_cmd()
230 hd->ct = CT_UFS_STORAGE; in ufs_prepare_cmd()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c52 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
58 static size_t stringsink_string(void *_sink, const void *hd, const char *ptr, in stringsink_string() argument
63 UPB_UNUSED(hd); in stringsink_string()
110 field_handlerdata_t *hd = ALLOC(field_handlerdata_t); in newhandlerdata() local
111 hd->ofs = ofs; in newhandlerdata()
112 hd->hasbit = hasbit; in newhandlerdata()
113 upb_handlers_addcleanup(h, hd, xfree); in newhandlerdata()
114 return hd; in newhandlerdata()
128 submsg_handlerdata_t *hd = ALLOC(submsg_handlerdata_t); in newsubmsghandlerdata() local
129 hd->ofs = ofs; in newsubmsghandlerdata()
[all …]
/external/eigen/doc/snippets/
DHessenbergDecomposition_compute.cpp2 HessenbergDecomposition<MatrixXcf> hd(4); variable
3 hd.compute(A);
4 cout << "The matrix H in the decomposition of A is:" << endl << hd.matrixH() << endl;
5 hd.compute(2*A); // re-use hd to compute and store decomposition of 2A
6 cout << "The matrix H in the decomposition of 2A is:" << endl << hd.matrixH() << endl;
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/
Dencoder.c353 static bool startmsg(void *c, const void *hd) { in startmsg() argument
355 UPB_UNUSED(hd); in startmsg()
362 static bool endmsg(void *c, const void *hd, upb_status *status) { in endmsg() argument
364 UPB_UNUSED(hd); in endmsg()
372 static void *encode_startdelimfield(void *c, const void *hd) { in encode_startdelimfield() argument
373 bool ok = encode_tagval(c, hd) && commit(c) && start_delim(c); in encode_startdelimfield()
377 static bool encode_unknown(void *c, const void *hd, const char *buf, in encode_unknown() argument
379 UPB_UNUSED(hd); in encode_unknown()
383 static bool encode_enddelimfield(void *c, const void *hd) { in encode_enddelimfield() argument
384 UPB_UNUSED(hd); in encode_enddelimfield()
[all …]
/external/protobuf/php/ext/google/protobuf/
Dencode_decode.c39 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
45 size_t stringsink_string(void *_sink, const void *hd, const char *ptr, in stringsink_string() argument
50 UPB_UNUSED(hd); in stringsink_string()
145 typedef size_t (*encodeunknown_handlerfunc)(void* _sink, const void* hd,
155 unknownfields_handlerdata_t* hd = in newunknownfieldshandlerdata() local
157 hd->handler = stringsink_string; in newunknownfieldshandlerdata()
158 upb_handlers_addcleanup(h, hd, free); in newunknownfieldshandlerdata()
159 return hd; in newunknownfieldshandlerdata()
170 submsg_handlerdata_t* hd = in newsubmsghandlerdata() local
172 hd->ofs = ofs; in newsubmsghandlerdata()
[all …]
/external/curl/docs/examples/
Danyauthput.c103 int hd; in main() local
116 hd = open(file, O_RDONLY); in main()
117 fstat(hd, &file_info); in main()
129 curl_easy_setopt(curl, CURLOPT_READDATA, (void *)&hd); in main()
135 curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void *)&hd); in main()
167 close(hd); /* close the local file */ in main()
/external/llvm-project/llvm/test/Analysis/MustExecute/
Dmust_be_executed_context.ll397 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp3, label %ex, label %hd
398 ; MBEC-NEXT: -- Explore context of: br i1 %tmp3, label %ex, label %hd
399 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp3, label %ex, label %hd
404 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp3, label %ex, label %hd
409 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp3, label %ex, label %hd
411 ; MBEC-NEXT: -- Explore context of: %tmp7 = phi i32 [ %tmp8, %hd ], [ 0, %en ]
412 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] %tmp7 = phi i32 [ %tmp8, %hd ], [ 0, %en ]
416 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp9, label %ex, label %hd
417 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp3, label %ex, label %hd
423 ; MBEC-NEXT: [F: nonnull_exec_ctx_1] br i1 %tmp9, label %ex, label %hd
[all …]
/external/llvm-project/llvm/test/CodeGen/X86/GC/
Dbadwriteproto.ll9 define %list* @cons(i32 %hd, %list* %tl) gc "example" {
13 %hd.ptr = getelementptr %list, %list* %cell, i32 0, i32 0
14 store i32 %hd, i32* %hd.ptr
Dbadreadproto.ll10 %hd.ptr = getelementptr %list, %list* %l, i32 0, i32 0
11 %hd = call %list* @llvm.gcread(%list* %l, %list** %hd.ptr)
/external/llvm/test/CodeGen/X86/GC/
Dbadwriteproto.ll9 define %list* @cons(i32 %hd, %list* %tl) gc "example" {
13 %hd.ptr = getelementptr %list, %list* %cell, i32 0, i32 0
14 store i32 %hd, i32* %hd.ptr
Dbadreadproto.ll10 %hd.ptr = getelementptr %list, %list* %l, i32 0, i32 0
11 %hd = call %list* @llvm.gcread(%list* %l, %list** %hd.ptr)
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dtest_cpp.cc140 void Handler(const int* hd, const char *buf, size_t len) { in Handler() argument
142 handler_data_val_ = *hd; in Handler()
159 void Handler(const int* hd, const char* buf, size_t len, in Handler() argument
163 handler_data_val_ = *hd; in Handler()
218 static void Handler(ME* t, const int* hd, const char *buf, size_t len) { in Handler() argument
220 t->handler_data_val_ = *hd; in Handler()
237 static void Handler(ME* t, const int* hd, const char* buf, size_t len, in Handler() argument
241 t->handler_data_val_ = *hd; in Handler()
382 static void Handler(ME* t, const int* hd) { in Handler() argument
383 t->handler_data_val_ = *hd; in Handler()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/out/
Ddataurl-realdata-yuiapp.out.b1hd,#bd,#ft{padding:0 50px}#bd{padding-bottom:50px;border-bottom:1px solid #006e9c}#ft{background:t…
Ddataurl-realdata-yuiapp.out1hd,#bd,#ft{padding:0 50px}#bd{padding-bottom:50px;border-bottom:1px solid #006e9c}#ft{background:t…
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/tests/yui/
Ddataurl-realdata-yuiapp.css.min1hd,#bd,#ft{padding:0 50px}#bd{padding-bottom:50px;border-bottom:1px solid #006e9c}#ft{background:t…
Ddataurl-realdata-yuiapp.css7 #hd, #bd, #ft {
24 #hd, #bd {
34 #hd {
40 #hd, h1, h2, p, .color {
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/pb/
Dtest_encoder.cc25 static void* StartString(void *c, const void *hd, size_t size) { in StartString() argument
26 UPB_UNUSED(hd); in StartString()
34 static size_t StringBuf(void* c, const void* hd, const char* buf, size_t n, in StringBuf() argument
36 UPB_UNUSED(hd); in StringBuf()
/external/curl/tests/libtest/
Dlib541.c39 int hd; in test() local
56 hd = fstat(fileno(hd_src), &file_info); in test()
57 if(hd == -1) { in test()

1234567