/dports/devel/godot/godot-3.2.3-stable/core/io/ |
H A D | xml_parser.cpp | 50 String XMLParser::_replace_special_characters(const String &origstr) { in _replace_special_characters() argument 52 int pos = origstr.find("&"); in _replace_special_characters() 56 return origstr; in _replace_special_characters() 60 while (pos != -1 && pos < origstr.length() - 2) { in _replace_special_characters() 65 const CharType *p = &origstr[pos] + 1; in _replace_special_characters() 74 newstr += (origstr.substr(oldPos, pos - oldPos)); in _replace_special_characters() 78 newstr += (origstr.substr(oldPos, pos - oldPos + 1)); in _replace_special_characters() 84 pos = origstr.find("&", pos); in _replace_special_characters() 87 if (oldPos < origstr.length() - 1) in _replace_special_characters() 88 newstr += (origstr.substr(oldPos, origstr.length() - oldPos)); in _replace_special_characters()
|
/dports/devel/godot-tools/godot-3.2.3-stable/core/io/ |
H A D | xml_parser.cpp | 50 String XMLParser::_replace_special_characters(const String &origstr) { in _replace_special_characters() argument 52 int pos = origstr.find("&"); in _replace_special_characters() 56 return origstr; in _replace_special_characters() 60 while (pos != -1 && pos < origstr.length() - 2) { in _replace_special_characters() 65 const CharType *p = &origstr[pos] + 1; in _replace_special_characters() 74 newstr += (origstr.substr(oldPos, pos - oldPos)); in _replace_special_characters() 78 newstr += (origstr.substr(oldPos, pos - oldPos + 1)); in _replace_special_characters() 84 pos = origstr.find("&", pos); in _replace_special_characters() 87 if (oldPos < origstr.length() - 1) in _replace_special_characters() 88 newstr += (origstr.substr(oldPos, origstr.length() - oldPos)); in _replace_special_characters()
|
/dports/devel/godot2-tools/godot-2.1.6-stable/core/io/ |
H A D | xml_parser.cpp | 47 String XMLParser::_replace_special_characters(const String &origstr) { in _replace_special_characters() argument 49 int pos = origstr.find("&"); in _replace_special_characters() 53 return origstr; in _replace_special_characters() 57 while (pos != -1 && pos < origstr.length() - 2) { in _replace_special_characters() 62 const CharType *p = &origstr[pos] + 1; in _replace_special_characters() 71 newstr += (origstr.substr(oldPos, pos - oldPos)); in _replace_special_characters() 75 newstr += (origstr.substr(oldPos, pos - oldPos + 1)); in _replace_special_characters() 81 pos = origstr.find("&", pos); in _replace_special_characters() 84 if (oldPos < origstr.length() - 1) in _replace_special_characters() 85 newstr += (origstr.substr(oldPos, origstr.length() - oldPos)); in _replace_special_characters()
|
/dports/devel/godot2/godot-2.1.6-stable/core/io/ |
H A D | xml_parser.cpp | 47 String XMLParser::_replace_special_characters(const String &origstr) { in _replace_special_characters() argument 49 int pos = origstr.find("&"); in _replace_special_characters() 53 return origstr; in _replace_special_characters() 57 while (pos != -1 && pos < origstr.length() - 2) { in _replace_special_characters() 62 const CharType *p = &origstr[pos] + 1; in _replace_special_characters() 71 newstr += (origstr.substr(oldPos, pos - oldPos)); in _replace_special_characters() 75 newstr += (origstr.substr(oldPos, pos - oldPos + 1)); in _replace_special_characters() 81 pos = origstr.find("&", pos); in _replace_special_characters() 84 if (oldPos < origstr.length() - 1) in _replace_special_characters() 85 newstr += (origstr.substr(oldPos, origstr.length() - oldPos)); in _replace_special_characters()
|
/dports/comms/fldigi/fldigi-4.1.20/src/irrxml/ |
H A D | CXMLReaderImpl.h | 522 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 524 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 528 return origstr; in replaceSpecialCharacters() 532 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 539 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 550 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 556 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 562 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 565 if (oldPos < origstr.size()) in replaceSpecialCharacters() 566 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/irrlicht/source/Irrlicht/ |
H A D | CXMLReaderImpl.h | 530 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 532 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 536 return origstr; in replaceSpecialCharacters() 540 while(pos != -1 && pos < (int)origstr.size()-2) in replaceSpecialCharacters() 547 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 558 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 564 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 570 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 573 if ((int)origstr.size()-oldPos > 0) in replaceSpecialCharacters() 574 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/games/spring/spring_98.0/rts/lib/assimp/contrib/irrXML/ |
H A D | CXMLReaderImpl.h | 504 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 506 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 510 return origstr; in replaceSpecialCharacters() 514 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 521 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 532 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 538 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 544 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 547 if (oldPos < origstr.size()-1) in replaceSpecialCharacters() 548 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/devel/upp/upp/bazaar/plugin/assimp/contrib/irrXML/ |
H A D | CXMLReaderImpl.h | 517 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 519 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 523 return origstr; in replaceSpecialCharacters() 527 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 534 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 545 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 551 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 557 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 560 if (oldPos < origstr.size()-1) in replaceSpecialCharacters() 561 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/graphics/urho3d/Urho3D-1.7.1/Source/ThirdParty/Assimp/contrib/irrXML/ |
H A D | CXMLReaderImpl.h | 504 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 506 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 510 return origstr; in replaceSpecialCharacters() 514 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 521 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 532 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 538 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 544 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 547 if (oldPos < origstr.size()-1) in replaceSpecialCharacters() 548 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/external/assimp/contrib/irrXML/ |
H A D | CXMLReaderImpl.h | 504 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 506 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 510 return origstr; in replaceSpecialCharacters() 514 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 521 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 532 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 538 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 544 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 547 if (oldPos < origstr.size()-1) in replaceSpecialCharacters() 548 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/x11-toolkits/irrlicht/irrlicht-1.8.5/source/Irrlicht/ |
H A D | CXMLReaderImpl.h | 512 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 514 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 518 return origstr; in replaceSpecialCharacters() 522 while(pos != -1 && pos < (int)origstr.size()-2) in replaceSpecialCharacters() 529 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 540 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 546 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 552 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 555 if (oldPos < (int)origstr.size()-1) in replaceSpecialCharacters() 556 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/graphics/qt5-3d/kde-qt3d-5.15.2p39/src/3rdparty/assimp/contrib/irrXML/ |
H A D | CXMLReaderImpl.h | 504 core::string<char_type>& origstr) in replaceSpecialCharacters() argument 506 int pos = origstr.findFirst(L'&'); in replaceSpecialCharacters() 510 return origstr; in replaceSpecialCharacters() 514 while(pos != -1 && pos < origstr.size()-2) in replaceSpecialCharacters() 521 const char_type* p = &origstr.c_str()[pos]+1; in replaceSpecialCharacters() 532 newstr.append(origstr.subString(oldPos, pos - oldPos)); in replaceSpecialCharacters() 538 newstr.append(origstr.subString(oldPos, pos - oldPos + 1)); in replaceSpecialCharacters() 544 pos = origstr.findNext(L'&', pos); in replaceSpecialCharacters() 547 if (oldPos < origstr.size()-1) in replaceSpecialCharacters() 548 newstr.append(origstr.subString(oldPos, origstr.size()-oldPos)); in replaceSpecialCharacters()
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/utils/test/ |
H A D | TestStringUtils.cpp | 142 std::string origstr = "test"; in TEST() local 145 varstr = StringUtils::Left(origstr, 0); in TEST() 149 varstr = StringUtils::Left(origstr, 2); in TEST() 153 varstr = StringUtils::Left(origstr, 10); in TEST() 160 std::string origstr = "test"; in TEST() local 163 varstr = StringUtils::Mid(origstr, 0, 0); in TEST() 167 varstr = StringUtils::Mid(origstr, 0, 2); in TEST() 175 varstr = StringUtils::Mid(origstr, 2); in TEST() 190 std::string origstr = "test"; in TEST() local 193 varstr = StringUtils::Right(origstr, 0); in TEST() [all …]
|
/dports/security/dropbear/dropbear-2020.81/ |
H A D | cli-runopts.c | 695 static void add_netcat(const char* origstr) { in add_netcat() argument 698 char * str = m_strdup(origstr); in add_netcat() 727 dropbear_exit("Bad netcat endpoint '%s'", origstr); in add_netcat() 750 static void addforward(const char* origstr, m_list *fwdlist) { in addforward() argument 764 str = m_strdup(origstr); in addforward() 836 dropbear_exit("Bad TCP forward '%s'", origstr); in addforward() 839 dropbear_exit("Bad TCP port in '%s'", origstr); in addforward() 884 static void add_extendedopt(const char* origstr) { in add_extendedopt() argument 885 const char *optstr = origstr; in add_extendedopt() 887 if (strcmp(origstr, "help") == 0) { in add_extendedopt() [all …]
|
/dports/devel/mercurial/mercurial-6.0/mercurial/cext/ |
H A D | charencode.c | 385 PyObject *origstr, *escstr; in jsonescapeu8fast() local 390 &origstr, ¶noid)) { in jsonescapeu8fast() 394 origbuf = PyBytes_AS_STRING(origstr); in jsonescapeu8fast() 395 origlen = PyBytes_GET_SIZE(origstr); in jsonescapeu8fast() 401 Py_INCREF(origstr); in jsonescapeu8fast() 402 return origstr; in jsonescapeu8fast()
|
/dports/archivers/xmill/xmill/xmillinspect/ |
H A D | exprinfo.cpp | 237 char c, *origstr; in findtoken() local 250 origstr = str; in findtoken() 295 return origstr; in findtoken() 721 char *origstr = NULL; in buildExprInfo() local 730 origstr = new char[strlen(exprs[i])+1]; in buildExprInfo() 731 strcpy (origstr, exprs[i]); in buildExprInfo() 734 if ((stat = buildExprInfo(expr, origstr, subs, &numsubs)) != 0) { in buildExprInfo() 740 trydela (origstr); in buildExprInfo() 788 trydela (origstr); in buildExprInfo()
|
/dports/science/afni/afni-AFNI_21.3.16/src/python_scripts/scripts/ |
H A D | parse_fs_lt_log.py | 307 origstr = lvals[1] 313 try: vv = int(origstr) 320 if self.verb: print('%-35s %-5s -> %s' % (label, origstr, rankstr)) 323 llist.append([label, origstr, rankstr])
|
/dports/www/scloader/scloader-0.32_1/src/ |
H A D | regexp.java | 159 String origstr=str; in search() local 199 result[rpos++]=origstr.substring(pos,npos); in search() 207 result[rpos]=origstr.substring(pos); in search() 212 result[rpos]=origstr.substring(pos,str.length()-suffixlen); in search()
|
/dports/ftp/dmachine/dmachine-0.25/src/ |
H A D | regexp.java | 161 String origstr=str; in search() local 201 result[rpos++]=origstr.substring(pos,npos); in search() 209 result[rpos]=origstr.substring(pos); in search() 214 result[rpos]=origstr.substring(pos,str.length()-suffixlen); in search()
|
/dports/deskutils/virt-manager/virt-manager-3.2.0/virtinst/ |
H A D | xmlutil.py | 73 def diff(origstr, newstr, fromfile="Original", tofile="New"): argument 76 origstr.splitlines(1), newstr.splitlines(1),
|
/dports/devel/xdg-utils/xdg-utils-1.1.3/tests/include/ |
H A D | testassertions.sh | 360 origstr="$2" 372 newstr="xdgtestdata-$XDG_TEST_ID-$origstr" 377 sed -i -e "s|$origstr|$newstr|g" "$file"
|
/dports/math/gap/gap-4.11.0/pkg/JupyterKernel-1.3/gap/ |
H A D | JupyterHelp.gi | 131 local origstr, nwostr, p, book, books, move, add; 133 origstr := ShallowCopy(str); 134 nwostr := NormalizedWhitespace(origstr); 255 elif origstr in NAMES_SYSTEM_GVARS then 256 Print( "Help: '", origstr, "' is currently undocumented.\n", 260 Print( "Help: Are you looking for a certain book? (Trying '?", origstr, 262 return HELP( Concatenation(origstr, ":") ); 266 # Print( "Help: Sorry, could not find a match for '", origstr, "'.\n");
|
/dports/net/olsrd/olsrd-0.9.8/src/ |
H A D | routing_table.c | 663 struct ipaddr_str prefixstr, origstr, gwstr; in olsr_rtp_to_string() local 668 …sr_ip_to_string(&prefixstr, &rt->rt_dst.prefix), rt->rt_dst.prefix_len, olsr_ip_to_string(&origstr, in olsr_rtp_to_string() 692 struct ipaddr_str prefixstr, origstr, gwstr; in olsr_print_routing_table() local 697 …olsr_ip_to_string(&origstr, &rt->rt_nexthop.gateway), olsr_ip_to_string(&gwstr, &rt->rt_best->rtp_… in olsr_print_routing_table() 702 … "\tfrom %s, cost %s, metric %u, via %s, %s, v %u\n", olsr_ip_to_string(&origstr, &rtp->rtp_origin… in olsr_print_routing_table()
|
/dports/textproc/py-wordnet/WordNet-2.0/src/lib/ |
H A D | morph.c | 146 char *morphstr(char *origstr, int pos) in morphstr() argument 161 if (origstr != NULL) { in morphstr() 163 strtolower(strsubst(strcpy(str, origstr), ' ', '_')); in morphstr() 186 while (origstr && --cnt) { in morphstr()
|
/dports/textproc/wordnet/WordNet-3.0/lib/ |
H A D | morph.c | 174 morphstr(const char *origstr, int pos) in morphstr() argument 190 if (origstr != NULL) { in morphstr() 192 strtolower(strsubst(strcpy(str, origstr), ' ', '_')); in morphstr() 215 while (origstr && --cnt) { in morphstr()
|