• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/

Lines Matching refs:comp

298     xmlRegexpPtr comp;	/* the compiled regexp */
2931 if (exec->comp->nbCounters > 0) {
2934 xmlMalloc(exec->comp->nbCounters * sizeof(int));
2942 exec->comp->nbCounters * sizeof(int));
2960 if (exec->comp->nbCounters > 0) {
2967 exec->comp->nbCounters * sizeof(int));
2983 xmlFARegExec(xmlRegexpPtr comp, const xmlChar *content) {
2996 exec->comp = comp;
2997 exec->state = comp->states[0];
3002 if (comp->nbCounters > 0) {
3003 exec->counts = (int *) xmlMalloc(comp->nbCounters * sizeof(int));
3008 memset(exec->counts, 0, comp->nbCounters * sizeof(int));
3062 counter = &exec->comp->counters[trans->count];
3078 xmlRegStatePtr to = comp->states[trans->to];
3209 exec->state = comp->states[trans->to];
3269 * @comp: a precompiled regular expression
3279 xmlRegNewExecCtxt(xmlRegexpPtr comp, xmlRegExecCallbacks callback, void *data) {
3282 if (comp == NULL)
3284 if ((comp->compact == NULL) && (comp->states == NULL))
3299 exec->comp = comp;
3300 if (comp->compact == NULL)
3301 exec->state = comp->states[0];
3306 if (comp->nbCounters > 0) {
3311 exec->counts = (int *) xmlMalloc(comp->nbCounters * sizeof(int)
3318 memset(exec->counts, 0, comp->nbCounters * sizeof(int) * 2);
3319 exec->errCounts = &exec->counts[comp->nbCounters];
3458 * @comp: the precompiled exec with a compact table
3469 xmlRegexpPtr comp,
3475 if ((comp == NULL) || (comp->compact == NULL) || (comp->stringMap == NULL))
3482 if (comp->compact[state * (comp->nbstrings + 1)] ==
3495 for (i = 0;i < comp->nbstrings;i++) {
3496 target = comp->compact[state * (comp->nbstrings + 1) + i + 1];
3497 if ((target > 0) && (target <= comp->nbstates)) {
3499 if (xmlRegStrEqualWildcard(comp->stringMap[i], value)) {
3501 if ((exec->callback != NULL) && (comp->transdata != NULL)) {
3503 comp->transdata[state * comp->nbstrings + i], data);
3508 if (comp->compact[target * (comp->nbstrings + 1)] ==
3512 if (comp->compact[target * (comp->nbstrings + 1)] ==
3561 if (exec->comp == NULL)
3566 if (exec->comp->compact != NULL)
3567 return(xmlRegCompactPushString(exec, exec->comp, value, data));
3632 counter = &exec->comp->counters[t->counter];
3667 counter = &exec->comp->counters[t->counter];
3683 counter = &exec->comp->counters[trans->count];
3705 counter = &exec->comp->counters[trans->counter];
3711 xmlRegStatePtr to = exec->comp->states[trans->to];
3806 if ((exec->comp->states[trans->to] != NULL) &&
3807 (exec->comp->states[trans->to]->type ==
3818 exec->comp->nbCounters * sizeof(int));
3820 exec->state = exec->comp->states[trans->to];
3866 exec->comp->nbCounters * sizeof(int));
3936 if (exec->comp == NULL)
3961 if (exec->comp->compact != NULL)
3962 ret = xmlRegCompactPushString(exec, exec->comp, str, data);
3999 if ((exec->comp != NULL) && (exec->comp->compact != NULL)) {
4000 xmlRegexpPtr comp;
4003 comp = exec->comp;
4012 if (comp->compact[state * (comp->nbstrings + 1)] ==
4018 for (i = 0;(i < comp->nbstrings) && (nb < maxval);i++) {
4019 target = comp->compact[state * (comp->nbstrings + 1) + i + 1];
4020 if ((target > 0) && (target <= comp->nbstates) &&
4021 (comp->compact[(target - 1) * (comp->nbstrings + 1)] !=
4023 values[nb++] = comp->stringMap[i];
4027 for (i = 0;(i < comp->nbstrings) && (nb < maxval);i++) {
4028 target = comp->compact[state * (comp->nbstrings + 1) + i + 1];
4029 if ((target > 0) && (target <= comp->nbstates) &&
4030 (comp->compact[(target - 1) * (comp->nbstrings + 1)] ==
4032 values[nb++] = comp->stringMap[i];
4079 if (exec->comp != NULL)
4080 counter = &exec->comp->counters[trans->counter];
4089 if ((exec->comp->states[trans->to] != NULL) &&
4090 (exec->comp->states[trans->to]->type !=
4116 if ((exec->comp->states[trans->to] != NULL) &&
4117 (exec->comp->states[trans->to]->type ==
4239 counter = &exec->comp->counters[trans->count];
4253 xmlRegStatePtr to = exec->comp->states[trans->to];
4331 exec->state = exec->comp->states[trans->to];
5303 * @comp: the compiled regular expression
5311 xmlRegexpExec(xmlRegexpPtr comp, const xmlChar *content) {
5312 if ((comp == NULL) || (content == NULL))
5314 return(xmlFARegExec(comp, content));
5319 * @comp: the compiled regular expression
5326 xmlRegexpIsDeterminist(xmlRegexpPtr comp) {
5330 if (comp == NULL)
5332 if (comp->determinist != -1)
5333 return(comp->determinist);
5343 am->nbAtoms = comp->nbAtoms;
5344 am->atoms = comp->atoms;
5345 am->nbStates = comp->nbStates;
5346 am->states = comp->states;