Searched defs:nproc (Results 1 - 2 of 2) sorted by relevance
/external/toybox/toys/other/ |
H A D | taskset.c | 6 USE_NPROC(NEWTOY(nproc, "(all)", TOYFLAG_USR|TOYFLAG_BIN)) 9 bool "nproc" 12 usage: nproc [--all] 121 unsigned i, j, nproc = 0; local 126 if (toybuf[i]) for (j=0; j<8; j++) if (toybuf[i]&(1<<j)) nproc++; 130 if (!nproc) nproc = sysconf(_SC_NPROCESSORS_CONF); 132 xprintf("%u\n", nproc);
|
/external/curl/lib/ |
H A D | http2.c | 1866 ssize_t nproc; local 1924 nproc = nghttp2_session_mem_recv(httpc->h2, (const uint8_t *)httpc->inbuf, 1927 if(nghttp2_is_fatal((int)nproc)) { 1929 nghttp2_strerror((int)nproc), (int)nproc); 1933 DEBUGF(infof(data, "nghttp2_session_mem_recv() returns %zd\n", nproc)); 1935 if((ssize_t)nread == nproc) { 1940 httpc->nread_inbuf += nproc;
|
Completed in 92 milliseconds