Home
last modified time | relevance | path

Searched +refs:erase +refs:empty +refs:line (Results 1 – 25 of 13235) sorted by relevance

12345678910>>...530

/dports/biology/abyss/abyss-2.3.1/DataLayer/
H A DFastaReader.cpp124 assert(!seq.empty()); in isColourSpace()
193 s += line; in read()
216 if (s.empty()) { in read()
229 s.erase(0, 2); in read()
230 q.erase(0, 1); in read()
233 if (!q.empty()) in read()
247 if (!q.empty()) { in read()
321 if (!q.empty()) in read()
335 if (!fields[i].empty()) in read()
382 s.erase(1); in read()
[all …]
/dports/games/libretro-snes9x/snes9x-73aa348/
H A Dbml.cpp83 line.erase(0, depth); in bml_parse_depth()
94 line.erase(0, len); in bml_parse_name()
110 line.erase(0, len + 1); in bml_parse_data()
120 line.erase(0, len); in bml_parse_data()
128 line.erase(0, len); in bml_parse_data()
142 if (!line.empty()) in bml_read_line()
161 line.erase(0, 1); in bml_parse_attr()
170 line.erase(0, len); in bml_parse_attr()
198 if (!node.name.empty()) in bml_print_node()
201 if (!node.data.empty()) in bml_print_node()
[all …]
/dports/databases/xapian-core/xapian-core-1.4.18/backends/
H A Ddatabasehelpers.h89 if (line.empty() || line[0] == '#') in read_stub_file()
95 line.erase(0, space + 1); in read_stub_file()
125 if (type == "remote" && !line.empty()) { in read_stub_file()
135 line.assign(line, 1, space - 1); in read_stub_file()
137 line.erase(0, 1); in read_stub_file()
149 if (!(line[0] == '[' && line.back() == ']')) { in read_stub_file()
151 line.erase(colon); in read_stub_file()
152 if (line[0] == '[' && line.back() == ']') { in read_stub_file()
153 line.erase(line.size() - 1, 1); in read_stub_file()
154 line.erase(0, 1); in read_stub_file()
[all …]
/dports/security/openvpn-auth-radius/radiusplugin/
H A DConfig.cpp94 if(line.empty()==false) in parseConfigFile()
167 if(line.empty()==false) in parseConfigFile()
194 line.erase(0, 17); in parseConfigFile()
200 line.erase(0, 6); in parseConfigFile()
209 line.erase(pos); in parseConfigFile()
214 line.erase(0, 6); in parseConfigFile()
222 if(!line.empty()) in parseConfigFile()
258 if (pos != string::npos) line->erase(0,pos ); in deletechars()
261 if (pos != string::npos) line->erase(pos+1); in deletechars()
267 line->erase(pos,1); in deletechars()
[all …]
/dports/biology/iqtree/IQ-TREE-2.0.6/utils/
H A Dcheckpoint.cpp45 line.erase(pos); in load()
46 line.erase(line.find_last_not_of("\n\r\t")+1); in load()
48 if (line.empty()) continue; in load()
53 line.erase(0, line.find_first_not_of(" \n\r\t")); in load()
54 if (line.empty()) continue; in load()
61 line.erase(line.length()-1); in load()
199 if (!struct_name.empty()) in hasKeyPrefix()
221 erase(first_it, i); in eraseKeyPrefix()
324 ASSERT(!list_element.empty()); in endList()
345 if (!partial_key.empty()) in putSubCheckpoint()
[all …]
/dports/devel/libepp-nicbr/libepp-nicbr-1.18/src/shepp/
H A DDomainFunctions.H186 if (args.empty()) {
281 if (args.empty()) {
387 if (args.empty()) {
399 if (args.empty()) {
475 if (args.empty()) {
657 string line; local
658 getline(fileStream, line);
660 line = StrUtil::trim(line);
661 if (line == "-----BEGIN ENCODED SMD-----") {
665 } else if (line == "-----END ENCODED SMD-----") {
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mutationofjb/commands/
H A Dendblockcommand.cpp61 if (line.empty()) { in parse()
150 it = parseCtx._pendingCondCommands.erase(it); in transition()
162 if (!_foundMacros.empty()) { in transition()
175 it = _foundMacros.erase(it); in transition()
179 if (!_foundStartups.empty()) { in transition()
192 it = _foundStartups.erase(it); in transition()
196 if (!_foundExtras.empty()) { in transition()
209 it = _foundExtras.erase(it); in transition()
232 if (!_foundMacros.empty()) { in finish()
235 if (!_foundStartups.empty()) { in finish()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/mutationofjb/commands/
H A Dendblockcommand.cpp61 if (line.empty()) { in parse()
150 it = parseCtx._pendingCondCommands.erase(it); in transition()
162 if (!_foundMacros.empty()) { in transition()
175 it = _foundMacros.erase(it); in transition()
179 if (!_foundStartups.empty()) { in transition()
192 it = _foundStartups.erase(it); in transition()
196 if (!_foundExtras.empty()) { in transition()
209 it = _foundExtras.erase(it); in transition()
232 if (!_foundMacros.empty()) { in finish()
235 if (!_foundStartups.empty()) { in finish()
[all …]
/dports/archivers/liblz4/lz4-1.9.3/contrib/gen_manual/
H A Dgen_manual.cpp46 s.erase(0, p); in trim()
50 s.erase(p+1); in trim()
74 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
77 if (!terminator.empty() && epos!=string::npos) { in get_lines()
93 if (line.substr(0,11) == "LZ4LIB_API ") line = line.substr(11); in print_line()
178 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
179 if (!comments.empty()) in main()
188 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
189 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
193 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "LZ4_XXX() :" */ in main()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/lz4/contrib/gen_manual/
H A Dgen_manual.cpp46 s.erase(0, p); in trim()
50 s.erase(p+1); in trim()
75 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
78 if (!terminator.empty() && epos!=string::npos) { in get_lines()
94 if (line.substr(0,11) == "LZ4LIB_API ") line = line.substr(11); in print_line()
95 if (line.substr(0,12) == "LZ4FLIB_API ") line = line.substr(12); in print_line()
179 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
186 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
187 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
191 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "LZ4_XXX() :" */ in main()
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/lz4/contrib/gen_manual/
H A Dgen_manual.cpp46 s.erase(0, p); in trim()
50 s.erase(p+1); in trim()
74 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
77 if (!terminator.empty() && epos!=string::npos) { in get_lines()
93 if (line.substr(0,11) == "LZ4LIB_API ") line = line.substr(11); in print_line()
179 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
180 if (!comments.empty()) in main()
189 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
190 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
194 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "LZ4_XXX() :" */ in main()
[all …]
/dports/lang/chez-scheme/ChezScheme-9.5.4/lz4/contrib/gen_manual/
H A Dgen_manual.cpp46 s.erase(0, p); in trim()
50 s.erase(p+1); in trim()
74 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
77 if (!terminator.empty() && epos!=string::npos) { in get_lines()
93 if (line.substr(0,11) == "LZ4LIB_API ") line = line.substr(11); in print_line()
179 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
180 if (!comments.empty()) in main()
189 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
190 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
194 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "LZ4_XXX() :" */ in main()
[all …]
/dports/math/cado-nfs/cado-nfs-f4284e2391121b2bfb97bc4880b6273c7250dc2f/utils/
H A Dparams-extra.cpp11 for(std::string line ; std::getline(is, line, '\n') ; ) { in param_list_read() local
12 if (line[0] == '#') in param_list_read()
18 line.erase(p); in param_list_read()
20 for( ; !line.empty() && isspace(line[line.size()-1]) ; ) in param_list_read()
21 line.erase(line.size()-1); in param_list_read()
23 for(p = 0 ; !line.empty() && isspace(line[p]) ; p++); in param_list_read()
24 if (p) line.erase(0, p); in param_list_read()
27 if (line.empty()) { in param_list_read()
38 if (!(isalpha((int)(unsigned char)line[0]) || line[0] == '_' || line[0] == '-')) { in param_list_read()
44 if (q == line.begin()) { in param_list_read()
[all …]
/dports/devel/sccache/sccache-0.2.15/cargo-crates/zstd-sys-1.4.19+zstd.1.4.8/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/ext/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/archivers/p5-Compress-Zstd/Compress-Zstd-0.20/ext/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/archivers/zstd/zstd-1.5.0/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/zstd-sys-1.4.15+zstd.1.4.4/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/ext/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p);
25 s.erase(p+1);
44 string line;
50 if (terminator.empty() && line.empty()) { linenum--; break; }
53 if (!terminator.empty() && epos!=string::npos) {
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12);
152 if (!comments.empty()) comments[0] = line.substr(spos+3);
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em…
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty…
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" …
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/zstd-sys-1.5.0+zstd.1.4.9/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/third_party/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/textproc/ripgrep-all/ripgrep-all-0.9.6/cargo-crates/zstd-sys-1.4.15+zstd.1.4.4/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/zstd/contrib/gen_html/
H A Dgen_html.cpp21 s.erase(0, p); in trim()
25 s.erase(p+1); in trim()
44 string line; in get_lines() local
50 if (terminator.empty() && line.empty()) { linenum--; break; } in get_lines()
53 if (!terminator.empty() && epos!=string::npos) { in get_lines()
69 if (line.substr(0,12) == "ZSTDLIB_API ") line = line.substr(12); in print_line()
152 if (!comments.empty()) comments[0] = line.substr(spos+3); in main()
159 …while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove em… in main()
160 …while (!comments.empty() && comments[0].empty()) comments.erase(comments.begin()); // remove empty… in main()
164 …if (!comments.empty()) comments.erase(comments.begin()); /* remove first line like "ZSTD_XXX() :" … in main()
[all …]

12345678910>>...530