Home
last modified time | relevance | path

Searched refs:keep_bang_comments (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/
Drcssmin.py210 def main_subber(keep_bang_comments): argument
214 if keep_bang_comments:
337 def cssmin(style, keep_bang_comments=False): # pylint: disable = W0621 argument
351 return main_sub(main_subber(keep_bang_comments), style)
362 keep_bang_comments = (
372 _sys.stdin.read(), keep_bang_comments=keep_bang_comments
Drcssmin.c35 int keep_bang_comments; member
705 if (ctx->keep_bang_comments && comment[2] == U('!')) { in copy_space()
931 Py_ssize_t tlength, int keep_bang_comments) in rcssmin() argument
943 ctx->keep_bang_comments = keep_bang_comments; in rcssmin()
1049 int keep_bang_comments; in rcssmin_cssmin() local
1063 keep_bang_comments = 0; in rcssmin_cssmin()
1065 keep_bang_comments = PyObject_IsTrue(keep_bang_comments_); in rcssmin_cssmin()
1066 if (keep_bang_comments == -1) in rcssmin_cssmin()
1101 slength, rlength, keep_bang_comments); in rcssmin_cssmin()
Drun_tests.py90 erred, out_b = do_test(py_cssmin, output_b, keep_bang_comments=True)
91 erred, c_out_b = do_test(c_cssmin, output_b, keep_bang_comments=True)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/
Drjsmin.py277 def jsmin(script, keep_bang_comments=False): # pylint: disable = W0621 argument
298 if keep_bang_comments:
312 def jsmin_for_posers(script, keep_bang_comments=False): argument
337 if not keep_bang_comments:
434 keep_bang_comments = (
444 _sys.stdin.read(), keep_bang_comments=keep_bang_comments
Drjsmin.c87 int keep_bang_comments) in rjsmin() argument
234 if ( keep_bang_comments && source < sentinel in rjsmin()
350 int keep_bang_comments; in rjsmin_jsmin() local
364 keep_bang_comments = 0; in rjsmin_jsmin()
366 keep_bang_comments = PyObject_IsTrue(keep_bang_comments_); in rjsmin_jsmin()
367 if (keep_bang_comments == -1) in rjsmin_jsmin()
400 slength, keep_bang_comments); in rjsmin_jsmin()
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/bench/
Dmain.py52 self.cssmin = lambda x: cssmin(x, keep_bang_comments=True)
58 self.cssmin = lambda x: cssmin(x, keep_bang_comments=True)
/external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/docs/
DCHANGES28 feature can be enabled by passing keep_bang_comments=True to the jsmin