Home
last modified time | relevance | path

Searched refs:nbJobs (Results 1 – 2 of 2) sorted by relevance

/external/libxml2/example/
Dgjobread.c174 int nbJobs; member
268 ret->jobs[ret->nbJobs++] = curjob; in parseGjobFile()
269 if (ret->nbJobs >= 500) break; in parseGjobFile()
284 printf("%d Jobs registered\n", cur->nbJobs); in handleGjob()
285 for (i = 0; i < cur->nbJobs; i++) printJob(cur->jobs[i]); in handleGjob()
/external/zstd/lib/compress/
Dzstdmt_compress.c834 static void ZSTDMT_freeJobsTable(ZSTDMT_jobDescription* jobTable, U32 nbJobs, ZSTD_customMem cMem) in ZSTDMT_freeJobsTable() argument
838 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_freeJobsTable()
851 U32 const nbJobs = 1 << nbJobsLog2; in ZSTDMT_createJobsTable() local
854 ZSTD_customCalloc(nbJobs * sizeof(ZSTDMT_jobDescription), cMem); in ZSTDMT_createJobsTable()
857 *nbJobsPtr = nbJobs; in ZSTDMT_createJobsTable()
858 for (jobNb=0; jobNb<nbJobs; jobNb++) { in ZSTDMT_createJobsTable()
863 ZSTDMT_freeJobsTable(jobTable, nbJobs, cMem); in ZSTDMT_createJobsTable()
870 U32 nbJobs = nbWorkers + 2; in ZSTDMT_expandJobsTable() local
871 if (nbJobs > mtctx->jobIDMask+1) { /* need more job capacity */ in ZSTDMT_expandJobsTable()
874 mtctx->jobs = ZSTDMT_createJobsTable(&nbJobs, mtctx->cMem); in ZSTDMT_expandJobsTable()
[all …]