| /src/lib/libcurses/ | 
| id_subwins.c | 49 __id_subwins(WINDOW *orig) 54 	for (win = orig->nextp; win != orig; win = win->nextp) {
 55 		oy = win->begy - orig->begy;
 58 			    &orig->alines[oy + y]->line[win->ch_off];
 
 | 
| mvwin.c | 61 	parent = win->orig; 102 	WINDOW *orig;  local in function:mvwin
 113 	orig = win->orig;
 114 	if (orig == NULL) {
 115 		orig = win;
 121 		} while (win != orig);
 123 		if (by < orig->begy || win->maxy + dy > orig->maxy)
 125 		if (bx < orig->begx || win->maxx + dx > orig->maxx
 [all...]
 | 
| newwin.c | 49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx, 55  *      are relative to the origin of window orig instead of absolute.
 58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx)
 61 	return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx,
 68  *      are relative to the origin of window orig instead of absolute.
 71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx)
 74 	return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx
 [all...]
 | 
| move.c | 95 	while (win->orig) { 96 		wmove(win->orig, win->cury + win->begy - win->orig->begy,
 97 		      win->curx + win->begx - win->orig->begx);
 98 		win = win->orig;
 
 | 
| getyx.c | 54 	if (win->orig == NULL) 57 	return win->begy - win->orig->begy;
 72 	if (win->orig == NULL)
 75 	return win->begx - win->orig->begx;
 
 | 
| resize.c | 63 	if (win->orig != NULL) { 65 		if (win->begy > win->orig->begy + win->orig->maxy)
 66 			win->begy = win->orig->begy + win->orig->maxy - 1;
 67 		if (win->begy + nlines > win->orig->begy + win->orig->maxy)
 70 			nlines += win->orig->begy + win->orig->maxy - win->begy;
 73 		if (win->begx > win->orig->begx + win->orig->maxx
 [all...]
 | 
| delwin.c | 69 	if (win->orig == NULL) { 97 		 * NOTE: if we are a subwindow, the minimum list is orig
 
 | 
| insdelln.c | 108 			if (win->orig == NULL) { 152 			if (win->orig == NULL) {
 180 	if (win->orig != NULL)
 181 		__id_subwins(win->orig);
 
 | 
| /src/usr.sbin/acpitools/aml/ | 
| aml_obj.c | 60 aml_copy_object(struct aml_environ *env, union aml_object *orig) 65 	if (orig == NULL)
 67 	switch (orig->type) {
 70 		ret->buffer.size = (orig->regfield.bitlen / 8) +
 71 		    ((orig->regfield.bitlen % 8) ? 1 : 0);
 76 		aml_store_to_object(env, orig, ret);
 80 		ret = aml_alloc_object(0, orig);
 84 	if (1 || orig != &env->tempobject) {	/* XXX */
 85 		if (orig->type == aml_t_buffer) {
 86 			if (orig->buffer.size == 0)
 [all...]
 | 
| /src/sbin/newbtconf/ | 
| newbtconf.sh | 82 	orig=etc.current 85 	orig=$2
 88 if [ -z "`expr $orig : 'etc.\(.*\)'`" ] ; then
 89 	orig=etc.$orig
 92 if [ ! -d /etc/$orig ] ; then
 93 	echo "Original directory /etc/$orig does not exist."
 97 cd /etc/$orig
 
 | 
| /src/usr.bin/find/ | 
| misc.c | 61  *	Replace occurrences of {} in orig with path, and place it in a malloced 65 brace_subst(char *orig, char **store, char *path, size_t *len)
 71 	for (p = *store; (ch = *orig) != '\0'; ++orig)
 72 		if (ch == '{' && orig[1] == '}') {
 74 			rest = strlen(&orig[2]);
 91 			++orig;
 
 | 
| /src/games/monop/ | 
| misc.c | 130 	MON *orig;		/* remember starting monop ptr	*/  local in function:set_ownlist 178 			orig = op->sqr->desc->mon_desc;
 181 			while (op && op->sqr->desc->mon_desc == orig) {
 197 			if (orig == NULL) {
 199 				    "orig = %p\n", orig);
 223 			printf("orig->num_in = %d\n", orig->num_in);
 225 			if (num == orig->num_in)
 226 				is_monop(orig, pl)
 [all...]
 | 
| /src/usr.bin/seq/ | 
| seq.c | 344 unescape(char *orig) 346 	char c, *cp, *new = orig;
 349 	for (cp = orig; (*orig = *cp); cp++, orig++) {
 355 			*orig = '\a';
 358 			*orig = '\b';
 361 			*orig = '\x1B';
 364 			*orig = '\f';
 367 			*orig = '\n'
 [all...]
 | 
| /src/tests/usr.bin/patch/ | 
| t_patch.sh | 33 --- ./longlines.orig 2019-10-16 09:25:30.667656644 +0000 82 	touch to_patch.orig
 94 	atf_check [ -f to_patch.orig ]
 95 	origfile_cksum=$(sha256 -n to_patch.orig | cut -d' ' -f1)
 120 	atf_check [ ! -f to_patch.orig ]
 127 	atf_check [ ! -f to_patch.orig ]
 133 	atf_check [ ! -f to_patch.orig ]
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/radeon/ | 
| radeon_vce_v2_0.c | 80 	u32 orig, tmp;  local in function:vce_v2_0_set_dyn_cg 92 	orig = tmp = RREG32(VCE_UENC_CLOCK_GATING);
 95 	if (tmp != orig)
 98 	orig = tmp = RREG32(VCE_UENC_REG_CLOCK_GATING);
 100 	if (tmp != orig)
 
 | 
| /src/usr.bin/patch/ | 
| util.c | 101 backup_file(const char *orig) 108 	if (backup_type == none || stat(orig, &filestat) != 0)
 113 	 * orig to break possible hardlinks.
 116 		unlink(orig);
 124 		    strlcat(bakname, orig, sizeof(bakname)) >= sizeof(bakname))
 127 		if ((s = find_backup_file_name(orig)) == NULL)
 157 		say("Moving %s to %s.\n", orig, bakname);
 159 	if (rename(orig, bakname) < 0) {
 160 		if (errno != EXDEV || copy_file(orig, bakname) < 0)
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ | 
| amdgpu_si.c | 1876 	u32 data, orig;  local in function:si_program_aspm 1885 	orig = data = RREG32_PCIE_PORT(PCIE_LC_N_FTS_CNTL);
 1888 	if (orig != data)
 1891 	orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL3);
 1893 	if (orig != data)
 1896 	orig = data = RREG32_PCIE(PCIE_P_CNTL);
 1898 	if (orig != data)
 1901 	orig = data = RREG32_PCIE_PORT(PCIE_LC_CNTL);
 1910 		if (orig != data)
 1916 			orig = data = si_pif_phy0_rreg(adev,PB0_PIF_PWRDOWN_0)
 [all...]
 | 
| /src/sys/arch/x86/x86/ | 
| hyperv.c | 829 	uint64_t val, orig;  local in function:vmbus_init_synic_md 840 	orig = rdmsr(MSR_HV_SIMP);
 841 	val = MSR_HV_SIMP_ENABLE | (orig & MSR_HV_SIMP_RSVD_MASK) |
 848 	orig = rdmsr(MSR_HV_SIEFP);
 849 	val = MSR_HV_SIEFP_ENABLE | (orig & MSR_HV_SIEFP_RSVD_MASK) |
 857 	orig = rdmsr(sint);
 859 	    (orig & MSR_HV_SINT_RSVD_MASK);
 866 	orig = rdmsr(sint);
 868 	    (orig & MSR_HV_SINT_RSVD_MASK);
 874 	orig = rdmsr(MSR_HV_SCONTROL)
 882  uint64_t orig;  local in function:vmbus_deinit_synic_md
 [all...]
 | 
| /src/usr.bin/vndcompress/ | 
| Makefile | 142 CLEANFILES+=	part.orig part.orig.tmp 146 check-part: .PHONY part.orig part.out
 147 	cmp part.orig part.out
 148 part.cl2: part.orig part.cl2part vndcompress
 150 	&& ./vndcompress -b 512 -r -R part.orig ${.TARGET}.tmp \
 152 part.cl2part: part.orig vndcompress
 153 	./vndcompress -b 512 -p 10 part.orig ${.TARGET}.tmp \
 155 part.orig:
 
 | 
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_pwhash/argon2/ | 
| argon2-encoding.c | 41     const char    *orig;  local in function:decode_decimal 45     for (orig = str;; str++) {
 62     if (str == orig || (*orig == '0' && str != (orig + 1))) {
 
 | 
| /src/lib/libc/rpc/ | 
| svc_fdset.c | 397 svc_fdset_copy(const fd_set *orig) 405 	if (orig)
 406 		memcpy(copy, orig, __NFD_BYTES(size));
 449 svc_pollfd_copy(const struct pollfd *orig)
 454 	struct pollfd *copy = calloc(size, sizeof(*orig));
 457 	if (orig)
 458 		memcpy(copy, orig, size * sizeof(*orig));
 
 | 
| /src/sys/dev/ | 
| midictl.c | 611 	uint64_t orig;  local in function:store_update 615 	orig = s->table[s->idx];
 616 	if ( !(orig & IS_USED) ) {
 617 		orig = s->key;
 625 		orig &= ~(((uint64_t)3)<<CTL1SHIFT(chan));
 626 		orig |= ((uint64_t)(3 & value)) << CTL1SHIFT(chan);
 629 		orig &= ~(((uint64_t)0xff)<<CTL7SHIFT(chan));
 630 		orig |= ((uint64_t)(0xff & value)) << CTL7SHIFT(chan);
 635 		orig &= ~(((uint64_t)0xffff)<<CTLESHIFT(chan));
 636 		orig |= ((uint64_t)value) << CTLESHIFT(chan)
 [all...]
 | 
| /src/sys/arch/atari/vme/ | 
| et4000.c | 257 	u_char orig, new, saved;  local in function:et4k_detect 271 	orig = bus_space_read_1(*iot, *ioh, ACT_ADDRESS_R);
 272 	bus_space_write_1(*iot, *ioh, ACT_ADDRESS_W, (orig ^ 0x10));
 275 	bus_space_write_1(*iot, *ioh, ACT_ADDRESS, orig);
 276 	if (new != (orig ^ 0x10)) {
 279 		    new, (orig ^ 0x10));
 287 	orig = bus_space_read_1(*iot, *ioh, vgabase + 0x05);
 288 	bus_space_write_1(*iot, *ioh, vgabase + 0x05, (orig ^ 0x0f));
 290 	bus_space_write_1(*iot, *ioh, vgabase + 0x05, orig);
 291 	if (new != (orig ^ 0x0f))
 [all...]
 | 
| /src/sys/dev/dkwedge/ | 
| dkwedge_gpt.c | 282 			char orig[sizeof(dkw.dkw_wname)];  local in function:dkwedge_discover_gpt 283 			strlcpy(orig, dkw.dkw_wname, sizeof(orig));
 289 				    orig, ent_guid_str);
 
 | 
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_stream/chacha20/dolbeau/ | 
| u4.h | 127         x_##A = _mm_add_epi32(x_##A, orig##A);                            \ 128         x_##B = _mm_add_epi32(x_##B, orig##B);                            \
 129         x_##C = _mm_add_epi32(x_##C, orig##C);                            \
 130         x_##D = _mm_add_epi32(x_##D, orig##D);                            \
 
 |