Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/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/common/py_vulcanize/third_party/rjsmin/
Drjsmin.py312 def jsmin(script, keep_bang_comments=False): argument
335 if keep_bang_comments:
349 def jsmin_for_posers(script, keep_bang_comments=False): argument
374 if not keep_bang_comments:
505 keep_bang_comments = '-b' in argv or '-bp' in argv or '-pb' in argv
512 _sys.stdin.read(), keep_bang_comments=keep_bang_comments
Drjsmin.c91 int keep_bang_comments) in rjsmin() argument
269 if ( keep_bang_comments && source < sentinel in rjsmin()
404 int keep_bang_comments; in rjsmin_jsmin() local
418 keep_bang_comments = 0; in rjsmin_jsmin()
420 keep_bang_comments = PyObject_IsTrue(keep_bang_comments_); in rjsmin_jsmin()
421 if (keep_bang_comments == -1) in rjsmin_jsmin()
454 slength, keep_bang_comments); in rjsmin_jsmin()
/external/chromium-trace/catapult/common/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/common/py_vulcanize/third_party/rjsmin/docs/
DCHANGES50 feature can be enabled by passing keep_bang_comments=True to the jsmin