Home
last modified time | relevance | path

Searched refs:jp (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/string/
Dstrstr.c69 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local
79 ip = -1; jp = 0; k = p = 1; in twoway_strstr()
80 while (jp+k<l) { in twoway_strstr()
81 if (n[ip+k] == n[jp+k]) { in twoway_strstr()
83 jp += p; in twoway_strstr()
86 } else if (n[ip+k] > n[jp+k]) { in twoway_strstr()
87 jp += k; in twoway_strstr()
89 p = jp - ip; in twoway_strstr()
91 ip = jp++; in twoway_strstr()
99 ip = -1; jp = 0; k = p = 1; in twoway_strstr()
[all …]
Dmemmem.c72 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
81 ip = -1; jp = 0; k = p = 1; in twoway_memmem()
82 while (jp+k<l) { in twoway_memmem()
83 if (n[ip+k] == n[jp+k]) { in twoway_memmem()
85 jp += p; in twoway_memmem()
88 } else if (n[ip+k] > n[jp+k]) { in twoway_memmem()
89 jp += k; in twoway_memmem()
91 p = jp - ip; in twoway_memmem()
93 ip = jp++; in twoway_memmem()
101 ip = -1; jp = 0; k = p = 1; in twoway_memmem()
[all …]
/bionic/libm/upstream-freebsd/lib/msun/src/
Dk_rem_pio2.c296 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
301 jp = jk; in __kernel_rem_pio2()
403 for(fw=0.0,k=0;k<=jp&&k<=jz-i;k++) fw += PIo2[k]*q[i+k]; in __kernel_rem_pio2()