Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/
Dcssmin.py42 comment_start = css.find("/*")
43 while comment_start >= 0:
46 preserve = css[comment_start + 2:comment_start + 3] == "!"
48 comment_end = css.find("*/", comment_start + 2)
51 css = css[:comment_start]
53 elif comment_end >= (comment_start + 2):
57 comment_start = comment_end + 2
60 comment_start = comment_end + 2
63 css = css[:comment_start] + css[comment_end + 2:]
65 comment_start = comment_end + 2
[all …]
/external/libchrome/mojo/public/tools/chrome_ipc/
Dgenerate_mojom.py276 comment_start = None
289 comment_start = i + 2
295 comment_start = i + 2
303 if comment_start is not None and comment_end is not None:
305 args_str[comment_start:comment_end])
310 comment_start = None
314 if comment_start is not None and comment_end is not None:
316 args_str[comment_start:comment_end])
/external/python/cpython3/Lib/
Dconfigparser.py1015 comment_start = sys.maxsize
1018 while comment_start == sys.maxsize and inline_prefixes:
1026 comment_start = min(comment_start, index)
1031 comment_start = 0
1033 if comment_start == sys.maxsize:
1034 comment_start = None
1035 value = line[:comment_start].strip()
1040 if (comment_start is None and
/external/libchrome/base/json/
Djson_parser.cc273 Optional<StringPiece> comment_start = ConsumeChars(2); in EatComment() local
274 if (!comment_start) in EatComment()
277 if (comment_start == "//") { in EatComment()
284 } else if (comment_start == "/*") { in EatComment()
/external/v8/tools/
Dv8_presubmit.py469 comment_start = line.find("#")
470 if comment_start != -1:
471 line = line[:comment_start]
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_lexer.cc175 const char* comment_start = current_ptr_; in LexToken() local
187 current_ptr_ = comment_start; in LexToken()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc142 {command->comment} comment_start = '#';
194 | {comment} cs_open comment_start comment? cs_close