/src/distrib/utils/more/ |
position.c | 1 /* $NetBSD: position.c,v 1.5 2003/10/13 14:34:25 agc Exp $ */ 36 static char sccsid[] = "@(#)position.c 8.1 (Berkeley) 6/6/93"; 38 __RCSID("$NetBSD: position.c,v 1.5 2003/10/13 14:34:25 agc Exp $"); 43 * Routines dealing with the "position" table. 44 * This is a table which tells the position (in the input file) of the 47 * {{ The position table is scrolled by moving all the entries. 58 static off_t *table; /* The position table */ 62 * Return the starting file position of a line displayed on the screen. 71 position(where) function 89 * Add a new file position to the bottom of the position table [all...] |
/src/lib/libc/rpc/ |
pmap_rmt.c | 133 u_int lenposition, argposition, position; local in function:xdr_rmtcall_args 147 position = XDR_GETPOS(xdrs); 148 cap->arglen = (u_long)position - (u_long)argposition; 152 XDR_SETPOS(xdrs, position);
|
rpcb_prot.c | 278 u_int lenposition, argposition, position; local in function:xdr_rpcb_rmtcallargs 311 position = XDR_GETPOS(xdrs); 312 objp->args.args_len = (u_int)((u_long)position - (u_long)argposition); 317 XDR_SETPOS(xdrs, position);
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/ |
amdgpu_dc_debug.c | 318 struct crtc_position position; local in function:context_timing_trace 331 pipe_ctx->stream_res.tg->funcs->get_position(pipe_ctx->stream_res.tg, &position); 332 h_pos[i] = position.horizontal_count; 333 v_pos[i] = position.vertical_count;
|
amdgpu_dc.c | 316 struct crtc_position position; local in function:dc_stream_get_crtc_position 323 dc->hwss.get_position(&pipe, 1, &position); 325 *v_pos = position.vertical_count; 326 *nom_v_pos = position.nominal_vcount;
|
/src/sys/arch/zaurus/stand/zbsdmod/ |
zbsdmod.c | 80 static loff_t position; variable in typeref:typename:loff_t 363 if (*offp > position) 364 position = *offp; 379 position = 0; 391 if (position > 0) { 392 printk("%s: loaded %ld bytes\n", ZBOOTDEV_NAME, position); 393 if (position < (loff_t)BOOTINFO_MAXSIZE) { 395 memcpy(bootargs + sizeof(u_int), bsdimage, position);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/falcon/ |
qmgr.h | 72 u32 position; member in struct:nvkm_falcon_cmdq 84 u32 position; member in struct:nvkm_falcon_msgq
|
/src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ |
argon2-core.c | 223 argon2_position_t position; local in function:fill_memory_blocks 231 position.pass = pass; 233 position.slice = (uint8_t) s; 235 position.lane = l; 236 position.index = 0; 237 fill_segment(instance, position);
|
/src/common/lib/libc/gen/ |
rb.c | 189 unsigned int position; local in function:rb_tree_insert_node 203 position = RB_DIR_LEFT; 219 position = (diff < 0); 220 tmp = parent->rb_nodes[position]; 227 if (position == RB_DIR_RIGHT) 233 * Verify our sequential position 254 RB_SET_POSITION(self, position); 263 KASSERT(position == RB_DIR_LEFT || position == RB_DIR_RIGHT); 270 if (parent == rbt->rbt_minmax[position]) [all...] |
/src/games/battlestar/ |
globals.c | 268 int position; variable in typeref:typename:int
|
/src/sys/dev/i2c/ |
nxt2k.c | 270 size_t position; local in function:nxt2k4_load_firmware 299 for(position = 0; position < fwsize; position++) { 300 crc = nxt2k_crc_ccit(crc, blob[position]); 319 position = 0; 323 while ( position < fwsize ) { 324 xfercnt = fwsize - position > 255 ? 255 : fwsize - position; 325 nxt2k_writedata(nxt, 0x2c, &blob[position], xfercnt) [all...] |
/src/sys/ufs/lfs/ |
lfs_rename.c | 933 off_t position; local in function:ulfs_gro_rename 937 * the position is the record length of the . entry, 940 position = LFS_DIRECTSIZ(fs, 1); 941 error = ulfs_dirrewrite(VTOI(fvp), position,
|
/src/usr.bin/error/ |
subr.c | 97 * find the position of a given character in a string 101 position(const char *string, char ch) function in typeref:typename:int
|
/src/sys/external/bsd/compiler_rt/dist/lib/interception/tests/ |
interception_win_test.cc | 248 size_t position = 0; local in function:__interception::__anon9eca3d460110::LoadActiveCode 252 ActiveCode[position++] = 0xC3; // Instruction 'ret'. 263 ActiveCode[position++] = 0x90; 266 *entry_point = (uptr)&ActiveCode[position]; 274 ActiveCode[position++] = 0x66; 275 ActiveCode[position++] = 0x90; 278 ActiveCode[position++] = 0x8B; 279 ActiveCode[position++] = 0xFF; 286 ActiveCode[position++] = code[i];
|
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_display.c | 774 * Retrieve current video scanout position of crtc on a given gpu, and 789 * \param *vpos Location where vertical scanout position should be stored. 790 * \param *hpos Location where horizontal scanout position should go. 792 * scanout position query. Can be NULL to skip timestamp. 794 * scanout position query. Can be NULL to skip timestamp. 805 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of 806 * this flag means that returned position may be offset by a constant but 807 * unknown small number of scanlines wrt. real scanout position. 815 u32 vbl = 0, position = 0; local in function:amdgpu_display_get_crtc_scanoutpos 827 if (amdgpu_display_page_flip_get_scanoutpos(adev, pipe, &vbl, &position) == 0 [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce120/ |
amdgpu_dce120_timing_generator.c | 188 /* Get current H and V position */ 191 struct crtc_position *position) 199 position->horizontal_count = get_reg_field_value(value, 202 position->vertical_count = get_reg_field_value(value, 210 position->nominal_vcount = get_reg_field_value(value, 604 * @param [out] position 608 struct crtc_position *position) 618 position->horizontal_count = get_reg_field_value( 623 position->vertical_count = get_reg_field_value( 633 position->nominal_vcount = get_reg_field_value 648 struct crtc_position position; local in function:dce120_timing_generator_get_crtc_scanoutpos [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/modules/freesync/ |
amdgpu_freesync.c | 479 struct crtc_position position; local in function:mod_freesync_get_v_position 487 &position.vertical_count, 488 &position.nominal_vcount)) { 490 *nom_v_pos = position.nominal_vcount; 491 *v_pos = position.vertical_count;
|
/src/usr.bin/m4/ |
main.c | 160 static struct position { struct 165 static void record(struct position *, int); 166 static void dump_stack(struct position *, int); 744 record(struct position *t, int lev) 753 dump_stack(struct position *t, int lev)
|
/src/sys/dev/hdaudio/ |
hdaudiovar.h | 104 uint32_t position; member in struct:hdaudio_dma_position
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/ |
amdgpu_dce110_timing_generator.c | 536 * @param [out] position 540 struct crtc_position *position) 547 position->horizontal_count = get_reg_field_value( 552 position->vertical_count = get_reg_field_value( 559 position->nominal_vcount = get_reg_field_value( 583 struct crtc_position position; local in function:dce110_timing_generator_get_crtc_scanoutpos 596 tg, &position); 598 *h_position = position.horizontal_count; 599 *v_position = position.vertical_count;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/ |
amdgpu_dcn10_optc.c | 629 struct crtc_position *position) 634 OTG_HORZ_COUNT, &position->horizontal_count, 635 OTG_VERT_COUNT, &position->vertical_count); 638 OTG_VERT_COUNT_NOM, &position->nominal_vcount); 1178 struct crtc_position position; local in function:optc1_get_crtc_scanoutpos 1184 optc1_get_position(optc, &position); 1186 *h_position = position.horizontal_count; 1187 *v_position = position.vertical_count;
|
/src/sys/external/bsd/drm2/dist/drm/amd/display/include/ |
grph_object_defs.h | 166 unsigned int position; /* offset in mm from right side of the board */ member in struct:connector_layout_info
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_display.c | 351 * scanout position we know that the current frame is 1772 * Retrieve current video scanout position of crtc on a given gpu, and 1787 * \param *vpos Location where vertical scanout position should be stored. 1788 * \param *hpos Location where horizontal scanout position should go. 1790 * scanout position query. Can be NULL to skip timestamp. 1792 * scanout position query. Can be NULL to skip timestamp. 1803 * DRM_SCANOUTPOS_ACCURATE = Returned position is accurate. A lack of 1804 * this flag means that returned position may be offset by a constant but 1805 * unknown small number of scanlines wrt. real scanout position. 1813 u32 stat_crtc = 0, vbl = 0, position = 0 local in function:radeon_get_crtc_scanoutpos [all...] |
/src/sys/external/mit/xen-include-public/dist/xen/include/public/io/ |
sndif.h | 625 * stream position advances during playback/capture. 987 * Current stream position - event from back to front when stream's 988 * playback/capture position has advanced: 995 * | position low 32-bit | 12 997 * | position high 32-bit | 16 1006 * position - current value of stream's playback/capture position, octets 1011 uint64_t position; member in struct:xensnd_cur_pos_evt
|
/src/usr.sbin/bta2dpd/bta2dpd/ |
sbc_encode.c | 593 int chan, block, sb, position, i, k; local in function:sbc_decode 642 position = 0; 651 S[i] = samples[position++];
|