Searched refs:nptrs (Results 1 – 8 of 8) sorted by relevance
| /netbsd/src/external/bsd/flex/dist/tests/ |
| D | mem_nr.l | 76 static int nptrs=0; /* Number of pairs in array. */ variable 81 fprintf(fp,"\tptrs[%d] = {", nptrs); in dump_mem() 96 if( nptrs >= arrsz){ in yyalloc() 100 ptrs[nptrs].p = 0; in yyalloc() 101 ptrs[nptrs].sz = 0; in yyalloc() 111 nptrs++; in yyalloc() 147 nptrs--; in yyfree() 165 nptrs = 0; in main() 173 if ( nptrs > 0 || total_mem > 0){ in main() 174 …fprintf(stderr,"Oops. Looks like a memory leak: nptrs=%d, unfreed memory=%ld\n",nptrs,(long)total_… in main()
|
| D | mem_r.l | 76 static int nptrs=0; /* Number of pairs in array. */ variable 81 fprintf(fp,"\tptrs[%d] = {", nptrs); in dump_mem() 98 if( nptrs >= arrsz){ in testalloc() 102 ptrs[nptrs].p = 0; in testalloc() 103 ptrs[nptrs].sz = 0; in testalloc() 113 nptrs++; in testalloc() 153 nptrs--; in testfree() 172 nptrs = 0; in main() 181 if ( nptrs > 0 || total_mem > 0){ in main() 182 …fprintf(stderr,"Oops. Looks like a memory leak: nptrs=%d, unfreed memory=%ld\n",nptrs,(long)total_… in main()
|
| /netbsd/src/tests/lib/libexecinfo/ |
| D | t_backtrace.c | 69 size_t j, nptrs, min_frames, max_frames; in myfunc3() local 80 nptrs = backtrace(buffer, __arraycount(buffer)); in myfunc3() 81 ATF_REQUIRE(nptrs != (size_t)-1); in myfunc3() 82 strings = backtrace_symbols_fmt(buffer, nptrs, "%n"); in myfunc3() 87 nptrs, ncalls, min_frames, max_frames); in myfunc3() 89 for (j = 0; j < nptrs; j++) { in myfunc3() 93 ATF_REQUIRE(nptrs >= ncalls + 2 + min_frames); in myfunc3() 94 ATF_REQUIRE(nptrs <= ncalls + 2 + max_frames); in myfunc3() 101 for (size_t i = 0; j < nptrs; i++, j++) { in myfunc3()
|
| /netbsd/src/external/gpl3/gcc/dist/libgcc/ |
| D | gbl-ctors.h | 77 __SIZE_TYPE__ nptrs = (__SIZE_TYPE__) __CTOR_LIST__[0]; \ 79 if (nptrs == (__SIZE_TYPE__)-1) \ 80 for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++); \ 81 for (i = nptrs; i >= 1; i--) \
|
| /netbsd/src/sys/dev/raidframe/ |
| D | rf_dagutils.c | 101 int nptrs; in rf_InitNode() local 130 nptrs = nSucc + nAnte + nResult + nSucc; in rf_InitNode() 132 if (nptrs <= RF_DAG_PTRCACHESIZE) { in rf_InitNode() 145 } else if (nptrs <= (RF_DAGPCACHE_SIZE / sizeof(RF_DagNode_t *))) { in rf_InitNode() 149 ptrs = RF_MallocAndAdd(nptrs * sizeof(*ptrs), alist); in rf_InitNode()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/cp/ |
| D | ChangeLog-1997 | 164 is independent of nptrs.
|
| D | ChangeLog-1998 | 2408 a pointer if nptrs == 0. Fix OFFSET_TYPE handling. 2409 (build_ptrmemfunc): Pass 1 to nptrs.
|
| D | ChangeLog-1995 | 2361 nptrs > 0.
|