Lines Matching refs:tpdindex
152 static int prldap_set_thread_private( PRInt32 tpdindex, void *priv );
153 static void *prldap_get_thread_private( PRInt32 tpdindex );
437 PRUintn tpdindex;
439 tpdindex = prldap_new_tpdindex();
442 map->prtm_index = tpdindex;
510 PRUintn tpdindex;
512 tpdindex = (PRUintn)PR_AtomicIncrement( &prldap_tpd_maxindex );
513 return( tpdindex );
523 prldap_set_thread_private( PRInt32 tpdindex, void *priv )
527 if ( tpdindex > prldap_tpd_maxindex ) {
532 if ( tsdhdr == NULL || tpdindex >= tsdhdr->ptpdh_tpd_count ) {
533 tsdhdr = prldap_tsd_realloc( tsdhdr, tpdindex );
539 tsdhdr->ptpdh_dataitems[ tpdindex ] = priv;
551 prldap_get_thread_private( PRInt32 tpdindex )
560 if ( tpdindex >= tsdhdr->ptpdh_tpd_count
565 return( tsdhdr->ptpdh_dataitems[ tpdindex ] );