Lines Matching refs:h

355     __itt_domain *h_tail = NULL, *h = NULL;  in ITT_VERSIONIZE()  local
378 for (h_tail = NULL, h = _N_(_ittapi_global).domain_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
380 if (h->nameW != NULL && !wcscmp(h->nameW, name)) break; in ITT_VERSIONIZE()
382 if (h == NULL) in ITT_VERSIONIZE()
384 NEW_DOMAIN_W(&_N_(_ittapi_global), h, h_tail, name); in ITT_VERSIONIZE()
388 return h; in ITT_VERSIONIZE()
396 __itt_domain *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
431 for (h_tail = NULL, h = _N_(_ittapi_global).domain_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
433 if (h->nameA != NULL && !__itt_fstrcmp(h->nameA, name)) break; in ITT_VERSIONIZE()
435 if (h == NULL) in ITT_VERSIONIZE()
437 NEW_DOMAIN_A(&_N_(_ittapi_global), h, h_tail, name); in ITT_VERSIONIZE()
441 return h; in ITT_VERSIONIZE()
479 __itt_string_handle *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
502 for (h_tail = NULL, h = _N_(_ittapi_global).string_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
504 if (h->strW != NULL && !wcscmp(h->strW, name)) break; in ITT_VERSIONIZE()
506 if (h == NULL) in ITT_VERSIONIZE()
508 NEW_STRING_HANDLE_W(&_N_(_ittapi_global), h, h_tail, name); in ITT_VERSIONIZE()
512 return h; in ITT_VERSIONIZE()
520 __itt_string_handle *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
555 for (h_tail = NULL, h = _N_(_ittapi_global).string_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
557 if (h->strA != NULL && !__itt_fstrcmp(h->strA, name)) break; in ITT_VERSIONIZE()
559 if (h == NULL) in ITT_VERSIONIZE()
561 NEW_STRING_HANDLE_A(&_N_(_ittapi_global), h, h_tail, name); in ITT_VERSIONIZE()
565 return h; in ITT_VERSIONIZE()
571 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
595 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
597 …if (h->nameW != NULL && h->type == (int)type && !wcscmp(h->nameW, name) && ((h->domainW == NULL &&… in ITT_VERSIONIZE()
598 (h->domainW != NULL && domain != NULL && !wcscmp(h->domainW, domain)))) break; in ITT_VERSIONIZE()
601 if (h == NULL) in ITT_VERSIONIZE()
603 NEW_COUNTER_W(&_N_(_ittapi_global), h, h_tail, name, domain, type); in ITT_VERSIONIZE()
607 return (__itt_counter)h; in ITT_VERSIONIZE()
615 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
651 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
653 …if (h->nameA != NULL && h->type == (int)type && !__itt_fstrcmp(h->nameA, name) && ((h->domainA == … in ITT_VERSIONIZE()
654 … (h->domainA != NULL && domain != NULL && !__itt_fstrcmp(h->domainA, domain)))) break; in ITT_VERSIONIZE()
656 if (h == NULL) in ITT_VERSIONIZE()
658 NEW_COUNTER_A(&_N_(_ittapi_global), h, h_tail, name, domain, type); in ITT_VERSIONIZE()
662 return (__itt_counter)h; in ITT_VERSIONIZE()
668 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
691 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
693 …if (h->nameW != NULL && h->type == (int)type && !wcscmp(h->nameW, name) && ((h->domainW == NULL &&… in ITT_VERSIONIZE()
694 (h->domainW != NULL && domain != NULL && !wcscmp(h->domainW, domain)))) break; in ITT_VERSIONIZE()
697 if (h == NULL) in ITT_VERSIONIZE()
699 NEW_COUNTER_W(&_N_(_ittapi_global), h, h_tail, name, domain, type); in ITT_VERSIONIZE()
703 return (__itt_counter)h; in ITT_VERSIONIZE()
711 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
746 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
748 …if (h->nameA != NULL && h->type == (int)type && !__itt_fstrcmp(h->nameA, name) && ((h->domainA == … in ITT_VERSIONIZE()
749 … (h->domainA != NULL && domain != NULL && !__itt_fstrcmp(h->domainA, domain)))) break; in ITT_VERSIONIZE()
751 if (h == NULL) in ITT_VERSIONIZE()
753 NEW_COUNTER_A(&_N_(_ittapi_global), h, h_tail, name, domain, type); in ITT_VERSIONIZE()
757 return (__itt_counter)h; in ITT_VERSIONIZE()
763 __itt_histogram *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
786 … for (h_tail = NULL, h = _N_(_ittapi_global).histogram_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
788 if (h->domain == NULL) continue; in ITT_VERSIONIZE()
789 else if (h->domain == domain && h->nameW != NULL && !wcscmp(h->nameW, name)) break; in ITT_VERSIONIZE()
791 if (h == NULL) in ITT_VERSIONIZE()
793 NEW_HISTOGRAM_W(&_N_(_ittapi_global), h, h_tail, domain, name, x_type, y_type); in ITT_VERSIONIZE()
797 return (__itt_histogram*)h; in ITT_VERSIONIZE()
805 __itt_histogram *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
840 … for (h_tail = NULL, h = _N_(_ittapi_global).histogram_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
842 if (h->domain == NULL) continue; in ITT_VERSIONIZE()
843 … else if (h->domain == domain && h->nameA != NULL && !__itt_fstrcmp(h->nameA, name)) break; in ITT_VERSIONIZE()
845 if (h == NULL) in ITT_VERSIONIZE()
847 NEW_HISTOGRAM_A(&_N_(_ittapi_global), h, h_tail, domain, name, x_type, y_type); in ITT_VERSIONIZE()
851 return (__itt_histogram*)h; in ITT_VERSIONIZE()
857 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
880 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
882 …if (h->nameW != NULL && h->type == (int)type && !wcscmp(h->nameW, name) && ((h->domainW == NULL &… in ITT_VERSIONIZE()
883 … (h->domainW != NULL && domain->nameW != NULL && !wcscmp(h->domainW, domain->nameW)))) break; in ITT_VERSIONIZE()
886 if (h == NULL) in ITT_VERSIONIZE()
888 NEW_COUNTER_W(&_N_(_ittapi_global),h,h_tail,name,domain->nameW,type); in ITT_VERSIONIZE()
892 return (__itt_counter)h; in ITT_VERSIONIZE()
900 __itt_counter_info_t *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
935 … for (h_tail = NULL, h = _N_(_ittapi_global).counter_list; h != NULL; h_tail = h, h = h->next) in ITT_VERSIONIZE()
937 …if (h->nameA != NULL && h->type == (int)type && !__itt_fstrcmp(h->nameA, name) && ((h->domainA ==… in ITT_VERSIONIZE()
938 …(h->domainA != NULL && domain->nameA != NULL && !__itt_fstrcmp(h->domainA, domain->nameA)))) break; in ITT_VERSIONIZE()
940 if (h == NULL) in ITT_VERSIONIZE()
942 NEW_COUNTER_A(&_N_(_ittapi_global),h,h_tail,name,domain->nameA,type); in ITT_VERSIONIZE()
946 return (__itt_counter)h; in ITT_VERSIONIZE()
951 __itt_counter_metadata *h_tail = NULL, *h = NULL; in ITT_VERSIONIZE() local
989 …for (h_tail = NULL, h = _N_(_ittapi_global).counter_metadata_list; h != NULL; h_tail = h, h = h->n… in ITT_VERSIONIZE()
991 if (h->counter != NULL && h->counter == counter && h->type == type) break; in ITT_VERSIONIZE()
993 if (h == NULL && counter != NULL && type != __itt_context_unknown) in ITT_VERSIONIZE()
998 … NEW_COUNTER_METADATA_STR_A(&_N_(_ittapi_global),h,h_tail,counter,type,str_valueA); in ITT_VERSIONIZE()
1004 … NEW_COUNTER_METADATA_STR_W(&_N_(_ittapi_global),h,h_tail,counter,type,str_valueW); in ITT_VERSIONIZE()
1010 NEW_COUNTER_METADATA_NUM(&_N_(_ittapi_global),h,h_tail,counter,type,value); in ITT_VERSIONIZE()