Searched refs:nstates (Results 1 - 22 of 22) sorted by relevance

/macosx-10.10.1/cups-408/cups/vcnet/regex/
H A Dregexec.c71 #define CLEAR(v) memset(v, 0, m->g->nstates)
75 #define ASSIGN(d, s) memcpy(d, s, m->g->nstates)
76 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
78 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
82 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
134 if (g->nstates <= CHAR_BIT*sizeof(states1) && !(eflags&REG_LARGE))
H A Dregex2.h112 sopno nstates; /* = number of sops */ member in struct:re_guts
H A Ddebug.c28 fprintf(d, "%ld states, %d categories", (long)g->nstates,
H A Dengine.c951 for (i = 0; i < g->nstates; i++)
H A Dregcomp.c1474 g->nstates = p->slen;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Support/
H A Dregexec.c107 #define CLEAR(v) memset(v, 0, m->g->nstates)
111 #define ASSIGN(d, s) memmove(d, s, m->g->nstates)
112 #define EQ(a, b) (memcmp(a, b, m->g->nstates) == 0)
114 #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \
118 #define SETUP(v) ((v) = &m->space[m->vn++ * m->g->nstates])
158 if (g->nstates <= (long)(CHAR_BIT*sizeof(states1)) && !(eflags&REG_LARGE))
H A Dregex2.h135 sopno nstates; /* = number of sops */ member in struct:re_guts
H A Dregcomp.c1402 g->nstates = p->slen;
/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOReportMacros.h211 * int nstates - number of states to be reported
213 #define STATEREPORT_BUFSIZE(nstates) \
214 (sizeof(IOStateReportInfo) + (nstates) * sizeof(IOReportElement))
220 * int nstates - number of states to be reported
221 * void* buffer - ptr to STATEREPORT_BUFSIZE(nstates) bytes
230 #define STATEREPORT_INIT(nstates, buf, bufSize, providerID, channelID, cats) \
235 if ((bufSize) >= STATEREPORT_BUFSIZE(nstates)) { \
236 for (unsigned __no = 0; __no < (nstates); __no++) { \
244 __elem->channel_type.nelements = (nstates); \
H A DIOKernelReporters.h892 @param nstates - Maximum number of states for this reporter's channels
907 int nstates,
914 @param state_index - index of state to give an ID: [0..(nstates-1)]
921 numbering them from 0 to <nstates - 1>. If setStateID is not
952 (0..<nstates-1>) or as configured by setStateID().
1229 int16_t nstates, IOReportUnits unit);
1287 @param state_index - index of state to give an ID: [0..(nstates-1)]
/macosx-10.10.1/tcl-105/tcl/tcl/generic/
H A Dregguts.h300 int nstates; /* for numbering states */ member in struct:nfa
307 size_t size; /* Current NFA size; differs from nstates as
324 int nstates; /* number of states */ member in struct:cnfa
335 #define ZAPCNFA(cnfa) ((cnfa).nstates = 0)
336 #define NULLCNFA(cnfa) ((cnfa).nstates == 0)
H A Dregc_nfa.c59 nfa->nstates = 0;
168 nfa->nstates = -1;
204 assert(nfa->nstates >= 0);
205 s->no = nfa->nstates++;
1406 nfa->nstates = n;
1496 size_t nstates;
1503 nstates = 0;
1506 nstates++;
1511 cnfa->states = (struct carc **) MALLOC(nstates * sizeof(struct carc *));
1523 cnfa->nstates
1457 size_t nstates; local
[all...]
H A Drege_dfa.c328 size_t nss = cnfa->nstates * 2;
329 int wordsper = (cnfa->nstates + UBITS - 1) / UBITS;
332 assert(cnfa != NULL && cnfa->nstates != 0);
377 d->nstates = cnfa->nstates;
533 for (i = 0; i < d->nstates; i++) {
554 for (i = 0; i < d->nstates; i++) {
H A Dregexec.c62 int nstates; /* number of states */ member in struct:dfa
674 assert(t->left != NULL && t->left->cnfa.nstates > 0);
675 assert(t->right != NULL && t->right->cnfa.nstates > 0);
773 assert(t->left != NULL && t->left->cnfa.nstates > 0);
852 assert(t->left != NULL && t->left->cnfa.nstates > 0);
853 assert(t->right != NULL && t->right->cnfa.nstates > 0);
971 assert(t->left != NULL && t->left->cnfa.nstates > 0);
972 assert(t->right != NULL && t->right->cnfa.nstates > 0);
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A Dregguts.h323 int nstates; /* for numbering states */ member in struct:nfa
330 size_t size; /* current NFA size; differs from nstates as
347 int nstates; /* number of states */ member in struct:cnfa
358 #define ZAPCNFA(cnfa) ((cnfa).nstates = 0)
359 #define NULLCNFA(cnfa) ((cnfa).nstates == 0)
H A Dregc_nfa.c61 nfa->nstates = 0;
162 nfa->nstates = -1;
197 assert(nfa->nstates >= 0);
198 s->no = nfa->nstates++;
1247 nfa->nstates = n;
1325 size_t nstates; local
1332 nstates = 0;
1335 nstates++;
1340 cnfa->states = (struct carc **)MALLOC(nstates * sizeof(struct carc *));
1350 cnfa->nstates
[all...]
H A Drege_dfa.c268 size_t nss = cnfa->nstates * 2;
269 int wordsper = (cnfa->nstates + UBITS - 1) / UBITS;
272 assert(cnfa != NULL && cnfa->nstates != 0);
318 d->nstates = cnfa->nstates;
447 for (i = 0; i < d->nstates; i++)
463 for (i = 0; i < d->nstates; i++)
H A Dregexec.c62 int nstates; /* number of states */ member in struct:dfa
592 assert(t->left != NULL && t->left->cnfa.nstates > 0);
593 assert(t->right != NULL && t->right->cnfa.nstates > 0);
671 assert(t->left != NULL && t->left->cnfa.nstates > 0);
753 assert(t->left != NULL && t->left->cnfa.nstates > 0);
754 assert(t->right != NULL && t->right->cnfa.nstates > 0);
848 assert(t->left != NULL && t->left->cnfa.nstates > 0);
849 assert(t->right != NULL && t->right->cnfa.nstates > 0);
/macosx-10.10.1/xnu-2782.1.97/osfmk/kern/
H A Dpms.h182 extern kern_return_t pmsCPULoadVIDTable(uint16_t *tablep, int nstates); /* i386 only */
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblunicode/ure/
H A Dure.c255 ucs2_t nstates; member in struct:_ure_dfa_t
1313 _ure_add_state(ucs2_t nstates, ucs2_t *states, _ure_buffer_t *b) argument
1319 if (sp->st.slist_used == nstates &&
1321 sizeof(ucs2_t) * nstates) == 0)
1345 if (sp->st.slist_used + nstates > sp->st.slist_size) {
1348 malloc(sizeof(ucs2_t) * (sp->st.slist_used + nstates));
1352 sizeof(ucs2_t) * (sp->st.slist_used + nstates));
1353 sp->st.slist_size = sp->st.slist_used + nstates;
1355 sp->st.slist_used = nstates;
1357 sizeof(ucs2_t) * nstates);
[all...]
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOStateReporter.cpp42 int nstates,
52 if (!reporter->initWith(reportingService, categories, nstates, unit)) {
70 int16_t nstates,
78 .nelements = static_cast<uint16_t>(nstates),
40 with(IOService *reportingService, IOReportCategories categories, int nstates, IOReportUnits unit ) argument
68 initWith(IOService *reportingService, IOReportCategories categories, int16_t nstates, IOReportUnits unit) argument
/macosx-10.10.1/PowerManagement-494.1.2/pmset/
H A Dpmset.c7094 uint32_t nstates, i; local
7107 nstates = IOReportStateGetCount(ch);
7109 for (i=0; i<nstates; i++) {
7152 for (i=0; i<nstates; i++) {
7163 for (i=0; i<nstates; i++) {

Completed in 313 milliseconds