Lines Matching refs:keys

110     PRUintn keys;
116 for (keys = 0; keys < 8; ++keys)
118 pd = PR_GetThreadPrivate(key[keys]);
124 for (keys = 0; keys < 4; ++keys)
126 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
132 for (keys = 4; keys < 8; ++keys)
134 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
140 for (keys = 0; keys < 4; ++keys)
142 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
148 for (keys = 0; keys < 4; ++keys)
150 rv = PR_SetThreadPrivate(key[keys], NULL);
156 for (keys = 0; keys < 4; ++keys)
158 rv = PR_SetThreadPrivate(key[keys], NULL);
164 for (keys = 8; keys < 127; ++keys)
166 rv = PR_SetThreadPrivate(key[keys], "EXTENSION");
172 for (keys = 8; keys < 127; ++keys)
174 rv = PR_SetThreadPrivate(key[keys], NULL);
180 for (keys = 8; keys < 127; ++keys)
182 rv = PR_SetThreadPrivate(key[keys], NULL);
186 /* put in keys and leave them there for thread exit */
188 for (keys = 0; keys < 4; ++keys)
190 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
202 PRUintn keys;
211 for (keys = 0; keys < 4; ++keys)
213 rv = PR_NewThreadPrivateIndex(&key[keys], Destructor);
219 for (keys = 0; keys < 8; ++keys)
221 pd = PR_GetThreadPrivate(key[keys]);
227 for (keys = 0; keys < 4; ++keys)
229 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
234 for (keys = 4; keys < 8; ++keys)
235 key[keys] = 4096; /* set to invalid value */
237 for (keys = 4; keys < 8; ++keys)
239 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
245 for (keys = 0; keys < 4; ++keys)
247 rv = PR_SetThreadPrivate(key[keys], key_string[keys]);
253 for (keys = 0; keys < 4; ++keys)
255 rv = PR_SetThreadPrivate(key[keys], NULL);
261 for (keys = 0; keys < 4; ++keys)
263 rv = PR_SetThreadPrivate(key[keys], NULL);
269 for (keys = 8; keys < 127; ++keys)
271 rv = PR_NewThreadPrivateIndex(&key[keys], Destructor);
273 rv = PR_SetThreadPrivate(key[keys], "EXTENSION");
279 for (keys = 8; keys < 127; ++keys)
281 rv = PR_SetThreadPrivate(key[keys], NULL);
287 for (keys = 8; keys < 127; ++keys)
289 rv = PR_SetThreadPrivate(key[keys], NULL);