| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_point_sprite.c | 116 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_decl 121 ts->point_size_in = decl->Range.First; 124 ts->point_pos_in = decl->Range.First; 129 ts->point_size_out = decl->Range.First; 132 ts->point_pos_out = decl->Range.First; 136 ts->point_coord_decl |= 1 << decl->Semantic.Index; 137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index); 139 ts->num_out = MAX2(ts 158 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_immediate 171 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_prolog 274 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_emit_vertex_inst 425 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_inst [all...] |
| H A D | tgsi_two_side.c | 74 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:xform_decl 81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; 82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; 85 ts->face_input = decl->Range.First; 87 ts->num_inputs = MAX2(ts->num_inputs, range_end); 90 ts->num_temps = MAX2(ts->num_temps, range_end); 100 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:emit_prolog 108 if (ts 174 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:xform_inst [all...] |
| H A D | tgsi_aa_point.c | 65 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_decl 70 ts->color_out = decl->Range.First; 73 ts->num_input++; 76 ts->num_tmp = MAX2(ts->num_tmp, (unsigned)(decl->Range.Last + 1)); 89 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_immediate 92 ts->num_imm++; 101 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_prolog 109 ts->tmp = ts 211 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_inst 235 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_epilog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/tgsi/ |
| H A D | tgsi_point_sprite.c | 116 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_decl 121 ts->point_size_in = decl->Range.First; 124 ts->point_pos_in = decl->Range.First; 129 ts->point_size_out = decl->Range.First; 132 ts->point_pos_out = decl->Range.First; 136 ts->point_coord_decl |= 1 << decl->Semantic.Index; 137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index); 139 ts->num_out = MAX2(ts 158 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_immediate 171 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_prolog 274 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_emit_vertex_inst 425 struct psprite_transform_context *ts = psprite_transform_context(ctx); local in function:psprite_inst [all...] |
| H A D | tgsi_two_side.c | 74 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:xform_decl 81 ts->front_color_input[decl->Semantic.Index] = decl->Range.First; 82 ts->front_color_interp[decl->Semantic.Index] = decl->Interp.Interpolate; 85 ts->face_input = decl->Range.First; 87 ts->num_inputs = MAX2(ts->num_inputs, range_end); 90 ts->num_temps = MAX2(ts->num_temps, range_end); 100 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:emit_prolog 108 if (ts 174 struct two_side_transform_context *ts = two_side_transform_context(ctx); local in function:xform_inst [all...] |
| H A D | tgsi_aa_point.c | 65 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_decl 70 ts->color_out = decl->Range.First; 73 ts->num_input++; 76 ts->num_tmp = MAX2(ts->num_tmp, (unsigned)(decl->Range.Last + 1)); 89 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_immediate 92 ts->num_imm++; 101 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_prolog 109 ts->tmp = ts 211 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_inst 235 struct aa_transform_context *ts = aa_transform_context(ctx); local in function:aa_epilog [all...] |
| /xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/ |
| H A D | tu_perfetto_util.c | 39 uint64_t *ts) 41 return tu_drm_get_timestamp(dev->physical_device, ts); 38 tu_device_get_timestamp(struct tu_device * dev,uint64_t * ts) argument
|
| H A D | tu_perfetto.h | 101 uint64_t *ts); 104 tu_device_ticks_to_ns(struct tu_device *dev, uint64_t ts);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_fence.c | 131 struct timespec ts; local in function:lp_fence_timedwait 134 timespec_get(&ts, TIME_UTC); 136 ts.tv_nsec += timeout % 1000000000L; 137 ts.tv_sec += timeout / 1000000000L; 138 if (ts.tv_nsec >= 1000000000L) { 139 ts.tv_sec++; 140 ts.tv_nsec -= 1000000000L; 149 ret = cnd_timedwait(&f->signalled, &f->mutex, &ts);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_fence.c | 131 struct timespec ts; local in function:lp_fence_timedwait 134 timespec_get(&ts, TIME_UTC); 136 ts.tv_nsec += timeout % 1000000000L; 137 ts.tv_sec += timeout / 1000000000L; 138 if (ts.tv_nsec >= 1000000000L) { 139 ts.tv_sec++; 140 ts.tv_nsec -= 1000000000L; 149 ret = cnd_timedwait(&f->signalled, &f->mutex, &ts);
|
| /xsrc/external/mit/xterm/dist/ |
| H A D | xterm_io.h | 242 #define setup_winsize(ts, rows, cols, height, width) \ 243 (ts).ws_xpixel = (ttySize_t) (width), \ 244 (ts).ws_ypixel = (ttySize_t) (height), \ 245 TTYSIZE_ROWS(ts) = (ttySize_t) (rows), \ 246 TTYSIZE_COLS(ts) = (ttySize_t) (cols) 248 #define setup_winsize(ts, rows, cols, height, width) \ 249 TTYSIZE_ROWS(ts) = (ttySize_t) (rows), \ 250 TTYSIZE_COLS(ts) = (ttySize_t) (cols) 256 #define trace_winsize(ts, id) \ 259 TTYSIZE_ROWS(ts), TTYSIZE_COL [all...] |
| H A D | resize.c | 366 TTYSIZE_STRUCT ts; local in function:main 549 if (sscanf(buf, wsize[emu], &ts.ws_xpixel, &ts.ws_ypixel) != 2) { 553 setup_winsize(ts, rows, cols, 0, 0); 554 SET_TTYSIZE(tty, ts); 555 } else if (ioctl(tty, TIOCGWINSZ, &ts) != -1) { 561 setup_winsize(ts, rows, cols, 562 scaled(TTYSIZE_ROWS(ts), rows, ts.ws_ypixel), 563 scaled(TTYSIZE_COLS(ts), col [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_state_tss.c | 182 SVGA3dTextureState *ts; local in function:update_tss_binding 184 if (SVGA3D_BeginSetTextureState(svga->swc, &ts, 192 ts[i].stage = queue.bind[i].unit; 193 ts[i].name = SVGA3D_TS_BIND_TEXTURE; 208 &ts[i].value, 271 SVGA3dTextureState *ts; local in function:svga_reemit_tss_bindings 273 ret = SVGA3D_BeginSetTextureState(svga->swc, &ts, queue.bind_count); 281 ts[i].stage = queue.bind[i].unit; 282 ts[i].name = SVGA3D_TS_BIND_TEXTURE; 287 &ts[ 315 SVGA3dTextureState ts[PIPE_MAX_SAMPLERS*SVGA3D_TS_MAX]; member in struct:ts_queue 409 SVGA3dTextureState *ts; local in function:update_tss [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_state_tss.c | 182 SVGA3dTextureState *ts; local in function:update_tss_binding 184 if (SVGA3D_BeginSetTextureState(svga->swc, &ts, 192 ts[i].stage = queue.bind[i].unit; 193 ts[i].name = SVGA3D_TS_BIND_TEXTURE; 208 &ts[i].value, 272 SVGA3dTextureState *ts; local in function:svga_reemit_tss_bindings 274 ret = SVGA3D_BeginSetTextureState(svga->swc, &ts, queue.bind_count); 282 ts[i].stage = queue.bind[i].unit; 283 ts[i].name = SVGA3D_TS_BIND_TEXTURE; 288 &ts[ 316 SVGA3dTextureState ts[PIPE_MAX_SAMPLERS*SVGA3D_TS_MAX]; member in struct:ts_queue 409 SVGA3dTextureState *ts; local in function:update_tss [all...] |
| /xsrc/external/mit/xtrap/dist/ |
| H A D | xtrapin.c | 114 Time ts; member in struct:__anon1d3c714e0108 217 last_time = (last_time ? last_time : rec.ts); /* first rec */ 218 rec.ts = (rec.ts ? rec.ts : last_time); /* dual monitor bug! */ 219 t1 = rec.ts; t2 = last_time; /* move to signed variables */ 222 last_time = rec.ts; 260 rec->ts = tmp[7L];
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_texture_state.h | 69 struct etna_sampler_ts ts; member in struct:etna_sampler_view
|
| /xsrc/external/mit/MesaLib/dist/include/c11/ |
| H A D | threads_win32.h | 129 static time_t impl_timespec2msec(const struct timespec *ts) argument 131 return (ts->tv_sec * 1000U) + (ts->tv_nsec / 1000000L); 313 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) argument 316 assert(ts != NULL); 319 if (impl_abs2relmsec(ts) == 0) 512 timespec_get(struct timespec *ts, int base) argument 514 assert(ts != NULL); 516 ts->tv_sec = time(NULL); 517 ts [all...] |
| H A D | threads_posix.h | 234 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) argument 237 assert(ts != NULL); 242 rt = pthread_mutex_timedlock(mtx, ts); 248 expire += ts->tv_sec; 387 timespec_get(struct timespec *ts, int base) argument 389 if (!ts) return 0; 391 clock_gettime(CLOCK_REALTIME, ts);
|
| /xsrc/external/mit/MesaLib.old/dist/include/c11/ |
| H A D | threads_win32.h | 153 static DWORD impl_timespec2msec(const struct timespec *ts) argument 155 return (DWORD)((ts->tv_sec * 1000U) + (ts->tv_nsec / 1000000L)); 213 static int impl_cond_do_wait(cnd_t *cond, mtx_t *mtx, const struct timespec *ts) argument 226 w = WaitForSingleObject(cond->sem_queue, ts ? impl_timespec2msec(ts) : INFINITE); 445 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) argument 448 if (!mtx || !ts) return thrd_error; 450 expire += ts->tv_sec; 643 timespec_get(struct timespec *ts, in argument [all...] |
| H A D | threads_posix.h | 234 mtx_timedlock(mtx_t *mtx, const struct timespec *ts) argument 237 assert(ts != NULL); 242 rt = pthread_mutex_timedlock(mtx, ts); 248 expire += ts->tv_sec; 387 timespec_get(struct timespec *ts, int base) argument 389 if (!ts) return 0; 391 clock_gettime(CLOCK_REALTIME, ts);
|
| /xsrc/external/mit/lndir/dist/ |
| H A D | lndir.c | 138 directory. Assumes that files described by fs and ts are directories. */ 143 struct stat *ts, /* stats for the "from" directory and cwd */ 157 if ((fs->st_dev == ts->st_dev) && (fs->st_ino == ts->st_ino)) { 370 struct stat fs, ts; local in function:main 399 if (stat (tn, &ts) < 0) 401 if (!(S_ISDIR(ts.st_mode))) 412 exit (dodir (fn, &fs, &ts, 0)); 140 dodir(const char * fn,struct stat * fs,struct stat * ts,int rel) argument
|
| /xsrc/external/mit/libdrm/dist/tegra/ |
| H A D | job.c | 172 struct timespec ts; local in function:drm_tegra_job_wait 175 clock_gettime(CLOCK_MONOTONIC, &ts); 178 args.timeout_ns = ts.tv_sec * 1000000000 + ts.tv_nsec + timeout;
|
| /xsrc/external/mit/MesaLib.old/dist/src/util/ |
| H A D | u_thread.h | 139 struct timespec ts; local in function:u_thread_get_time_nano 143 clock_gettime(cid, &ts); 144 return (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec;
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/ |
| H A D | etnaviv_texture_desc.c | 67 struct etna_sampler_ts ts; member in struct:etna_sampler_view_desc 273 if (!sv->ts.enable) 276 etna_set_state(stream, VIVS_TS_SAMPLER_CONFIG(x), sv->ts.TS_SAMPLER_CONFIG); 277 etna_set_state_reloc(stream, VIVS_TS_SAMPLER_STATUS_BASE(x), &sv->ts.TS_SAMPLER_STATUS_BASE); 278 etna_set_state(stream, VIVS_TS_SAMPLER_CLEAR_VALUE(x), sv->ts.TS_SAMPLER_CLEAR_VALUE); 279 etna_set_state(stream, VIVS_TS_SAMPLER_CLEAR_VALUE2(x), sv->ts.TS_SAMPLER_CLEAR_VALUE2); 301 COND(sv->ts.enable, VIVS_NTE_DESCRIPTOR_TX_CTRL_TS_ENABLE) | 302 VIVS_NTE_DESCRIPTOR_TX_CTRL_TS_MODE(sv->ts.mode) | 304 COND(sv->ts.comp, VIVS_NTE_DESCRIPTOR_TX_CTRL_COMPRESSION)); 347 return &sv->ts; [all...] |
| /xsrc/external/mit/MesaLib/dist/src/util/ |
| H A D | u_queue.c | 132 struct timespec ts; local in function:do_futex_fence_wait 133 ts.tv_sec = abs_timeout / (1000*1000*1000); 134 ts.tv_nsec = abs_timeout % (1000*1000*1000); 143 int r = futex_wait(&fence->val, 2, timeout ? &ts : NULL); 200 struct timespec ts; local in function:_util_queue_fence_wait_timeout 203 timespec_get(&ts, TIME_UTC); 205 clock_gettime(CLOCK_REALTIME, &ts); 208 ts.tv_sec += abs_timeout / (1000*1000*1000); 209 ts.tv_nsec += abs_timeout % (1000*1000*1000); 210 if (ts [all...] |