Searched refs:np (Results 1 - 25 of 68) sorted by relevance

123

/haiku-fatelf/src/system/libroot/posix/glibc/arch/generic/
H A Ddivrem.c46 mp_ptr np, mp_size_t nsize,
49 mpn_divrem (qp, qextra_limbs, np, nsize, dp, dsize)
52 mp_ptr np;
74 n1 = np[nsize - 1];
84 udiv_qrnnd (qp[i], n1, n1, np[i], d);
90 np[0] = n1;
100 np += nsize - 2;
103 n1 = np[1];
104 n0 = np[0];
118 np
45 mpn_divrem(mp_ptr qp, mp_size_t qextra_limbs, mp_ptr np, mp_size_t nsize, mp_srcptr dp, mp_size_t dsize) argument
[all...]
H A Dmpexp.c43 static const int np[33] = {0,0,0,0,3,3,4,4,5,4,4,5,5,5,6,6,6,6,6,6, local
64 n = np[p]; m1 = m1p[p]; a = twomm1[p].d;
/haiku-fatelf/src/bin/network/tcpdump/
H A Dnameser.h231 #define DNS_QR(np) ((np)->flags1 & 0x80) /* response flag */
232 #define DNS_OPCODE(np) ((((np)->flags1) >> 3) & 0xF) /* purpose of message */
233 #define DNS_AA(np) ((np)->flags1 & 0x04) /* authoritative answer */
234 #define DNS_TC(np) ((np)->flags1 & 0x02) /* truncated message */
235 #define DNS_RD(np) ((np)
[all...]
H A Dprint-snmp.c1200 varbind_print(u_char pduid, const u_char *np, u_int length) argument
1210 if ((count = asn1_parse(np, length, &elem)) < 0)
1221 np = (u_char *)elem.data.raw;
1230 if ((count = asn1_parse(np, length, &elem)) < 0)
1237 vbend = np + count;
1241 np = (u_char *)elem.data.raw;
1244 if ((count = asn1_parse(np, length, &elem)) < 0)
1259 np += count;
1266 if ((count = asn1_parse(np, length, &elem)) < 0)
1287 np
1296 snmppdu_print(u_short pduid, const u_char *np, u_int length) argument
1376 trappdu_print(const u_char *np, u_int length) argument
1466 pdu_print(const u_char *np, u_int length, int version) argument
1527 scopedpdu_print(const u_char *np, u_int length, int version) argument
1580 community_print(const u_char *np, u_int length, int version) argument
1609 usm_print(const u_char *np, u_int length) argument
1705 v3msg_print(const u_char *np, u_int length) argument
1842 snmp_print(const u_char *np, u_int length) argument
[all...]
H A Dprint-lwres.c300 const struct lwres_lwpacket *np; local
307 np = (const struct lwres_lwpacket *)bp;
308 TCHECK(np->authlength);
311 v = EXTRACT_16BITS(&np->version);
315 s = (const char *)np + EXTRACT_32BITS(&np->length);
319 response = EXTRACT_16BITS(&np->pktflags) & LWRES_LWPACKETFLAG_RESPONSE;
322 v = EXTRACT_32BITS(&np->opcode);
327 v = EXTRACT_16BITS(&np->pktflags);
333 printf("serial:0x%x", EXTRACT_32BITS(&np
[all...]
H A Dprint-domain.c322 register const u_char *np = cp; local
342 cp = ns_nprint(np, bp);
546 register const HEADER *np; local
551 np = (const HEADER *)bp;
552 TCHECK(*np);
554 qdcount = EXTRACT_16BITS(&np->qdcount);
555 ancount = EXTRACT_16BITS(&np->ancount);
556 nscount = EXTRACT_16BITS(&np->nscount);
557 arcount = EXTRACT_16BITS(&np->arcount);
559 if (DNS_QR(np)) {
[all...]
H A Dprint-atalk.c381 nbp_print(register const struct atNBP *np, u_int length, register u_short snet, argument
385 (const struct atNBPtuple *)((u_char *)np + nbpHeaderSize);
406 switch (i = np->control & 0xf0) {
411 np->id);
422 if ((np->control & 0xf) != 1)
423 (void)printf(" [ntup=%d]", np->control & 0xf);
434 (void)printf(" nbp-reply %d:", np->id);
437 for (i = np->control & 0xf; --i >= 0 && tp; )
442 (void)printf(" nbp-0x%x %d (%d)", np->control, np
[all...]
H A Dprint-isakmp.c108 /* isakmp->np */
114 /* isakmp->np */
427 const u_char *cp, *np; local
458 np = (u_char *)ext + sizeof(sa);
463 np += sizeof(ident);
466 ext = (struct isakmp_gen *)np;
1179 isakmp_sub0_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, argument
1200 if (NPFUNC(np)) {
1205 cp = (*npfunc[np])(ext, item_len, ep, phase, doi, proto, depth);
1207 printf("%s", NPSTR(np));
1218 isakmp_sub_print(u_char np, const struct isakmp_gen *ext, const u_char *ep, u_int32_t phase, u_int32_t doi, u_int32_t proto, int depth) argument
1284 u_char np; local
[all...]
/haiku-fatelf/src/bin/coreutils/src/
H A Dbasename.c80 char *np; local
83 np = name + strlen (name);
86 while (np > name && sp > suffix)
87 if (*--np != *--sp)
89 if (np > name)
90 *np = '\0';
/haiku-fatelf/src/kits/network/libbind/irs/
H A Dnis_ng.c193 char *vdata, *cp, *np; local
210 for ( ; cp; cp = np) {
211 np = strchr(cp, ' ');
212 if (np)
213 *np++ = '\0';
226 char *tp, *np; local
243 if (!(np = strchr(cp, ',')))
245 *np++ = '\0';
249 cp = np;
252 if (!(np
[all...]
/haiku-fatelf/src/bin/bash/lib/sh/
H A Dspell.c66 char *op, *np, *p; local
70 np = newname;
74 *np++ = *op++;
75 *np = '\0';
98 for (p = best; *np = *p++; np++)
H A Dnetopen.c296 char *np, *s, *t; local
299 np = (char *)xmalloc (strlen (path) + 1);
300 strcpy (np, path);
302 s = np + 9;
311 free (np);
/haiku-fatelf/src/add-ons/screen_savers/spider/
H A DPolygonQueue.cpp52 Polygon *np = p->Step(); local
59 fPolygons[fDepth - 1] = np;
/haiku-fatelf/src/system/libroot/posix/glibc/libio/
H A Dfmemopen.c153 _IO_off64_t np; local
161 np = *p;
165 np = c->pos + *p;
169 np = c->size - *p;
176 if (np < 0 || (size_t) np > c->size)
179 c->pos = np;
181 return np;
/haiku-fatelf/src/bin/coreutils/lib/
H A Dprintf-parse.c158 const CHAR_T *np; local
160 for (np = cp; *np >= '0' && *np <= '9'; np++)
162 if (*np == '$')
166 for (np = cp; *np >= '0' && *np <= '9'; np
228 const CHAR_T *np; local
285 const CHAR_T *np; local
[all...]
H A Dsetenv.c222 char *np; local
226 np = (char *) combined;
248 np = KNOWN_VALUE (new_value);
249 if (np == NULL)
252 np = malloc (namelen + 1 + vallen);
253 if (np == NULL)
264 memcpy (np, new_value, namelen + 1 + vallen);
266 memcpy (np, name, namelen);
267 np[namelen] = '=';
268 memcpy (&np[namele
[all...]
/haiku-fatelf/src/libs/util/
H A Dlogin_class.c134 char *np = NULL; local
150 np = malloc(strlen(var) + (dollas * nlen)
154 if (np != NULL) {
155 p = strcpy(np, var);
165 if (p > np && *(p-1) == '\\') /* Escaped: */
185 return np;
204 char * np = substvar(var, pwd, hlen, pch, nlen); local
206 if (np != NULL) {
207 setenv(vars->var, np, vars->overwrite);
208 free(np);
227 char *np; local
[all...]
/haiku-fatelf/src/bin/gawk/
H A Dansi2knr.c396 char *np = p; local
398 for (;; p = --np) {
399 if (*np == '\n' && np[-1] == '\r')
400 --np;
401 for (; np > limit && np[-1] != '\r' && np[-1] != '\n'; --np)
402 if (np[
[all...]
H A Dnode.c395 register NODE *np; local
399 for (np = nextfree; np <= &nextfree[NODECHUNK - 1]; np++) {
400 np->flags = 0;
402 np->exec_count = 0;
404 np->nextp = np + 1;
406 --np;
407 np
[all...]
/haiku-fatelf/src/libs/ncurses/progs/
H A Dtput.c267 const struct name_table_entry *np; local
269 if ((np = _nc_find_entry(name, _nc_get_hash_table(1))) != 0)
270 switch (np->nte_type) {
272 if (bool_from_termcap[np->nte_index])
273 name = boolnames[np->nte_index];
277 if (num_from_termcap[np->nte_index])
278 name = numnames[np->nte_index];
282 if (str_from_termcap[np->nte_index])
283 name = strnames[np->nte_index];
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djpc_t1cod.h291 register jpc_fix_t *np = (fp) - (rowstep); \
306 np[-1] |= JPC_SESIG; \
307 np[1] |= JPC_SWSIG; \
311 *np |= JPC_SSIG | JPC_SSGN; \
316 *np |= JPC_SSIG; \
/haiku-fatelf/src/add-ons/translators/hpgs/lib/
H A Dhpgsglobal.c78 char *np = HeapReAlloc (hHeap,0,p,size); local
80 if (!np) { HeapFree(hHeap,0,p); return 0; }
81 p = np;
271 void *np = realloc(*pptr,nsz*itemsz); local
272 if (!np) return -1;
273 *pptr=np;
312 char *np = realloc (p, size); local
314 if (!np) { free(p); return 0; }
315 p = np;
/haiku-fatelf/headers/libs/agg/
H A Dagg_clip_liang_barsky.h102 unsigned np = 0; local
162 ++np;
188 ++np;
209 ++np;
223 ++np;
228 return np;
/haiku-fatelf/src/bin/network/tcpdump/libpcap/bpf/net/
H A Dbpf_filter.c138 register u_char *cp, *np; local
151 np = mtod(m0, u_char *);
155 return (cp[0] << 24) | (np[0] << 16) | (np[1] << 8) | np[2];
158 return (cp[0] << 24) | (cp[1] << 16) | (np[0] << 8) | np[1];
161 return (cp[0] << 24) | (cp[1] << 16) | (cp[2] << 8) | np[0];
/haiku-fatelf/src/apps/glteapot/
H A DGLObject.cpp288 int *np = (int*)malloc(sizeof(int)*q.numpts); local
289 memcpy(np, qp, q.numpts * sizeof(int));
292 nqs.pts = np;
304 int* np = (int*)malloc(sizeof(int)*q.numpts); local
305 memcpy(np, qp, q.numpts * sizeof(int));
308 nqs.pts = np;

Completed in 159 milliseconds

123