/external/pdfium/third_party/libtiff/ |
H A D | tif_tile.c | 295 TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 297 (*tif->tif_deftilesize)(tif, tw, th); 301 _TIFFDefaultTileSize(TIFF* tif, uint32* tw, uint32* th) argument 306 if (*(int32*) th < 1) 307 *th = 256; 311 if (*th & 0xf) 312 *th = TIFFroundup_32(*th, 16);
|
H A D | tif_getimage.c | 629 uint32 tw, th; local 648 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); 686 rowstoread = th - (row + img->row_offset) % th; 702 pos = ((row+img->row_offset) % th) * TIFFTileRowSize(tif) + \ 776 uint32 tw, th; local 802 TIFFGetField(tif, TIFFTAG_TILELENGTH, &th); 835 rowstoread = th - (row + img->row_offset) % th; 898 pos = ((row+img->row_offset) % th) * TIFFTileRowSiz [all...] |
/external/syslinux/core/lwip/src/netif/ppp/ |
H A D | vj.c | 144 register struct tcp_hdr *th; local 166 th = (struct tcp_hdr *)&((long *)ip)[hlen]; 167 if ((TCPH_FLAGS(th) & (TCP_SYN|TCP_FIN|TCP_RST|TCP_ACK)) != TCP_ACK) { 180 || *(long *)th != ((long *)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]) { 201 && *(long *)th == ((long *)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]) { 216 hlen += TCPH_OFFSET(th); 239 hlen += TCPH_OFFSET(th); 252 * check is unnecessary but costless). The 4th line checks the TCP 253 * header length. The 5th line checks IP options, if any. The 6th 467 struct tcp_hdr *th; local [all...] |
/external/iproute2/misc/ |
H A D | lnstat.c | 182 static struct table_hdr th; local 186 th.hdr[i] = calloc(1, HDR_LINE_LENGTH); 192 snprintf(th.hdr[0]+ofs, width+2, "%*.*s|", width, width, 198 snprintf(th.hdr[h]+ofs, width+2, 201 th.num_lines = h+1; 202 snprintf(th.hdr[h]+ofs, width+2, 210 for (h = 1; h <= th.num_lines; h++) { 212 if (th.hdr[h][i] == '\0') 213 th.hdr[h][i] = ' '; 217 return &th; 220 print_hdr(FILE *of, struct table_hdr *th) argument [all...] |
/external/libevent/ |
H A D | event_iocp.c | 205 ev_uintptr_t th = _beginthread(loop, 0, port); local 206 if (th == (ev_uintptr_t)-1) 208 port->threads[i] = (HANDLE)th;
|
/external/libvncserver/libvncserver/ |
H A D | zrleencodetemplate.c | 104 int tx, th = rfbZRLETileHeight; local 105 if (th > y+h-ty) th = y+h-ty; 110 GET_IMAGE_INTO_BUF(tx,ty,tw,th,buf); 116 ZRLE_ENCODE_TILE((PIXEL_T*)buf, tw, th, os,
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
H A D | stress1.c | 408 pthread_t th[NTOT]; local 658 ret = pthread_create(&th[i], &ta, threaded_A, &(td->cd[i])); 674 ret = pthread_join(th[i], NULL);
|
H A D | s-c.c | 303 pthread_t *th; local 324 th = (pthread_t *) calloc(nthreads, sizeof(pthread_t)); 325 if (th == NULL) { 405 pthread_create(&th[i], &ta, waiter, 415 ret = pthread_cancel(th[j]); 430 ret = pthread_join(th[j], NULL); 436 free(th); 503 ret = pthread_join(th[i], NULL); 542 free(th);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
H A D | stress1.c | 393 pthread_t th[NTOT]; local 646 ret = pthread_create(&th[i], &ta, threaded_A, &(td->cd[i])); 662 ret = pthread_join(th[i], NULL);
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/ |
H A D | s-c1.c | 152 pthread_t *th; local 174 th = (pthread_t *) calloc(1 + my_max, sizeof(pthread_t)); 175 if (th == NULL) { 254 pthread_create(&th[nthreads], 360 ret = pthread_join(th[i], NULL); 400 free(th);
|
/external/python/cpython2/Python/ |
H A D | thread_pthread.h | 163 pthread_t th; local 194 status = pthread_create(&th, 210 pthread_detach(th); 213 return (long) th; 215 return (long) *(long *) &th;
|
/external/python/cpython3/Python/ |
H A D | thread_pthread.h | 188 pthread_t th; local 219 status = pthread_create(&th, 235 pthread_detach(th); 238 return (long) th; 240 return (long) *(long *) &th;
|
/external/tensorflow/tensorflow/c/eager/ |
H A D | c_api_test.cc | 39 TFE_TensorHandle* th = TFE_NewTensorHandle(t, status); local 43 return th; 70 TFE_TensorHandle* th = TFE_NewTensorHandle(t, status); local 74 return th;
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
H A D | div.c | 71 BN_ULONG dh, dl, q, ret = 0, th, tl, t; local 100 th = q * dh; 103 t = h - th; 109 th -= dh; 114 th += t; 117 th++; 120 if (h < th) { 124 h -= th;
|
/external/iproute2/ip/ |
H A D | xfrm_policy.c | 979 struct xfrmu_spdhthresh *th; local 981 if (RTA_PAYLOAD(tb[XFRMA_SPD_IPV4_HTHRESH]) < sizeof(*th)) { 985 th = RTA_DATA(tb[XFRMA_SPD_IPV4_HTHRESH]); 987 fprintf(fp, " local %d", th->lbits); 988 fprintf(fp, " remote %d", th->rbits); 993 struct xfrmu_spdhthresh *th; local 995 if (RTA_PAYLOAD(tb[XFRMA_SPD_IPV6_HTHRESH]) < sizeof(*th)) { 999 th = RTA_DATA(tb[XFRMA_SPD_IPV6_HTHRESH]); 1001 fprintf(fp, " local %d", th->lbits); 1002 fprintf(fp, " remote %d", th [all...] |
/external/jemalloc/test/src/ |
H A D | SFMT.c | 164 uint64_t th, tl, oh, ol; local 166 th = ((uint64_t)in->u[2] << 32) | ((uint64_t)in->u[3]); 169 oh = th >> (shift * 8); 171 ol |= th << (64 - shift * 8); 179 uint64_t th, tl, oh, ol; local 181 th = ((uint64_t)in->u[3] << 32) | ((uint64_t)in->u[2]); 184 oh = th >> (shift * 8); 186 ol |= th << (64 - shift * 8); 203 uint64_t th, tl, oh, ol; local 205 th 218 uint64_t th, tl, oh, ol; local [all...] |
/external/libedit/src/ |
H A D | refresh.c | 995 int h, v, th, w; local 1008 th = el->el_terminal.t_size.h; /* optimize for speed */ 1023 if (w > 1 && h + w > th) { /* won't fit on line */ 1031 if (h >= th) { /* check, extra long tabs picked up here also */ 1032 h -= th; 1039 if (h + w > th) {
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | intel_tiled_memcpy.c | 643 uint32_t tw, th, span; local 648 th = xtile_height; 653 th = ytile_height; 663 yt0 = ALIGN_DOWN(yt1, th); 664 yt3 = ALIGN_UP (yt2, th); 672 for (yt = yt0; yt < yt3; yt += th) { 680 uint32_t y1 = MIN2(yt2, yt + th); 701 dst + (ptrdiff_t) xt * th + (ptrdiff_t) yt * dst_pitch, 734 uint32_t tw, th, span; local 739 th [all...] |
/external/tcpdump/ |
H A D | print-tcp.c | 253 register struct tcp_seq_hash6 *th; local 277 for (th = &tcp_seq_hash[tha.port % TSEQ_HASHSIZE]; 278 th->nxt; th = th->nxt) 279 if (memcmp((char *)&tha, (char *)&th->addr, 280 sizeof(th->addr)) == 0) 283 if (!th->nxt || (flags & TH_SYN)) { 285 if (th->nxt == NULL) { 286 th 307 register struct tcp_seq_hash *th; local [all...] |
/external/mesa3d/src/gallium/drivers/ilo/core/ |
H A D | ilo_image.c | 763 * To access the N-th slice, an offset of (Stride * QPitch * N) is added to 1163 int tw, th; local 1169 th = align(layout->lods[lv].slice_height, hz_align_j) * 1173 th = (th + 31) / 32; 1177 if (hz_height < cur_ty + th) 1178 hz_height = cur_ty + th; 1183 cur_ty += th;
|
/external/compiler-rt/lib/asan/tests/ |
H A D | asan_test.cc | 153 pthread_t th; local 154 PTHREAD_CREATE(&th, NULL, TSDWorker, NULL); 155 PTHREAD_JOIN(th, NULL); 166 pthread_t th; local 169 PTHREAD_CREATE(&th, NULL, TSDWorker, &test_key); 170 PTHREAD_JOIN(th, NULL);
|
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cc | 453 pthread_t th; local 454 pthread_create(&th, 0, (void*(*)(void *arg))func, arg); 456 return th; 459 void internal_join_thread(void *th) { pthread_join((pthread_t)th, 0); } argument
|
/external/ltp/testcases/kernel/mem/lib/ |
H A D | mem.c | 76 pthread_t *th; local 83 th = malloc(sizeof(pthread_t) * threads); 84 if (!th) { 90 TEST(pthread_create(&th[i], NULL, child_alloc_thread,
|
/external/syslinux/com32/cmenu/libmenu/ |
H A D | menu.c | 45 t_timeout_handler th; local 53 th = ms->ontimeout; 64 th = ms->ontotaltimeout; 69 if (!th) 71 key = th();
|
/external/syslinux/com32/lua/src/ |
H A D | lgc.c | 495 static lu_mem traversestack (global_State *g, lua_State *th) { argument 497 StkId o = th->stack; 500 for (; o < th->top; o++) /* mark live elements in the stack */ 503 StkId lim = th->stack + th->stacksize; /* real end of stack */ 509 for (ci = &th->base_ci; ci != th->ci; ci = ci->next) 512 return sizeof(lua_State) + sizeof(TValue) * th->stacksize + 546 lua_State *th = gco2th(o); local 547 g->gray = th [all...] |