Searched defs:nb (Results 1 - 25 of 32) sorted by relevance

12

/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/
H A Dprmon.c212 PRUint32 nb; local
215 nb = PR_snprintf(buf, buflen, "[%p] owner=%d[%p] count=%ld",
219 nb = PR_snprintf(buf, buflen, "[%p]", mon);
221 return nb;
H A Dprdump.c57 PRUint32 nb; local
61 nb = PR_vsnprintf(buf, sizeof(buf), fmt, ap);
63 PR_Write(fd, buf, nb);
65 return nb;
/vbox/src/libs/xpcom18a4/ipc/ipcd/shared/src/
H A DipcLog.cpp124 PRUint32 nb = 0; local
129 nb = strlen(ipcLogPrefix);
130 if (nb > sizeof(buf) - 2)
131 nb = sizeof(buf) - 2;
132 PL_strncpy(buf, ipcLogPrefix, nb);
133 buf[nb++] = ' ';
137 nb = WritePrefix(buf, sizeof(buf));
140 PR_vsnprintf(buf + nb, sizeof(buf) - nb, fmt, ap);
/vbox/src/libs/xpcom18a4/xpcom/tests/
H A DCvtURL.cpp101 PRUint32 nb; local
102 ec = uin->Read(buf, 0, 1000, &nb);
107 if (nb == 0) break; // EOF
108 count += nb;
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/lock/test/
H A DTestIPCLocks.cpp79 PRUint32 nb = 0; local
82 nb = PR_snprintf(buf, sizeof(buf), "[%u:%p] ", GetPID(), PR_GetCurrentThread());
84 PR_vsnprintf(buf + nb, sizeof(buf) - nb, fmt, ap);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/threads/combined/
H A Dprucv.c324 PRUint32 nb; local
327 nb = PR_snprintf(buf, buflen, "[%p] owner=%ld[%p]",
330 nb = PR_snprintf(buf, buflen, "[%p]", cvar);
332 return nb;
/vbox/src/libs/xpcom18a4/xpcom/ds/
H A DnsByteBuffer.cpp144 PRUint32 nb; local
145 *aErrorCode = aStream->Read(mBuffer + aKeep, mSpace - aKeep, &nb);
147 mLength += nb;
150 nb = 0;
151 return nb;
/vbox/src/VBox/Devices/Network/lwip/src/netif/ppp/
H A Dvj.c134 * packet. This assumes that nb and comp are not null and that the first
416 struct pbuf *nb,
424 ip = (struct ip *)nb->payload;
427 || hlen + sizeof(struct tcphdr) > nb->len
429 > nb->len
432 ip->ip_p, hlen, nb->len));
455 struct pbuf **nb,
463 struct pbuf *n0 = *nb;
585 *nb = NULL;
612 *nb
415 vj_uncompress_uncomp( struct pbuf *nb, struct vjcompress *comp ) argument
454 vj_uncompress_tcp( struct pbuf **nb, struct vjcompress *comp ) argument
[all...]
H A Dppp.c478 static void nPut(PPPControl *pc, struct pbuf *nb) argument
483 for(b = nb; b != NULL; b = b->next) {
494 pbuf_free(nb);
507 static struct pbuf *pppAppend(u_char c, struct pbuf *nb, ext_accm *outACCM) argument
509 struct pbuf *tb = nb;
515 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) {
518 nb->next = tb;
525 nb = tb;
527 if (nb) {
1292 struct pbuf *nb = (struct pbuf *)arg; local
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dvj.c132 * packet. This assumes that nb and comp are not null and that the first
427 vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp) argument
433 ip = (struct ip_hdr *)nb->payload;
436 || hlen + sizeof(struct tcp_hdr) > nb->len
438 > nb->len
441 IPH_PROTO(ip), hlen, nb->len));
464 vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp) argument
470 struct pbuf *n0 = *nb;
640 *nb = n0;
H A Dppp.c699 nPut(PPPControl *pc, struct pbuf *nb) argument
704 for(b = nb; b != NULL; b = b->next) {
711 pbuf_free(nb);
716 snmp_add_ifoutoctets(&pc->netif, nb->tot_len);
718 pbuf_free(nb);
729 pppAppend(u_char c, struct pbuf *nb, ext_accm *outACCM) argument
731 struct pbuf *tb = nb;
737 if (nb && (PBUF_POOL_BUFSIZE - nb->len) < 2) {
740 nb
1612 struct pbuf *nb = (struct pbuf *)arg; local
[all...]
/vbox/src/VBox/Main/src-server/darwin/
H A DPerformanceDarwin.cpp133 int nb = proc_pidinfo(process, PROC_PIDTASKINFO, 0, tinfo, sizeof(*tinfo)); local
134 if (nb <= 0)
140 else if ((unsigned int)nb < sizeof(*tinfo))
142 Log(("proc_pidinfo() -> too few bytes %d", nb));
/vbox/src/VBox/GuestHost/OpenGL/util/
H A Dudptcpip.c323 static unsigned int nb; local
342 nb++;
351 if (nb) {
353 fprintf(stderr,"%u:%u%s%% ",sizes[i],(nbs[i]*100)/nb,nbs[i]==0?".0":"");
/vbox/src/libs/xpcom18a4/ipc/ipcd/daemon/src/
H A DipcdUnix.cpp222 int nb = PR_snprintf(buf, sizeof(buf), "%u\n", (unsigned long) getpid()); local
223 write(ipcLockFD, buf, nb);
/vbox/src/libs/xpcom18a4/nsprpub/lib/ds/
H A Dplarena.c157 PR_IMPLEMENT(void *) PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument
162 PR_ASSERT((nb & pool->mask) == 0);
164 nb = (PRUword)PL_ARENA_ALIGN(pool, nb); /* force alignment */
170 if ( a->avail +nb <= a->limit ) {
173 a->avail += nb;
188 if ( a->base +nb <= a->limit ) {
196 a->avail += nb;
212 PRUint32 sz = PR_MAX(pool->arenasize, nb);
219 a->avail += nb;
363 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument
[all...]
H A Dplhash.c117 PRSize nb; local
141 nb = n * sizeof(PLHashEntry *);
142 ht->buckets = (PLHashEntry**)((*allocOps->allocTable)(allocPriv, nb));
147 memset(ht->buckets, 0, nb);
251 PRSize nb; local
261 nb = 2 * n * sizeof(PLHashEntry *);
263 ((*ht->allocOps->allocTable)(ht->allocPriv, nb));
268 memset(ht->buckets, 0, nb);
330 PRSize nb; local
339 nb
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dprlog.c139 #define __PUT_LOG(fd, buf, nb) \
142 char savebyte = buf[nb]; \
143 buf[nb] = '\0'; \
145 buf[nb] = savebyte; \
147 fwrite(buf, 1, nb, fd); \
152 #define __PUT_LOG(fd, buf, nb) {fwrite(buf, 1, nb, fd); fflush(fd);}
154 #define __PUT_LOG(fd, buf, nb) PR_Write(fd, buf, nb)
156 #define __PUT_LOG(fd, buf, nb) _PR_MD_WRITE_SYN
505 PRUint32 nb; local
[all...]
/vbox/src/libs/xpcom18a4/xpcom/io/
H A DnsUnicharInputStream.cpp324 PRInt32 nb = mByteData->Fill(aErrorCode, mInput, remainder); local
325 if (nb <= 0) {
331 return nb;
333 NS_ASSERTION(remainder + nb == mByteData->GetLength(), "bad nb");
337 CountValidUTF8Bytes(mByteData->GetBuffer(),remainder + nb, srcLen, dstLen);
341 NS_ASSERTION( (remainder+nb >= srcLen), "cannot be longer than out buffer");
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/LibC/gdtoa/
H A Dstrtodg.c195 int bdif, e, j, k, k1, nb, rv; local
199 bdif -= nb = fpi->nbits;
206 if (P == nb) {
249 if ( (j = nb & kmask) !=0)
264 if (k > nb || fpi->sudden_underflow) {
296 copybits(bits, nb, b);
/vbox/src/libs/libxml2-2.6.31/
H A Dhash.c831 int i, nb; local
847 nb = table->nbElems;
851 if (nb != table->nbElems) {
H A Dxmlmemory.c645 int nb = 0; local
694 nb++;
695 if (nb < 100)
H A Dxmllint.c2346 int nb, i; local
2353 nb = xmlValidGetValidElements(node->last, NULL, list, 256);
2354 if (nb < 0) {
2356 } else if (nb == 0) {
2360 nb);
2361 for (i = 0;i < nb;i++) {
/vbox/src/VBox/Additions/linux/sharedfolders/
H A Dutils.c516 int nb; local
518 nb = sf_g->nls->char2uni(in, in_len, &uni);
519 if (nb < 0)
526 in_len -= nb;
527 in += nb;
530 nb = utf32_to_utf8(uni, out, out_bound_len);
532 nb = utf8_wctomb(out, uni, out_bound_len);
534 if (nb < 0)
541 out_bound_len -= nb;
542 out += nb;
592 int nb; local
[all...]
/vbox/src/recompiler/target-i386/
H A Dhelper.c254 int eflags, i, nb; local
421 nb = 16;
423 nb = 8;
424 for(i=0;i<nb;i++) {
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_nbt.c570 NBTNsRNB *nb; local
579 nb = (NBTNsRNB *) ((u_char *) q + SizeOfNsResource);
586 while (nb != NULL && bcount != 0) {
587 if ((char *)(nb + 1) > pmax) {
588 nb = NULL;
592 printf("<%s>", inet_ntoa(nb->addr));
594 if (!bcmp(&nbtarg->oldaddr, &nb->addr, sizeof(struct in_addr))) {
599 sptr = (u_short *) & (nb->addr);
607 nb->addr = nbtarg->newaddr;
617 nb
[all...]

Completed in 1877 milliseconds

12