Home
last modified time | relevance | path

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

12345

/external/fio/engines/
Dlibhdfs.c126 struct hdfsio_data *hd = td->io_ops_data; in fio_hdfsio_prep() local
134 if (f_id == hd->curr_file_id) { in fio_hdfsio_prep()
139 if (hd->curr_file_id != -1) { in fio_hdfsio_prep()
140 if ( hdfsCloseFile(hd->fs, hd->fp) == -1) { in fio_hdfsio_prep()
144 hd->curr_file_id = -1; in fio_hdfsio_prep()
157 hd->fp = hdfsOpenFile(hd->fs, fname, open_flags, 0, 0, in fio_hdfsio_prep()
159 if(hd->fp == NULL) { in fio_hdfsio_prep()
163 hd->curr_file_id = f_id; in fio_hdfsio_prep()
170 struct hdfsio_data *hd = td->io_ops_data; in fio_hdfsio_queue() local
178 hdfsTell(hd->fs, hd->fp) != offset && hdfsSeek(hd->fs, hd->fp, offset) != 0 ) { in fio_hdfsio_queue()
[all …]
/external/wpa_supplicant_8/src/crypto/
Dcrypto_gnutls.c17 gcry_md_hd_t hd; in md4_vector() local
21 if (gcry_md_open(&hd, GCRY_MD_MD4, 0) != GPG_ERR_NO_ERROR) in md4_vector()
24 gcry_md_write(hd, addr[i], len[i]); in md4_vector()
25 p = gcry_md_read(hd, GCRY_MD_MD4); in md4_vector()
28 gcry_md_close(hd); in md4_vector()
35 gcry_cipher_hd_t hd; in des_encrypt() local
48 gcry_cipher_open(&hd, GCRY_CIPHER_DES, GCRY_CIPHER_MODE_ECB, 0); in des_encrypt()
49 gcry_err_code(gcry_cipher_setkey(hd, pkey, 8)); in des_encrypt()
50 gcry_cipher_encrypt(hd, cypher, 8, clear, 8); in des_encrypt()
51 gcry_cipher_close(hd); in des_encrypt()
[all …]
/external/fio/
Dhelper_thread.c72 struct helper_data *hd = data; in helper_thread_main() local
77 sk_out_assign(hd->sk_out); in helper_thread_main()
83 fio_mutex_up(hd->startup_mutex); in helper_thread_main()
86 while (!ret && !hd->exit) { in helper_thread_main()
95 pthread_mutex_lock(&hd->lock); in helper_thread_main()
96 pthread_cond_timedwait(&hd->cond, &hd->lock, &ts); in helper_thread_main()
100 if (hd->reset) { in helper_thread_main()
104 hd->reset = 0; in helper_thread_main()
107 pthread_mutex_unlock(&hd->lock); in helper_thread_main()
119 if (hd->do_stat) { in helper_thread_main()
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dencode_decode.c69 submsg_handlerdata_t *hd = ALLOC(submsg_handlerdata_t); in newsubmsghandlerdata() local
70 hd->ofs = ofs; in newsubmsghandlerdata()
71 hd->md = upb_fielddef_msgsubdef(f); in newsubmsghandlerdata()
72 upb_handlers_addcleanup(h, hd, free); in newsubmsghandlerdata()
73 return hd; in newsubmsghandlerdata()
87 oneof_handlerdata_t *hd = ALLOC(oneof_handlerdata_t); in newoneofhandlerdata() local
88 hd->ofs = ofs; in newoneofhandlerdata()
89 hd->case_ofs = case_ofs; in newoneofhandlerdata()
96 hd->oneof_case_num = upb_fielddef_number(f); in newoneofhandlerdata()
98 hd->md = upb_fielddef_msgsubdef(f); in newoneofhandlerdata()
[all …]
Dupb.c2736 bool upb_handlerattr_sethandlerdata(upb_handlerattr *attr, const void *hd) { in upb_handlerattr_sethandlerdata() argument
2737 attr->handler_data_ = hd; in upb_handlerattr_sethandlerdata()
3660 bool upb_shim_set ## type (void *c, const void *hd, ctype val) { \
3662 const upb_shim_data *d = hd; \
6537 static void *fileset_startfile(void *closure, const void *hd) { in fileset_startfile() argument
6539 UPB_UNUSED(hd); in fileset_startfile()
6547 static bool file_start(void *closure, const void *hd) { in file_start() argument
6549 UPB_UNUSED(hd); in file_start()
6554 static bool file_end(void *closure, const void *hd, upb_status *status) { in file_end() argument
6556 UPB_UNUSED(hd); in file_end()
[all …]
Dupb.h4496 typedef void* upb_startfield_handlerfunc(void *c, const void *hd);
4497 typedef bool upb_endfield_handlerfunc(void *c, const void *hd);
4498 typedef bool upb_int32_handlerfunc(void *c, const void *hd, int32_t val);
4499 typedef bool upb_int64_handlerfunc(void *c, const void *hd, int64_t val);
4500 typedef bool upb_uint32_handlerfunc(void *c, const void *hd, uint32_t val);
4501 typedef bool upb_uint64_handlerfunc(void *c, const void *hd, uint64_t val);
4502 typedef bool upb_float_handlerfunc(void *c, const void *hd, float val);
4503 typedef bool upb_double_handlerfunc(void *c, const void *hd, double val);
4504 typedef bool upb_bool_handlerfunc(void *c, const void *hd, bool val);
4505 typedef void *upb_startstr_handlerfunc(void *c, const void *hd,
[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/curl/docs/examples/
Danyauthput.c124 int hd; in main() local
137 hd = open(file, O_RDONLY); in main()
138 fstat(hd, &file_info); in main()
150 curl_easy_setopt(curl, CURLOPT_READDATA, (void *)&hd); in main()
156 curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void *)&hd); in main()
188 close(hd); /* close the local file */ in main()
/external/drm_hwcomposer/
Dhwcomposer.cpp637 hwc_drm_display_t *hd = &ctx->displays[display]; in hwc_event_control() local
638 hd->vsync_worker.VSyncControl(enabled); in hwc_event_control()
700 hwc_drm_display_t *hd = &ctx->displays[display]; in hwc_get_display_configs() local
701 hd->config_ids.clear(); in hwc_get_display_configs()
716 size_t idx = hd->config_ids.size(); in hwc_get_display_configs()
719 hd->config_ids.push_back(mode.id()); in hwc_get_display_configs()
722 *num_configs = hd->config_ids.size(); in hwc_get_display_configs()
785 hwc_drm_display_t *hd = &ctx->displays[display]; in hwc_get_active_config() local
786 for (size_t i = 0; i < hd->config_ids.size(); ++i) { in hwc_get_active_config()
787 if (hd->config_ids[i] == mode.id()) in hwc_get_active_config()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/GC/
Dbadwriteproto.ll9 define %list* @cons(i32 %hd, %list* %tl) gc "example" {
13 %hd.ptr = getelementptr %list* %cell, i32 0, i32 0
14 store i32 %hd, i32* %hd.ptr
Dbadreadproto.ll10 %hd.ptr = getelementptr %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/curl/tests/libtest/
Dlib541.c39 int hd; in test() local
58 hd = fstat(fileno(hd_src), &file_info); in test()
59 if(hd == -1) { in test()
Dlib505.c42 int hd; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
67 if(hd == -1) { in test()
Dlib525.c37 int hd; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
67 if(hd == -1) { in test()
Dlib582.c230 int hd; in test() local
255 hd = fstat(fileno(hd_src), &file_info); in test()
256 if(hd == -1) { in test()
/external/blktrace/
Dblktrace.c1134 struct tracer_devpath_head *hd; in free_tracer_heads() local
1136 for (cpu = 0, hd = dpp->heads; cpu < ncpus; cpu++, hd++) { in free_tracer_heads()
1137 if (hd->prev) in free_tracer_heads()
1138 free(hd->prev); in free_tracer_heads()
1140 pthread_mutex_destroy(&hd->mutex); in free_tracer_heads()
1155 struct tracer_devpath_head *hd; in setup_tracer_devpaths() local
1159 for (cpu = 0, hd = dpp->heads; cpu < ncpus; cpu++, hd++) { in setup_tracer_devpaths()
1160 INIT_LIST_HEAD(&hd->head); in setup_tracer_devpaths()
1161 pthread_mutex_init(&hd->mutex, NULL); in setup_tracer_devpaths()
1162 hd->prev = NULL; in setup_tracer_devpaths()
[all …]
/external/syslinux/gpxe/src/arch/i386/
DMakefile.pcbios22 MEDIA += hd
62 %usb: $(BIN)/usbdisk.bin %hd
/external/icu/icu4c/source/test/testdata/
Dicuio.txt95 { "%hd", "-30002", "2", "8ace" }
130 { "%hd", "1234 5678", "2", "4D2" }
131 { "%*hd%hd", "1234 5678", "2", "162E" }
/external/protobuf/php/ext/google/protobuf/
Dupb.c2583 bool upb_handlerattr_sethandlerdata(upb_handlerattr *attr, const void *hd) { in upb_handlerattr_sethandlerdata() argument
2584 attr->handler_data_ = hd; in upb_handlerattr_sethandlerdata()
3503 bool upb_shim_set ## type (void *c, const void *hd, ctype val) { \
3505 const upb_shim_data *d = hd; \
5998 static bool file_startmsg(void *r, const void *hd) { in file_startmsg() argument
5999 UPB_UNUSED(hd); in file_startmsg()
6004 static bool file_endmsg(void *closure, const void *hd, upb_status *status) { in file_endmsg() argument
6006 UPB_UNUSED(hd); in file_endmsg()
6012 static size_t file_onpackage(void *closure, const void *hd, const char *buf, in file_onpackage() argument
6015 UPB_UNUSED(hd); in file_onpackage()
[all …]
Dmessage.c88 static void *stringsink_start(void *_sink, const void *hd, size_t size_hint) { in stringsink_start() argument
94 static size_t stringsink_string(void *_sink, const void *hd, const char *ptr, in stringsink_string() argument
99 UPB_UNUSED(hd); in stringsink_string()
Dupb.h3800 typedef void* upb_startfield_handlerfunc(void *c, const void *hd);
3801 typedef bool upb_endfield_handlerfunc(void *c, const void *hd);
3802 typedef bool upb_int32_handlerfunc(void *c, const void *hd, int32_t val);
3803 typedef bool upb_int64_handlerfunc(void *c, const void *hd, int64_t val);
3804 typedef bool upb_uint32_handlerfunc(void *c, const void *hd, uint32_t val);
3805 typedef bool upb_uint64_handlerfunc(void *c, const void *hd, uint64_t val);
3806 typedef bool upb_float_handlerfunc(void *c, const void *hd, float val);
3807 typedef bool upb_double_handlerfunc(void *c, const void *hd, double val);
3808 typedef bool upb_bool_handlerfunc(void *c, const void *hd, bool val);
3809 typedef void *upb_startstr_handlerfunc(void *c, const void *hd,
[all …]
/external/icu/icu4c/source/data/region/
Dksh.txt8 005{"Söhd-Amärrika"}
15 018{"Söhd-Affrika"}
20 034{"Söhd-Aasije"}
21 035{"Söhd-Oß-Aasije"}
22 039{"Söhd-Europpa"}
/external/curl/lib/
Dhttp2.c458 int32_t stream_id = frame->hd.stream_id; in on_frame_recv()
462 if(frame->hd.type == NGHTTP2_SETTINGS) { in on_frame_recv()
503 frame->hd.type, stream_id)); in on_frame_recv()
505 switch(frame->hd.type) { in on_frame_recv()
574 frame->hd.type, stream_id)); in on_frame_recv()
587 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in on_invalid_frame_recv()
669 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in before_frame_send()
683 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in on_frame_send()
686 frame->hd.length)); in on_frame_send()
697 data_s = nghttp2_session_get_stream_user_data(session, frame->hd.stream_id); in on_frame_not_send()
[all …]

12345