/dports/textproc/p5-Unicode-Tussle/Unicode-Tussle-1.111/java/ |
H A D | tchrist-unicode-charclasses__alpha.java | 727 unicode_charclass(String oldstr) { in unicode_charclass() argument 741 int newlen = oldstr.length(); in unicode_charclass() 742 for (int i = 0; i < oldstr.length(); i++) { in unicode_charclass() 743 if (oldstr.charAt(i) == '\\') { in unicode_charclass() 753 int curchar = oldstr.codePointAt(curpos); in unicode_charclass() 900 unescape_perl_string(String oldstr) { in unescape_perl_string() argument 913 int curchar = oldstr.codePointAt(curpos); in unescape_perl_string() 1011 if (curpos+1 == oldstr.length()) { in unescape_perl_string() 1048 if (curpos+2 > oldstr.length()) { in unescape_perl_string() 1102 if (curpos+4 > oldstr.length()) { in unescape_perl_string() [all …]
|
/dports/devel/radare2/radare2-5.1.1/libr/parse/p/ |
H A D | parse_arm_pseudo.c | 299 char *oldstr; in mount_oldstr() local 318 char *comma = strchr (oldstr, ','); in mount_oldstr() 321 r_str_case (oldstr, true); in mount_oldstr() 325 return oldstr; in mount_oldstr() 333 char *oldstr; in subvar() local 397 if (strstr (tstr, oldstr)) { in subvar() 399 free (oldstr); in subvar() 402 free (oldstr); in subvar() 421 if (strstr (tstr, oldstr)) { in subvar() 423 free (oldstr); in subvar() [all …]
|
H A D | parse_x86_pseudo.c | 351 char oldstr[64], newstr[64]; in subvar() local 446 mk_reg_str (reg, delta, sign == '+', att, ireg, oldstr, sizeof (oldstr)); in subvar() 449 r_str_case (oldstr, true); in subvar() 452 char *ptr = strstr (tstr, oldstr); in subvar() 463 r_str_case (oldstr, false); in subvar() 464 ptr = strstr (tstr, oldstr); in subvar() 493 mk_reg_str (reg, delta, sign == '+', att, ireg, oldstr, sizeof (oldstr)); in subvar() 495 r_str_case (oldstr, true); in subvar() 509 r_str_case (oldstr, false); in subvar() 510 ptr = strstr (tstr, oldstr); in subvar() [all …]
|
H A D | parse_mips_pseudo.c | 255 char *oldstr; in subvar() local 294 char *comma = strchr (oldstr, ','); in subvar() 297 r_str_case (oldstr, true); in subvar() 301 if (strstr (tstr, oldstr)) { in subvar() 307 free (oldstr); in subvar() 310 free (oldstr); in subvar() 338 char *comma = strchr (oldstr, ','); in subvar() 341 r_str_case (oldstr, true); in subvar() 345 if (strstr (tstr, oldstr)) { in subvar() 351 free (oldstr); in subvar() [all …]
|
/dports/devel/py-future/future-0.18.2/tests/test_past/ |
H A D | test_oldstr.py | 10 from past.builtins import str as oldstr unknown 11 from past.types.oldstr import unescape 16 s1 = oldstr(b'abc') 18 s2 = oldstr(b'abc\ndef') 22 s1 = oldstr(b'abc') 24 s2 = oldstr(b'abc\ndef') 35 s = oldstr(b'abc') 39 self.assertEqual(s[0], oldstr(b'a')) 42 self.assertEqual(s[1:], oldstr(b'bc'))
|
/dports/science/hdf/hdf-4.2.15/hdf/test/ |
H A D | tanfilef.f | 151 subroutine checklen(ret, oldstr, type) argument 153 character*(*) type, oldstr local 158 oldlen = len(oldstr) 172 subroutine checkann(oldstr, newstr, ret, type) argument 174 character*90 oldstr, newstr local 179 if (ret .ge. 0 .and. oldstr .ne. newstr) then 181 print *, ' It should be <', oldstr, '>' 193 subroutine checklab(oldstr, newstr, ret, type) argument 195 character*30 oldstr, newstr local 200 if (ret .ge. 0 .and. oldstr .ne. newstr) then [all …]
|
H A D | anfile.c | 25 (int32 ret, const char *oldstr, const char *type, int32 testflag); 28 (const char *oldstr, const char *newstr, int32 ret, const char *type, int32 testflag); 126 checkannlen(int32 ret, const char *oldstr, const char *type, int32 testflag) in checkannlen() argument 128 if ((ret >= 0) && (ret != (int32) HDstrlen(oldstr))) in checkannlen() 132 printf("It should be: %d\n", (int) HDstrlen(oldstr)); in checkannlen() 140 checkann(const char *oldstr, const char *newstr, int32 ret, const char *type, in checkann() argument 143 if ((ret >= 0) && (0 != HDstrcmp(oldstr, newstr))) in checkann() 147 printf("It should be: %s\n", oldstr); in checkann()
|
/dports/databases/pgpool-II-41/pgpool-II-4.1.10/src/watchdog/ |
H A D | wd_utils.c | 222 char *oldstr = NULL; in string_replace() local 238 oldstr = newstr; in string_replace() 239 newstr = palloc(strlen(oldstr) - pat_len + rep_len + 1); in string_replace() 241 memcpy(newstr, oldstr, tok - oldstr); in string_replace() 242 memcpy(newstr + (tok - oldstr), replacement, rep_len); in string_replace() 243 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 245 memset(newstr + strlen(oldstr) - pat_len + rep_len, 0, 1); in string_replace() 247 head = newstr + (tok - oldstr) + rep_len; in string_replace() 248 pfree(oldstr); in string_replace()
|
/dports/databases/pgpool-II-43/pgpool-II-4.3.0/src/watchdog/ |
H A D | wd_utils.c | 222 char *oldstr = NULL; in string_replace() local 238 oldstr = newstr; in string_replace() 239 newstr = palloc(strlen(oldstr) - pat_len + rep_len + 1); in string_replace() 241 memcpy(newstr, oldstr, tok - oldstr); in string_replace() 242 memcpy(newstr + (tok - oldstr), replacement, rep_len); in string_replace() 243 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 245 memset(newstr + strlen(oldstr) - pat_len + rep_len, 0, 1); in string_replace() 247 head = newstr + (tok - oldstr) + rep_len; in string_replace() 248 pfree(oldstr); in string_replace()
|
/dports/databases/pgpool-II-42/pgpool-II-4.2.3/src/watchdog/ |
H A D | wd_utils.c | 222 char *oldstr = NULL; in string_replace() local 238 oldstr = newstr; in string_replace() 239 newstr = palloc(strlen(oldstr) - pat_len + rep_len + 1); in string_replace() 241 memcpy(newstr, oldstr, tok - oldstr); in string_replace() 242 memcpy(newstr + (tok - oldstr), replacement, rep_len); in string_replace() 243 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 245 memset(newstr + strlen(oldstr) - pat_len + rep_len, 0, 1); in string_replace() 247 head = newstr + (tok - oldstr) + rep_len; in string_replace() 248 pfree(oldstr); in string_replace()
|
/dports/databases/pgpool-II-40/pgpool-II-4.0.17/src/watchdog/ |
H A D | wd_utils.c | 215 char *oldstr = NULL; in string_replace() local 231 oldstr = newstr; in string_replace() 232 newstr = palloc(strlen(oldstr) - pat_len + rep_len + 1); in string_replace() 234 memcpy(newstr, oldstr, tok - oldstr); in string_replace() 235 memcpy(newstr + (tok - oldstr), replacement, rep_len); in string_replace() 236 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 238 memset(newstr + strlen(oldstr) - pat_len + rep_len, 0, 1); in string_replace() 240 head = newstr + (tok - oldstr) + rep_len; in string_replace() 241 pfree(oldstr); in string_replace()
|
/dports/misc/amanda-client/amanda-3.3.9/common-src/ |
H A D | alloc.c | 192 char * oldstr, in debug_newstralloc() argument 198 amfree(oldstr); in debug_newstralloc() 210 char * oldstr, in debug_newvstralloc() argument 220 amfree(oldstr); in debug_newvstralloc() 268 char * oldstr, in debug_newvstrallocf() argument 292 amfree(oldstr); in debug_newvstrallocf() 302 char ** oldstr, in debug_vstrextend() argument 305 char *keep = *oldstr; in debug_vstrextend() 310 if (*oldstr == NULL) in debug_vstrextend() 311 *oldstr = ""; in debug_vstrextend() [all …]
|
/dports/misc/amanda-server/amanda-3.3.9/common-src/ |
H A D | alloc.c | 192 char * oldstr, in debug_newstralloc() argument 198 amfree(oldstr); in debug_newstralloc() 210 char * oldstr, in debug_newvstralloc() argument 220 amfree(oldstr); in debug_newvstralloc() 268 char * oldstr, in debug_newvstrallocf() argument 292 amfree(oldstr); in debug_newvstrallocf() 302 char ** oldstr, in debug_vstrextend() argument 305 char *keep = *oldstr; in debug_vstrextend() 310 if (*oldstr == NULL) in debug_vstrextend() 311 *oldstr = ""; in debug_vstrextend() [all …]
|
/dports/databases/pgpool-II-36/pgpool-II-3.6.28/src/watchdog/ |
H A D | wd_utils.c | 236 char *oldstr = NULL; in string_replace() local 251 oldstr = newstr; in string_replace() 252 newstr = palloc ( strlen ( oldstr ) - pat_len + rep_len + 1 ); in string_replace() 254 memcpy(newstr, oldstr, tok - oldstr ); in string_replace() 255 memcpy(newstr + (tok - oldstr), replacement, rep_len ); in string_replace() 256 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 258 memset( newstr + strlen (oldstr) - pat_len + rep_len , 0, 1 ); in string_replace() 260 head = newstr + (tok - oldstr) + rep_len; in string_replace() 261 pfree(oldstr); in string_replace()
|
/dports/databases/pgpool-II-37/pgpool-II-3.7.22/src/watchdog/ |
H A D | wd_utils.c | 236 char *oldstr = NULL; in string_replace() local 251 oldstr = newstr; in string_replace() 252 newstr = palloc ( strlen ( oldstr ) - pat_len + rep_len + 1 ); in string_replace() 254 memcpy(newstr, oldstr, tok - oldstr ); in string_replace() 255 memcpy(newstr + (tok - oldstr), replacement, rep_len ); in string_replace() 256 …memcpy(newstr + (tok - oldstr) + rep_len, tok + pat_len, strlen(oldstr) - pat_len - (tok - oldstr)… in string_replace() 258 memset( newstr + strlen (oldstr) - pat_len + rep_len , 0, 1 ); in string_replace() 260 head = newstr + (tok - oldstr) + rep_len; in string_replace() 261 pfree(oldstr); in string_replace()
|
/dports/cad/magic/magic-8.3.245/utils/ |
H A D | strdup.c | 54 StrDup(oldstr, str) in StrDup() argument 55 char **oldstr; in StrDup() 66 if (oldstr != (char **) NULL) 68 if (*oldstr != NULL) 69 freeMagic(*oldstr); 70 *oldstr = newstr;
|
/dports/math/sc-im/sc-im-0.8.2/src/utils/ |
H A D | string.c | 483 char * oldstr = NULL; in str_replace() local 492 oldstr = newstr; in str_replace() 493 newstr = malloc ( strlen ( oldstr ) - strlen ( substr ) + strlen ( replacement ) + 1 ); in str_replace() 496 free (oldstr); in str_replace() 499 memcpy ( newstr, oldstr, tok - oldstr ); in str_replace() 500 memcpy ( newstr + (tok - oldstr), replacement, strlen ( replacement ) ); in str_replace() 501 …y ( newstr + (tok - oldstr) + strlen( replacement ), tok + strlen ( substr ), strlen ( oldstr ) - … in str_replace() 502 memset ( newstr + strlen ( oldstr ) - strlen ( substr ) + strlen ( replacement ) , 0, 1 ); in str_replace() 504 head = newstr + (tok - oldstr) + strlen( replacement ); in str_replace() 505 free (oldstr); in str_replace()
|
/dports/sysutils/webmin/webmin-1.981/sendmail/ |
H A D | save_opts.cgi | 55 local ($oldstr, $old) = &find_type2("D", $_[0], $conf); 56 @oldlist = $oldstr ? ( $oldstr ) : ( ); 58 @newlist = $_[2] && $oldstr ? 73 local ($oldstr, $old) = &find_option($_[0], $conf); 74 local @oldlist = $oldstr ? ( $oldstr ) : ( );
|
/dports/devel/ncurses/ncurses-6.3/ncurses/base/ |
H A D | lib_getstr.c | 84 char *oldstr; in wgetnstr_events() local 108 oldstr = str; in wgetnstr_events() 140 if (str > oldstr) { in wgetnstr_events() 141 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events() 144 while (str > oldstr) { in wgetnstr_events() 145 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events() 148 || (str - oldstr >= maxlen)) { in wgetnstr_events() 162 str = WipeOut(win, y, x, oldstr, str, oldecho); in wgetnstr_events() 204 T(("wgetnstr returns %s", _nc_visbuf(oldstr))); in wgetnstr_events()
|
/dports/devel/ncurses/ncurses-6.3/ncurses/widechar/ |
H A D | lib_get_wstr.c | 94 wint_t *oldstr = str; in wgetn_wstr() local 159 if (tmpstr > oldstr) { in wgetn_wstr() 160 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 163 while (tmpstr > oldstr) { in wgetn_wstr() 164 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 169 } else if (tmpstr - oldstr >= maxlen) { in wgetn_wstr() 184 tmpstr = WipeOut(win, y, x, oldstr, tmpstr, oldecho); in wgetn_wstr() 223 if (tmpstr == oldstr) { in wgetn_wstr() 230 T(("wgetn_wstr returns %s", _nc_viswibuf(oldstr))); in wgetn_wstr()
|
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/dsdb/samdb/ldb_modules/ |
H A D | proxy.c | 50 const char **oldstr; member 89 oldstr = ldb_msg_find_attr_as_string(res->msgs[0], "oldstr", NULL); in load_proxy_info() 115 proxy->oldstr = str_list_make(proxy, oldstr, ", "); in load_proxy_info() 116 if (proxy->oldstr == NULL) { in load_proxy_info() 165 const char *oldstr, const char *newstr) in proxy_convert_blob() argument 169 char *p = strcasestr((char *)v->data, oldstr); in proxy_convert_blob() 173 len3 = v->length - (p+strlen(oldstr) - (char *)v->data); in proxy_convert_blob() 178 memcpy(v->data+len1+len2, olddata + len1 + strlen(oldstr), len3); in proxy_convert_blob() 188 for (i=0;proxy->oldstr[i];i++) { in proxy_convert_value() 189 char *p = strcasestr((char *)v->data, proxy->oldstr[i]); in proxy_convert_value() [all …]
|
/dports/math/parmetis/parmetis-4.0.3/programs/ |
H A D | io.c | 133 oldstr = line; in ParallelReadGraph() 139 oldstr = newstr; in ParallelReadGraph() 145 oldstr = newstr; in ParallelReadGraph() 217 oldstr = line; in ParallelReadGraph() 229 oldstr = newstr; in ParallelReadGraph() 502 oldstr = line; in ReadMetisGraph() 507 oldstr = newstr; in ReadMetisGraph() 729 oldstr = line; in Mc_SerialReadMetisGraph() 735 oldstr = newstr; in Mc_SerialReadMetisGraph() 741 oldstr = newstr; in Mc_SerialReadMetisGraph() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/google-endpoints/past/types/ |
H A D | oldstr.py | 37 class oldstr(with_metaclass(BaseOldStr, _builtin_bytes)): class 106 s = super(oldstr, self).__repr__() # e.g. b'abc' on Py3, b'abc' on Py3 110 s = super(oldstr, self).__str__() # e.g. "b'abc'" or "b'abc\\ndef' 117 return super(oldstr, self).__getitem__(slice(y, y+1)) 119 return super(oldstr, self).__getitem__(y)
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/past/types/ |
H A D | oldstr.py | 40 class oldstr(with_metaclass(BaseOldStr, _builtin_bytes)): class 109 s = super(oldstr, self).__repr__() # e.g. b'abc' on Py3, b'abc' on Py3 113 s = super(oldstr, self).__str__() # e.g. "b'abc'" or "b'abc\\ndef' 120 return super(oldstr, self).__getitem__(slice(y, y+1)) 122 return super(oldstr, self).__getitem__(y)
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/past/types/ |
H A D | oldstr.py | 40 class oldstr(with_metaclass(BaseOldStr, _builtin_bytes)): class 109 s = super(oldstr, self).__repr__() # e.g. b'abc' on Py3, b'abc' on Py3 113 s = super(oldstr, self).__str__() # e.g. "b'abc'" or "b'abc\\ndef' 120 return super(oldstr, self).__getitem__(slice(y, y+1)) 122 return super(oldstr, self).__getitem__(y)
|