Home
last modified time | relevance | path

Searched refs:comment_pos (Results 1 – 25 of 80) sorted by relevance

1234

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/tools/blinkpy/common/
H A Dread_checksum_from_png.py34 comment_pos = data.find(comment_key)
35 if comment_pos == -1:
38 checksum_pos = comment_pos + len(comment_key)
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mbl/
H A Dmbl_parse_block.cxx49 for (unsigned comment_pos=1; comment_pos < comment_length; ++comment_pos) in mbl_parse_block() local
54 if (c != comment[comment_pos]) in mbl_parse_block()
/dports/editors/rehex/rehex-0.4.0/wxLua/bindings/
H A Dgenidocs.lua332 local comment_pos = string.find(line, "//", 1, 1) or 1E6
364 if (brace_open_pos and (brace_open_pos < comment_pos)) then
367 if (brace_close_pos and (brace_close_pos < comment_pos)) then
375 if (class_pos and (class_pos < comment_pos)) or
376 (enum_pos and (enum_pos < comment_pos)) then
386 elseif comment_pos < 1E6 then
413 elseif TagIsBefore(line, "%member", comment_pos) then
415 elseif TagIsBefore(line, "%rename", comment_pos) then
419 elseif TagIsBefore(line, "%event", comment_pos) then
421 elseif TagIsBefore(line, "#define", comment_pos) then
[all …]
/dports/games/wyrmgus/Wyrmgus-3.5.4/src/stratagus/
H A Dconfig.cpp204 size_t comment_pos = 0; in ParseLine() local
205 while ((comment_pos = line.find('#', comment_pos)) != std::string::npos) { in ParseLine()
208 …= line.find('\"', quotation_mark_pos)) != std::string::npos) && quotation_mark_pos < comment_pos) { in ParseLine()
213 …line = line.substr(0, comment_pos); //ignore what is written after the comment symbol ('#'), unles… in ParseLine()
216 ++comment_pos; in ParseLine()
/dports/astro/py-astropy/astropy-5.0/astropy/io/ascii/src/
H A Dtokenizer.c35 tokenizer->comment_pos = 0; in create_tokenizer()
110 self->comment_pos + 1); in resize_comments()
113 (self->comment_pos + 1 - self->comment_lines_len) * sizeof(char)); in resize_comments()
115 self->comment_lines_len = self->comment_pos + 1; in resize_comments()
140 if (self->comment_pos >= self->comment_lines_len) in push_comment()
144 self->comment_lines[self->comment_pos++] = c; in push_comment()
151 if (self->comment_pos == 0 || self->comment_lines[self->comment_pos - 1] == '\x00') in end_comment()
1085 self->comment_pos = 0; in reset_comments()
/dports/textproc/R-cran-sass/sass/src/libsass/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/www/py-libsass/libsass-0.21.0/libsass/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/www/gohugo/hugo-0.91.2/vendor/github.com/bep/golibsass/libsass_src/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/textproc/libsass/libsass-3.6.4/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/libsass/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/www/zola/zola-0.15.2/cargo-crates/sass-sys-0.4.22/libsass/src/
H A Dsass2scss.cpp402 size_t comment_pos = findCommentOpener(sass); in flush() local
404 if (comment_pos != std::string::npos) in flush()
410 sass.at(comment_pos + 1) = '*'; in flush()
415 if (comment_pos > 0) in flush()
418 size_t ws_pos = sass.find_last_not_of(SASS2SCSS_FIND_WHITESPACE, comment_pos - 1); in flush()
419 comment_pos = ws_pos == std::string::npos ? 0 : ws_pos + 1; in flush()
424 converter.whitespace += sass.substr(comment_pos); in flush()
431 sass = sass.substr(0, comment_pos); in flush()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chromeos/system/
H A Dname_value_pairs_parser.cc144 size_t comment_pos = pair.find(comment_delim, eq_pos + 1); in ParseNameValuePairsWithComments() local
145 if (comment_pos != std::string::npos) in ParseNameValuePairsWithComments()
146 value_size = comment_pos - eq_pos - 1; in ParseNameValuePairsWithComments()
/dports/editors/vim/vim-8.2.3745/src/
H A Dcindent.c230 pos_T *comment_pos; in ind_find_start_CORS() local
234 if (comment_pos != NULL) in ind_find_start_CORS()
238 comment_pos_copy = *comment_pos; in ind_find_start_CORS()
239 comment_pos = &comment_pos_copy; in ind_find_start_CORS()
252 return comment_pos; in ind_find_start_CORS()
2044 pos_T *comment_pos; in get_c_indent() local
2109 if (comment_pos != NULL) in get_c_indent()
2112 tryposCopy = *comment_pos; in get_c_indent()
2113 comment_pos = &tryposCopy; in get_c_indent()
2235 else if (STRNCMP(ml_get(comment_pos->lnum) + comment_pos->col, in get_c_indent()
[all …]
/dports/net/yazproxy/yazproxy-1.3.9/src/
H A Dmod_helsinki.cpp182 char *comment_pos = strchr(line, '#'); in my_authenticate() local
183 if (comment_pos) in my_authenticate()
184 *comment_pos = '\0'; in my_authenticate()
/dports/emulators/citra/citra-ac98458e0/externals/teakra/src/makedsp1/
H A Dmain.cpp61 auto comment_pos = line.find("//"); in main() local
62 if (comment_pos != std::string::npos) { in main()
63 line.erase(comment_pos); in main()
/dports/emulators/citra-qt5/citra-ac98458e0/externals/teakra/src/makedsp1/
H A Dmain.cpp61 auto comment_pos = line.find("//"); in main() local
62 if (comment_pos != std::string::npos) { in main()
63 line.erase(comment_pos); in main()
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dindent_c.c87 if (comment_pos != NULL) { in ind_find_start_CORS()
90 comment_pos_copy = *comment_pos; in ind_find_start_CORS()
91 comment_pos = &comment_pos_copy; in ind_find_start_CORS()
97 if (comment_pos == NULL || (rs_pos != NULL && lt(*rs_pos, *comment_pos))) { in ind_find_start_CORS()
103 return comment_pos; in ind_find_start_CORS()
1791 pos_T *comment_pos; in get_c_indent() local
1871 if (comment_pos != NULL) { in get_c_indent()
1873 tryposCopy = *comment_pos; in get_c_indent()
1874 comment_pos = &tryposCopy; in get_c_indent()
1877 if (trypos != NULL && (comment_pos == NULL || lt(*trypos, *comment_pos))) { in get_c_indent()
[all …]
/dports/games/openmw/openmw-openmw-0.47.0/apps/mwiniimporter/
H A Dimporter.cpp689 int comment_pos = static_cast<int>(line.find(';')); in loadIniFile() local
690 if(comment_pos > 0) { in loadIniFile()
691 line = line.substr(0,comment_pos); in loadIniFile()
725 int comment_pos = static_cast<int>(line.find('#')); in loadCfgFile() local
726 if(comment_pos > 0) { in loadCfgFile()
727 line = line.substr(0,comment_pos); in loadCfgFile()
/dports/security/cardpeek/cardpeek-0.8.4/dot_cardpeek_dir/scripts/
H A Dmifare reader.lua305 local line, comment_pos
320 comment_pos = string.find(line,"#")
321 if comment_pos~=nil then
322 line = string.sub(line,1,comment_pos-1)
/dports/devel/svn2git/svn2git-1.0.18/src/
H A Dmain.cpp48 int comment_pos = line.indexOf('#'); in loadIdentityMapFile() local
49 if (comment_pos != -1) in loadIdentityMapFile()
50 line.truncate(comment_pos); in loadIdentityMapFile()
/dports/databases/rocksdb/rocksdb-6.26.1/options/
H A Doptions_parser.cc519 size_t comment_pos = line.find('#', search_pos); in TrimAndRemoveComment() local
520 if (comment_pos == std::string::npos) { in TrimAndRemoveComment()
523 if (comment_pos == 0 || line[comment_pos - 1] != '\\') { in TrimAndRemoveComment()
524 end = comment_pos; in TrimAndRemoveComment()
527 search_pos = comment_pos + 1; in TrimAndRemoveComment()
/dports/databases/rocksdb-lite/rocksdb-6.26.1/options/
H A Doptions_parser.cc519 size_t comment_pos = line.find('#', search_pos); in TrimAndRemoveComment() local
520 if (comment_pos == std::string::npos) { in TrimAndRemoveComment()
523 if (comment_pos == 0 || line[comment_pos - 1] != '\\') { in TrimAndRemoveComment()
524 end = comment_pos; in TrimAndRemoveComment()
527 search_pos = comment_pos + 1; in TrimAndRemoveComment()
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/options/
H A Doptions_parser.cc519 size_t comment_pos = line.find('#', search_pos); in TrimAndRemoveComment() local
520 if (comment_pos == std::string::npos) { in TrimAndRemoveComment()
523 if (comment_pos == 0 || line[comment_pos - 1] != '\\') { in TrimAndRemoveComment()
524 end = comment_pos; in TrimAndRemoveComment()
527 search_pos = comment_pos + 1; in TrimAndRemoveComment()
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/options/
H A Doptions_parser.cc519 size_t comment_pos = line.find('#', search_pos); in TrimAndRemoveComment() local
520 if (comment_pos == std::string::npos) { in TrimAndRemoveComment()
523 if (comment_pos == 0 || line[comment_pos - 1] != '\\') { in TrimAndRemoveComment()
524 end = comment_pos; in TrimAndRemoveComment()
527 search_pos = comment_pos + 1; in TrimAndRemoveComment()
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/options/
H A Doptions_parser.cc519 size_t comment_pos = line.find('#', search_pos); in TrimAndRemoveComment() local
520 if (comment_pos == std::string::npos) { in TrimAndRemoveComment()
523 if (comment_pos == 0 || line[comment_pos - 1] != '\\') { in TrimAndRemoveComment()
524 end = comment_pos; in TrimAndRemoveComment()
527 search_pos = comment_pos + 1; in TrimAndRemoveComment()

1234