• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/

Lines Matching refs:NAME

143 # define gl_lock_define(STORAGECLASS, NAME) \
144 STORAGECLASS pthread_mutex_t NAME;
145 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
146 STORAGECLASS pthread_mutex_t NAME = gl_lock_initializer;
149 # define gl_lock_init(NAME) \
152 if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \
156 # define gl_lock_lock(NAME) \
159 if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \
163 # define gl_lock_unlock(NAME) \
166 if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \
170 # define gl_lock_destroy(NAME) \
173 if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \
185 # define gl_rwlock_define(STORAGECLASS, NAME) \
186 STORAGECLASS pthread_rwlock_t NAME;
187 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
188 STORAGECLASS pthread_rwlock_t NAME = gl_rwlock_initializer;
191 # define gl_rwlock_init(NAME) \
194 if (pthread_in_use () && pthread_rwlock_init (&NAME, NULL) != 0) \
198 # define gl_rwlock_rdlock(NAME) \
201 if (pthread_in_use () && pthread_rwlock_rdlock (&NAME) != 0) \
205 # define gl_rwlock_wrlock(NAME) \
208 if (pthread_in_use () && pthread_rwlock_wrlock (&NAME) != 0) \
212 # define gl_rwlock_unlock(NAME) \
215 if (pthread_in_use () && pthread_rwlock_unlock (&NAME) != 0) \
219 # define gl_rwlock_destroy(NAME) \
222 if (pthread_in_use () && pthread_rwlock_destroy (&NAME) != 0) \
236 # define gl_rwlock_define(STORAGECLASS, NAME) \
237 STORAGECLASS gl_rwlock_t NAME;
238 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
239 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
242 # define gl_rwlock_init(NAME) \
246 glthread_rwlock_init (&NAME); \
249 # define gl_rwlock_rdlock(NAME) \
253 glthread_rwlock_rdlock (&NAME); \
256 # define gl_rwlock_wrlock(NAME) \
260 glthread_rwlock_wrlock (&NAME); \
263 # define gl_rwlock_unlock(NAME) \
267 glthread_rwlock_unlock (&NAME); \
270 # define gl_rwlock_destroy(NAME) \
274 glthread_rwlock_destroy (&NAME); \
296 # define gl_rwlock_define(STORAGECLASS, NAME) \
297 STORAGECLASS gl_rwlock_t NAME;
298 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
299 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
302 # define gl_rwlock_init(NAME) \
306 glthread_rwlock_init (&NAME); \
309 # define gl_rwlock_rdlock(NAME) \
313 glthread_rwlock_rdlock (&NAME); \
316 # define gl_rwlock_wrlock(NAME) \
320 glthread_rwlock_wrlock (&NAME); \
323 # define gl_rwlock_unlock(NAME) \
327 glthread_rwlock_unlock (&NAME); \
330 # define gl_rwlock_destroy(NAME) \
334 glthread_rwlock_destroy (&NAME); \
352 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
353 STORAGECLASS pthread_mutex_t NAME;
354 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
355 STORAGECLASS pthread_mutex_t NAME = gl_recursive_lock_initializer;
363 # define gl_recursive_lock_init(NAME) \
366 if (pthread_in_use () && pthread_mutex_init (&NAME, NULL) != 0) \
370 # define gl_recursive_lock_lock(NAME) \
373 if (pthread_in_use () && pthread_mutex_lock (&NAME) != 0) \
377 # define gl_recursive_lock_unlock(NAME) \
380 if (pthread_in_use () && pthread_mutex_unlock (&NAME) != 0) \
384 # define gl_recursive_lock_destroy(NAME) \
387 if (pthread_in_use () && pthread_mutex_destroy (&NAME) != 0) \
401 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
402 STORAGECLASS gl_recursive_lock_t NAME;
403 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
404 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
407 # define gl_recursive_lock_init(NAME) \
411 glthread_recursive_lock_init (&NAME); \
414 # define gl_recursive_lock_lock(NAME) \
418 glthread_recursive_lock_lock (&NAME); \
421 # define gl_recursive_lock_unlock(NAME) \
425 glthread_recursive_lock_unlock (&NAME); \
428 # define gl_recursive_lock_destroy(NAME) \
432 glthread_recursive_lock_destroy (&NAME); \
454 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
455 STORAGECLASS gl_recursive_lock_t NAME;
456 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
457 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
460 # define gl_recursive_lock_init(NAME) \
464 glthread_recursive_lock_init (&NAME); \
467 # define gl_recursive_lock_lock(NAME) \
471 glthread_recursive_lock_lock (&NAME); \
474 # define gl_recursive_lock_unlock(NAME) \
478 glthread_recursive_lock_unlock (&NAME); \
481 # define gl_recursive_lock_destroy(NAME) \
485 glthread_recursive_lock_destroy (&NAME); \
498 # define gl_once_define(STORAGECLASS, NAME) \
499 STORAGECLASS pthread_once_t NAME = PTHREAD_ONCE_INIT;
500 # define gl_once(NAME, INITFUNCTION) \
505 if (pthread_once (&NAME, INITFUNCTION) != 0) \
510 if (glthread_once_singlethreaded (&NAME)) \
560 # define gl_lock_define(STORAGECLASS, NAME) \
561 STORAGECLASS pth_mutex_t NAME;
562 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
563 STORAGECLASS pth_mutex_t NAME = gl_lock_initializer;
566 # define gl_lock_init(NAME) \
569 if (pth_in_use() && !pth_mutex_init (&NAME)) \
573 # define gl_lock_lock(NAME) \
576 if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \
580 # define gl_lock_unlock(NAME) \
583 if (pth_in_use() && !pth_mutex_release (&NAME)) \
587 # define gl_lock_destroy(NAME) \
588 (void)(&NAME)
593 # define gl_rwlock_define(STORAGECLASS, NAME) \
594 STORAGECLASS pth_rwlock_t NAME;
595 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
596 STORAGECLASS pth_rwlock_t NAME = gl_rwlock_initializer;
599 # define gl_rwlock_init(NAME) \
602 if (pth_in_use() && !pth_rwlock_init (&NAME)) \
606 # define gl_rwlock_rdlock(NAME) \
610 && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RD, 0, NULL)) \
614 # define gl_rwlock_wrlock(NAME) \
618 && !pth_rwlock_acquire (&NAME, PTH_RWLOCK_RW, 0, NULL)) \
622 # define gl_rwlock_unlock(NAME) \
625 if (pth_in_use() && !pth_rwlock_release (&NAME)) \
629 # define gl_rwlock_destroy(NAME) \
630 (void)(&NAME)
636 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
637 STORAGECLASS pth_mutex_t NAME;
638 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
639 STORAGECLASS pth_mutex_t NAME = gl_recursive_lock_initializer;
642 # define gl_recursive_lock_init(NAME) \
645 if (pth_in_use() && !pth_mutex_init (&NAME)) \
649 # define gl_recursive_lock_lock(NAME) \
652 if (pth_in_use() && !pth_mutex_acquire (&NAME, 0, NULL)) \
656 # define gl_recursive_lock_unlock(NAME) \
659 if (pth_in_use() && !pth_mutex_release (&NAME)) \
663 # define gl_recursive_lock_destroy(NAME) \
664 (void)(&NAME)
669 # define gl_once_define(STORAGECLASS, NAME) \
670 STORAGECLASS pth_once_t NAME = PTH_ONCE_INIT;
671 # define gl_once(NAME, INITFUNCTION) \
677 if (!pth_once (&NAME, glthread_once_call, &gl_once_temp)) \
682 if (glthread_once_singlethreaded (&NAME)) \
737 # define gl_lock_define(STORAGECLASS, NAME) \
738 STORAGECLASS mutex_t NAME;
739 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
740 STORAGECLASS mutex_t NAME = gl_lock_initializer;
743 # define gl_lock_init(NAME) \
746 if (thread_in_use () && mutex_init (&NAME, USYNC_THREAD, NULL) != 0) \
750 # define gl_lock_lock(NAME) \
753 if (thread_in_use () && mutex_lock (&NAME) != 0) \
757 # define gl_lock_unlock(NAME) \
760 if (thread_in_use () && mutex_unlock (&NAME) != 0) \
764 # define gl_lock_destroy(NAME) \
767 if (thread_in_use () && mutex_destroy (&NAME) != 0) \
775 # define gl_rwlock_define(STORAGECLASS, NAME) \
776 STORAGECLASS rwlock_t NAME;
777 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
778 STORAGECLASS rwlock_t NAME = gl_rwlock_initializer;
781 # define gl_rwlock_init(NAME) \
784 if (thread_in_use () && rwlock_init (&NAME, USYNC_THREAD, NULL) != 0) \
788 # define gl_rwlock_rdlock(NAME) \
791 if (thread_in_use () && rw_rdlock (&NAME) != 0) \
795 # define gl_rwlock_wrlock(NAME) \
798 if (thread_in_use () && rw_wrlock (&NAME) != 0) \
802 # define gl_rwlock_unlock(NAME) \
805 if (thread_in_use () && rw_unlock (&NAME) != 0) \
809 # define gl_rwlock_destroy(NAME) \
812 if (thread_in_use () && rwlock_destroy (&NAME) != 0) \
829 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
830 STORAGECLASS gl_recursive_lock_t NAME;
831 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
832 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
835 # define gl_recursive_lock_init(NAME) \
839 glthread_recursive_lock_init (&NAME); \
842 # define gl_recursive_lock_lock(NAME) \
846 glthread_recursive_lock_lock (&NAME); \
849 # define gl_recursive_lock_unlock(NAME) \
853 glthread_recursive_lock_unlock (&NAME); \
856 # define gl_recursive_lock_destroy(NAME) \
860 glthread_recursive_lock_destroy (&NAME); \
876 # define gl_once_define(STORAGECLASS, NAME) \
877 STORAGECLASS gl_once_t NAME = { 0, DEFAULTMUTEX };
878 # define gl_once(NAME, INITFUNCTION) \
883 glthread_once (&NAME, INITFUNCTION); \
887 if (glthread_once_singlethreaded (&NAME)) \
932 # define gl_lock_define(STORAGECLASS, NAME) \
933 STORAGECLASS gl_lock_t NAME;
934 # define gl_lock_define_initialized(STORAGECLASS, NAME) \
935 STORAGECLASS gl_lock_t NAME = gl_lock_initializer;
938 # define gl_lock_init(NAME) \
939 glthread_lock_init (&NAME)
940 # define gl_lock_lock(NAME) \
941 glthread_lock_lock (&NAME)
942 # define gl_lock_unlock(NAME) \
943 glthread_lock_unlock (&NAME)
944 # define gl_lock_destroy(NAME) \
945 glthread_lock_destroy (&NAME)
974 # define gl_rwlock_define(STORAGECLASS, NAME) \
975 STORAGECLASS gl_rwlock_t NAME;
976 # define gl_rwlock_define_initialized(STORAGECLASS, NAME) \
977 STORAGECLASS gl_rwlock_t NAME = gl_rwlock_initializer;
980 # define gl_rwlock_init(NAME) \
981 glthread_rwlock_init (&NAME)
982 # define gl_rwlock_rdlock(NAME) \
983 glthread_rwlock_rdlock (&NAME)
984 # define gl_rwlock_wrlock(NAME) \
985 glthread_rwlock_wrlock (&NAME)
986 # define gl_rwlock_unlock(NAME) \
987 glthread_rwlock_unlock (&NAME)
988 # define gl_rwlock_destroy(NAME) \
989 glthread_rwlock_destroy (&NAME)
1010 # define gl_recursive_lock_define(STORAGECLASS, NAME) \
1011 STORAGECLASS gl_recursive_lock_t NAME;
1012 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME) \
1013 STORAGECLASS gl_recursive_lock_t NAME = gl_recursive_lock_initializer;
1016 # define gl_recursive_lock_init(NAME) \
1017 glthread_recursive_lock_init (&NAME)
1018 # define gl_recursive_lock_lock(NAME) \
1019 glthread_recursive_lock_lock (&NAME)
1020 # define gl_recursive_lock_unlock(NAME) \
1021 glthread_recursive_lock_unlock (&NAME)
1022 # define gl_recursive_lock_destroy(NAME) \
1023 glthread_recursive_lock_destroy (&NAME)
1038 # define gl_once_define(STORAGECLASS, NAME) \
1039 STORAGECLASS gl_once_t NAME = { -1, -1 };
1040 # define gl_once(NAME, INITFUNCTION) \
1041 glthread_once (&NAME, INITFUNCTION)
1059 # define gl_lock_define(STORAGECLASS, NAME)
1060 # define gl_lock_define_initialized(STORAGECLASS, NAME)
1061 # define gl_lock_init(NAME)
1062 # define gl_lock_lock(NAME)
1063 # define gl_lock_unlock(NAME)
1068 # define gl_rwlock_define(STORAGECLASS, NAME)
1069 # define gl_rwlock_define_initialized(STORAGECLASS, NAME)
1070 # define gl_rwlock_init(NAME)
1071 # define gl_rwlock_rdlock(NAME)
1072 # define gl_rwlock_wrlock(NAME)
1073 # define gl_rwlock_unlock(NAME)
1078 # define gl_recursive_lock_define(STORAGECLASS, NAME)
1079 # define gl_recursive_lock_define_initialized(STORAGECLASS, NAME)
1080 # define gl_recursive_lock_init(NAME)
1081 # define gl_recursive_lock_lock(NAME)
1082 # define gl_recursive_lock_unlock(NAME)
1087 # define gl_once_define(STORAGECLASS, NAME) \
1088 STORAGECLASS gl_once_t NAME = 0;
1089 # define gl_once(NAME, INITFUNCTION) \
1092 if (NAME == 0) \
1094 NAME = ~ 0; \