Home
last modified time | relevance | path

Searched refs:DPRINT (Results 1 – 18 of 18) sorted by relevance

/netbsd/src/external/bsd/tre/dist/lib/
Dtre-match-backtrack.c250 DPRINT(("tnfa_execute_backtrack, input type %d\n", type)); in tre_tnfa_run_backtrack()
251 DPRINT(("len = %d\n", len)); in tre_tnfa_run_backtrack()
319 DPRINT(("> init %p, prev_c %lc\n", trans_i->state, (tre_cint_t)prev_c)); in tre_tnfa_run_backtrack()
322 DPRINT(("assert failed\n")); in tre_tnfa_run_backtrack()
334 DPRINT(("saving state %d for backtracking\n", trans_i->state_id)); in tre_tnfa_run_backtrack()
351 DPRINT(("entering match loop, pos %d, str_byte %p\n", pos, str_byte)); in tre_tnfa_run_backtrack()
352 DPRINT(("pos:chr/code | state and tags\n")); in tre_tnfa_run_backtrack()
353 DPRINT(("-------------+------------------------------------------------\n")); in tre_tnfa_run_backtrack()
363 DPRINT(("start loop\n")); in tre_tnfa_run_backtrack()
366 DPRINT((" match found, %d %d\n", match_eo, pos)); in tre_tnfa_run_backtrack()
[all …]
Dtre-match-parallel.c75 DPRINT((" %p", (void *)reach->state)); in tre_print_reach()
78 DPRINT(("/")); in tre_print_reach()
81 DPRINT(("%d:%d", i, reach->tags[i])); in tre_print_reach()
83 DPRINT((",")); in tre_print_reach()
88 DPRINT(("\n")); in tre_print_reach()
131 DPRINT(("tre_tnfa_run_parallel, input type %d\n", type)); in tre_tnfa_run_parallel()
221 DPRINT(("skipped %lu chars\n", (unsigned long)(str_byte - orig_str))); in tre_tnfa_run_parallel()
254 DPRINT(("skipped %d chars\n", str_byte - orig_str)); in tre_tnfa_run_parallel()
268 DPRINT(("length: %d\n", len)); in tre_tnfa_run_parallel()
269 DPRINT(("pos:chr/code | states and tags\n")); in tre_tnfa_run_parallel()
[all …]
Dtre-match-approx.c75 DPRINT((" reach:\n")); in tre_print_reach()
81 DPRINT((" %03d, costs ", id)); in tre_print_reach()
84 DPRINT(("[")); in tre_print_reach()
87 DPRINT(("%2d", reach[id].costs[i][j])); in tre_print_reach()
89 DPRINT((",")); in tre_print_reach()
91 DPRINT(("]")); in tre_print_reach()
93 DPRINT((", ")); in tre_print_reach()
95 DPRINT(("\n tags ")); in tre_print_reach()
98 DPRINT(("%02d", reach[id].tags[i])); in tre_print_reach()
100 DPRINT((",")); in tre_print_reach()
[all …]
Dtre-parse.c84 DPRINT(("Expanding macro '%c' => '%s'\n", in tre_expand_macro()
104 DPRINT(("out of array space, i = %d\n", *i)); in tre_new_item()
133 DPRINT((" expanding class to character ranges\n")); in tre_expand_ctype()
148 DPRINT((" range %c (%d) to %c (%d)\n", min, min, max, max)); in tre_expand_ctype()
285 DPRINT(("tre_parse_bracket: done: '%.*" STRF "'\n", REST(re))); in tre_parse_bracket_items()
297 DPRINT(("tre_parse_bracket: range: '%.*" STRF "'\n", REST(re))); in tre_parse_bracket_items()
318 DPRINT(("tre_parse_bracket: class: '%.*" STRF "'\n", REST(re))); in tre_parse_bracket_items()
344 DPRINT((" class name: %s\n", tmp_str)); in tre_parse_bracket_items()
365 DPRINT(("tre_parse_bracket: char: '%.*" STRF "'\n", REST(re))); in tre_parse_bracket_items()
395 DPRINT(("adding opposite-case counterpoints\n")); in tre_parse_bracket_items()
[all …]
Dtre-compile.c45 DPRINT(("add_tag_left: tag %d\n", tag_id)); in tre_add_tag_left()
78 DPRINT(("tre_add_tag_right: tag %d\n", tag_id)); in tre_add_tag_right()
131 DPRINT((" Using tag %d for %s offset of " in tre_purge_regset()
277 DPRINT(("Literal %d-%d\n", in tre_add_tags()
289 DPRINT(("Minimal %d, %d\n", minimal_tag, tag)); in tre_add_tags()
301 DPRINT((" num_tags = 1\n")); in tre_add_tags()
305 DPRINT((" num_tags++\n")); in tre_add_tags()
324 DPRINT(("Catenation, next_tag = %d\n", next_tag)); in tre_add_tags()
337 DPRINT((" Pushing %d for after left\n", in tre_add_tags()
342 DPRINT((" Reserving next_tag %d to right child\n", in tre_add_tags()
[all …]
Dtre-mem.c72 DPRINT(("tre_mem_alloc: oops, called after failure?!\n")); in tre_mem_alloc_impl()
82 DPRINT(("tre_mem_alloc: xmalloc forced failure\n")); in tre_mem_alloc_impl()
97 DPRINT(("tre_mem_alloc: using provided block\n")); in tre_mem_alloc_impl()
100 DPRINT(("tre_mem_alloc: provided block was NULL\n")); in tre_mem_alloc_impl()
114 DPRINT(("tre_mem_alloc: allocating new %d byte block\n", in tre_mem_alloc_impl()
Dtre-filter.c31 DPRINT(("tre_filter_find: %.*s\n", len, str)); in tre_filter_find()
60 DPRINT(("Found possible match at %d\n", in tre_filter_find()
66 DPRINT(("No match so far...\n")); in tre_filter_find()
71 DPRINT(("This string cannot match.\n")); in tre_filter_find()
Dtre-ast.c118 DPRINT(("params [")); in tre_print_params()
122 DPRINT(("unset")); in tre_print_params()
124 DPRINT(("default")); in tre_print_params()
126 DPRINT(("%d", params[i])); in tre_print_params()
128 DPRINT((", ")); in tre_print_params()
130 DPRINT(("]")); in tre_print_params()
Dtre-stack.c80 DPRINT(("tre_stack_push: stack full\n")); in tre_stack_push()
87 DPRINT(("tre_stack_push: trying to realloc more space\n")); in tre_stack_push()
94 DPRINT(("tre_stack_push: realloc failed.\n")); in tre_stack_push()
97 DPRINT(("tre_stack_push: realloc succeeded.\n")); in tre_stack_push()
Dtre-internal.h25 #define DPRINT(msg) do {printf msg; fflush(stdout);} while(/*CONSTCOND*/(void)0,0) macro
27 #define DPRINT(msg) do { } while(/*CONSTCOND*/(void)0,0) macro
Dregexec.c53 DPRINT(("end tag = t%d = %d\n", tnfa->end_tag, match_eo)); in tre_fill_pmatch()
72 DPRINT(("pmatch[%d] = {t%d = %d, t%d = %d}\n", i, in tre_fill_pmatch()
90 DPRINT(("pmatch[%d] parent %d\n", i, parents[j])); in tre_fill_pmatch()
Dregcomp.c75 DPRINT(("mbrtowc: error %d: %s.\n", errno, strerror(errno))); in tre_regncomp()
Dtre-match-utils.h202 DPRINT(("neg_char_classes_test: %p, %d, %d\n", classes, wc, icase)); in tre_neg_char_classes_match()
/netbsd/src/sys/netinet/
Daccf_http.c132 #define DPRINT(fmt, args...) \ macro
137 #define DPRINT(fmt, args...) macro
144 DPRINT("sbfull, cc(%ld) >= hiwat(%ld): %d, " in sbfull()
239 DPRINT("short cc (%d) but mbufstrncmp ok", cc); in sohashttpget()
242 DPRINT("short cc (%d) mbufstrncmp failed", cc); in sohashttpget()
247 DPRINT("mbufstrcmp ok"); in sohashttpget()
254 DPRINT("mbufstrcmp bad"); in sohashttpget()
258 DPRINT("fallout"); in sohashttpget()
291 DPRINT("newline"); in soparsehttpvers()
308 DPRINT("ok"); in soparsehttpvers()
[all …]
/netbsd/src/sys/dev/pci/
Dpci_resource.c54 #define DPRINT aprint_debug macro
330 DPRINT("PCI: " PCI_SBDF_FMT " %04x:%04x %02x 0x%06x", in pci_resource_device_print()
337 DPRINT(" (device)\n"); in pci_resource_device_print()
340 DPRINT(" (bridge %u -> %u-%u)\n", in pci_resource_device_print()
349 DPRINT("PCI: " PCI_SBDF_FMT in pci_resource_device_print()
362 DPRINT("PCI: " PCI_SBDF_FMT in pci_resource_device_print()
375 DPRINT("PCI: " PCI_SBDF_FMT in pci_resource_device_print()
387 DPRINT(" (0x%02x)\n", PCI_HDRTYPE_TYPE(pd->pd_bhlc)); in pci_resource_device_print()
393 DPRINT("PCI: " PCI_SBDF_FMT in pci_resource_device_print()
403 DPRINT(", 32-bit"); in pci_resource_device_print()
[all …]
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cpp/
Dcpp.c76 #define DPRINT(x) if (dflag) printf x macro
80 #define DPRINT(x) macro
389 DPRINT(("mkrobuf %s\n", s)); in mkrobuf()
402 DPRINT(("strtobuf iob %p buf %p str %s\n", iob, iob->buf, str)); in strtobuf()
1210 DPRINT(("mergeadd: %p %d\n", bl, m)); in mergeadd()
1223 DPRINT(("mergeadd return: %d ", blkidp)); in mergeadd()
1237 DPRINT(("storeblk: %d\n", l)); in storeblk()
1447 DPRINT(("loopover return 0\n")); in loopover()
1469 DPRINT(("%d:enter kfind(%s)\n",0,sp->namep)); in kfind()
1568 DPRINT(("%d:submac: trying '%s'\n", lvl, sp->namep)); in submac()
[all …]
/netbsd/src/sys/external/bsd/ipf/netinet/
Dip_compat.h1508 # define DPRINT(x) printf x macro
1510 # define DPRINT(x) macro
/netbsd/src/sys/arch/sun3/sun3x/
Dpmap.c171 #define DPRINT(args) if (pmap_debug) printf args macro
176 #define DPRINT(args) /* nada */ macro
3532 DPRINT(("pmap_activate(%p)\n", pmap)); in _pmap_switch()