/src/sys/kern/ |
kern_fork.c | 259 struct proc *p1, *p2, *parent; local in function:fork1 321 p2 = proc_alloc(); 322 if (p2 == NULL) { 343 memset(&p2->p_startzero, 0, 344 (unsigned) ((char *)&p2->p_endzero - (char *)&p2->p_startzero)); 345 memcpy(&p2->p_startcopy, &p1->p_startcopy, 346 (unsigned) ((char *)&p2->p_endcopy - (char *)&p2->p_startcopy)); 348 TAILQ_INIT(&p2->p_sigpend.sp_info) [all...] |
/src/sys/arch/hpc/hpc/platid_gen/ |
scan.l | 68 char *res, *p, *p2; 70 for (p = p2 = res; *p != '\"'; p++) { 72 *p2++ = *++p; 74 *p2++ = *p; 77 *p2 = '\0';
|
/src/tests/usr.bin/indent/ |
opt_lp.c | 19 p1 = first_procedure(second_procedure(p2, p3), 22 p1 = first_procedure(second_procedure(p2, 28 second_procedure(p2, p3), 37 p1 = first_procedure(second_procedure(p2, p3), 40 p1 = first_procedure(second_procedure(p2, 46 second_procedure(p2, p3), 55 p1 = first_procedure(second_procedure(p2, p3), 58 p1 = first_procedure(second_procedure(p2, 64 second_procedure(p2, p3), 73 p1 = first_procedure(second_procedure(p2, p3) [all...] |
/src/sys/external/isc/libsodium/dist/test/default/ |
core_ed25519.c | 41 unsigned char *p, *p2, *p3; local in function:main 57 p2 = (unsigned char *) sodium_malloc(crypto_core_ed25519_BYTES); 60 crypto_core_ed25519_from_uniform(p2, h); 65 crypto_core_ed25519_add(p, p, p2); 74 crypto_core_ed25519_sub(p, p, p2); 82 memcpy(p2, p, crypto_core_ed25519_BYTES); 86 crypto_core_ed25519_add(p2, p2, p2); 89 crypto_core_ed25519_add(p2, p2, p) [all...] |
/src/common/lib/libutil/ |
proc_compare.c | 68 * Returns 1 if p2 is "better" than p1 89 proc_compare(const PROC *p1, const LWP *l1, const PROC *p2, const LWP *l2) 94 switch (TESTAB(P_ZOMBIE(p1), P_ZOMBIE(p2))) { 105 switch (TESTAB(ISRUN(p1), ISRUN(p2))) { 135 if (p1->P_RTIME_SEC < p2->P_RTIME_SEC) 137 if (p2->P_RTIME_SEC < p1->P_RTIME_SEC) 139 if (p1->P_RTIME_USEC < p2->P_RTIME_USEC) 141 if (p2->P_RTIME_USEC < p1->P_RTIME_USEC) 144 return p2->p_pid > p1->p_pid; /* Nonsense */
|
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/unit/ |
tsan_mman_test.cc | 24 char *p2 = (char*)internal_alloc(MBlockScopedBuf, 20); local in function:__tsan::TEST 25 EXPECT_NE(p2, (char*)0); 26 EXPECT_NE(p2, p); 31 ((char*)p2)[i] = 42; 34 internal_free(p2); 42 char *p2 = (char*)user_alloc(thr, pc, 20); local in function:__tsan::TEST 43 EXPECT_NE(p2, (char*)0); 44 EXPECT_NE(p2, p); 46 EXPECT_EQ(20U, user_alloc_usable_size(p2)); 48 user_free(thr, pc, p2); 72 void *p2 = user_realloc(thr, pc, p, 0); local in function:__tsan::TEST 79 void *p2 = user_realloc(thr, pc, p, 10000); local in function:__tsan::TEST 90 void *p2 = user_realloc(thr, pc, p, 10); local in function:__tsan::TEST 102 char *p2 = (char*)user_alloc(thr, pc, 20); local in function:__tsan::TEST [all...] |
/src/bin/csh/ |
parse.c | 92 asyntax(struct wordent *p1, struct wordent *p2) 94 while (p1 != p2) 98 asyn0(p1, p2); 104 asyn0(struct wordent *p1, struct wordent *p2) 110 for (p = p1; p != p2; p = p->next) 121 if (p->next != p2 && eq(p->next->word, STRand)) 131 asyntax(p->next, p2); 135 asyn3(p1, p2); 139 asyn3(struct wordent *p1, struct wordent *p2) 145 if (p1 == p2) [all...] |
exp.c | 107 int p2; local in function:exp0 110 p2 = exp0(vp, (ignore & IGNORE) || p1); 112 etraci("exp0 p2", p2, vp); 114 return (p1 || p2); 129 int p2; local in function:exp1 132 p2 = exp1(vp, (ignore & IGNORE) || !p1); 134 etraci("exp1 p2", p2, vp); 136 return (p1 && p2); 151 int p2; local in function:csh_exp2 173 int p2; local in function:exp2a 195 int p2; local in function:exp2b 210 Char *p1, *p2; local in function:exp2c 252 Char *p1, *p2; local in function:exp3 292 Char *op, *p1, *p2; local in function:exp3a 320 Char *p1, *p2; local in function:exp4 355 Char *p1, *p2; local in function:exp5 [all...] |
dir.c | 618 Char *p1, *p2; /* general purpose */ local in function:dcanon 647 for (p1 = sp, p2 = p; (*p1++ = *p2++) != '\0';) 665 for (p1 = sp, p2 = p + 1; (*p1++ = *p2++) != '\0';) 714 for (p2 = cp; (*p1++ = *p2++) != '\0';) 716 for (p1--, p2 = slink; (*p1++ = *p2++) != '\0';) 718 for (p1--, p2 = p; (*p1++ = *p2++) != '\0'; [all...] |
/src/usr.bin/cmp/ |
regular.c | 58 u_char ch, *p1, *p2; local in function:c_regular 84 p2 = mmap(NULL, blk_sz, PROT_READ, MAP_FILE|MAP_SHARED, 86 if (p2 == MAP_FAILED) { 92 if ((lflag || sflag) && (memcmp(p1, p2, blk_sz) == 0)) { 101 p2 += blk_sz; 103 for (; blk_cnt--; ++p1, ++p2, ++byte) { 104 if ((ch = *p1) != *p2) { 111 (long long)byte, ch, *p2); 118 munmap(p2 - blk_sz, blk_sz);
|
/src/usr.bin/hexdump/ |
parse.c | 224 char *p1, *p2; local in function:rewrite 270 p2 = *p1 ? p1 + 1 : p1; /* Set end pointer. */ 362 ++p2; 370 ++p2; 421 savech = *p2; 426 *p2 = savech; 428 fmtp = p2; 462 for (p1 = pr->fmt, p2 = NULL; *p1; ++p1) 463 p2 = isspace((unsigned char)*p1) ? p1 : NULL; 464 if (p2) 481 char *p2; local in function:escape [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/fuc/ |
idle.fuc | 63 bclr $flags $p2 72 bset $flags $p2 79 bra $p2 #idle_loop
|
/src/sys/arch/hp300/stand/common/ |
rominfo.h | 52 short p2; /* ?? (FFFFFDCC) */ member in struct:rominfo
|
/src/tests/usr.bin/xlint/lint1/ |
msg_171.c | 53 struct point p2 = { local in function:pointer_to_compound_literal
|
/src/lib/libm/noieee_src/ |
n_exp__E.c | 64 * where P := p1*x^2 + p2*x^4, 68 * (See the listing below for the values of p1,p2,q1,q2,q3. The poly- 92 vc(p2, 6.3112487873718332688E-5 ,5b42,3984,0173,48cd, -13, .845B4248CD0173) 98 ic(p2, 3.3044019718331897649E-5, -15, 1.15317DF4526C4) 104 #define p2 vccast(p2) macro 117 p = z*( p1 +z* p2 );
|
n_exp.c | 58 * R1 = x - x^2*(p1+x^2*(p2+x^2*(p3+x^2*(p4+p5*x^2)))). 95 vc(p2, -2.7777777777015591216E-3 ,0b60,bc36,ec94,b5f5, -8,-.B60B60B5F5EC94) 107 #define p2 vccast(p2) macro 114 ic(p2, -2.7777777777015593384E-3, -9, -1.6C16C16BEBD93) 147 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5)))); 197 c= x - z*(p1+z*(p2+z*(p3+z*(p4+z*p5))));
|
/src/sys/arch/atari/stand/tostools/aptck/ |
disklbl.c | 206 *p2 = x2; local in function:part_cmp 208 if (p1->start < p2->start) 210 if (p1->start > p2->start) 212 if (p1->end < p2->end) 214 if (p1->end > p2->end) 216 if (p1->rsec < p2->rsec) 218 if (p1->rsec > p2->rsec) 220 if (p1->rent < p2->rent) 222 if (p1->rent > p2->rent) 265 part_t *p2 = &dd->parts[j] local in function:ahdi_display [all...] |
/src/sys/arch/macppc/dev/ |
videopll.c | 97 * 3.9064MHz * 2^p2 * p1 / p0 103 int p0, p1, p2; local in function:videopll_set_freq 116 for (p2 = 2; p2 < 4; p2++) { 119 freq_out = (3906400 * (1 << p2) * p1) / (p0 * 1000); 125 b2 = p2;
|
/src/lib/libc/stdlib/ |
merge.c | 118 u_char *list2, *list1, *p2, *p, *last, **p1; local in function:mergesort_r 149 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { 150 p2 = *EVAL(p2); 152 f2 = l1 = list1 + (p2 - list2); 153 if (p2 != last) 154 p2 = *EVAL(p2); 155 l2 = list1 + (p2 - list2) 291 u_char *f1, *f2, *s, *l2, *last, *p2; local in function:setup [all...] |
/src/usr.sbin/tpctl/ |
data.c | 92 char buf[MAXDATALEN + 2], *p, *p2; local in function:read_data 132 p2 = p; 133 while (*p2 != ',' && *p2 != '\0') 134 p2++; 135 if (*p2 != ',') { 141 *p2 = '\0'; 149 p = p2 + 1; 155 t = strtol(p, &p2, 0); 156 if (p == p2) { [all...] |
/src/tests/ipf/ |
t_filter_parse.sh | 61 sed -e 's/authpriv/!!!/g' i19.p1 > i19.p2; 63 cp i19.p1 i19.p2; 66 sed -e 's/logalert/!!!/g' i19.p2 > i19.p1; 68 cp i19.p2 i19.p1; 71 sed -e 's/ftp/!!!/g' i19.p1 > i19.p2; 73 cp i19.p1 i19.p2; 76 sed -e 's/cron/cron2/g' i19.p2 > i19; 78 cp i19.p2 i19;
|
/src/etc/rc.d/ |
bluetooth | 123 p2=$(check_process ${sdpd_cmd}) 125 if [ -n "${p1}${p2}${p3}" ]; then 126 for pid in ${p1} ${p2} ${p3}; do 129 wait_for_pids ${p1} ${p2} ${p3}
|
/src/usr.bin/crunch/crunchgen/ |
crunchgen.c | 394 prog_t *p1, *p2; local in function:add_prog 398 for (p1 = NULL, p2 = progs; p2 != NULL; p1 = p2, p2 = p2->next) 399 if (!strcmp(p2->name, progname)) 402 p2 = emalloc(sizeof(*p2)); 403 p2->name = estrdup(progname) 744 prog_t *p1, *p2; local in function:remove_error_progs 1151 strlst_t *p1, *p2; local in function:add_string [all...] |
/src/sys/arch/evbmips/alchemy/ |
autoconf.c | 129 device_t p2 = device_parent(p1); local in function:device_register 130 device_t p3 = device_parent(p2); 133 device_is_a(p2, "pcmcia") &&
|
/src/lib/libc/db/btree/ |
bt_utils.c | 211 uint8_t *p1, *p2; local in function:__bt_defcmp 220 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2) 221 if (*p1 != *p2) 222 return ((int)*p1 - (int)*p2); 239 uint8_t *p1, *p2; local in function:__bt_defpfx 244 for (p1 = a->data, p2 = b->data; len--; ++p1, ++p2, ++cnt) 245 if (*p1 != *p2)
|