Home
last modified time | relevance | path

Searched refs:old_string (Results 1 – 25 of 230) sorted by relevance

12345678910

/dports/multimedia/gmerlin/gmerlin-1.2.0/lib/
H A Dstringutils.c91 if(old_string) in bg_strdup()
92 free(old_string); in bg_strdup()
96 if(old_string) in bg_strdup()
117 if(old_string) in bg_strndup()
122 if(old_string) in bg_strndup()
200 if(!old_string) in bg_strcat()
203 old_string = realloc(old_string, strlen(old_string) + strlen(tail) + 1); in bg_strcat()
205 return old_string; in bg_strcat()
212 if(!old_string) in bg_strncat()
217 old_string = realloc(old_string, old_len + end - start + 1); in bg_strncat()
[all …]
/dports/net/samba412/samba-4.12.15/source3/rpc_server/samr/
H A Dsrv_samr_util.c36 (old_string && new_string && (strcmp(old_string, new_string) != 0))
316 const char *old_string; in copy_id20_to_sam_passwd() local
329 old_string, new_string)); in copy_id20_to_sam_passwd()
409 old_string, new_string)); in copy_id21_to_sam_passwd()
420 old_string, new_string)); in copy_id21_to_sam_passwd()
431 old_string, new_string)); in copy_id21_to_sam_passwd()
442 old_string, new_string)); in copy_id21_to_sam_passwd()
453 old_string, new_string)); in copy_id21_to_sam_passwd()
464 old_string, new_string)); in copy_id21_to_sam_passwd()
475 old_string, new_string)); in copy_id21_to_sam_passwd()
[all …]
/dports/games/xpilot-ng-server/xpilot-ng-4.7.3/src/common/
H A Dstrdup.c28 char *xp_strdup(const char *old_string) in xp_strdup() argument
33 string_length = strlen(old_string); in xp_strdup()
36 memcpy(new_string, old_string, string_length + 1); in xp_strdup()
42 char *xp_safe_strdup(const char *old_string) in xp_safe_strdup() argument
46 new_string = xp_strdup(old_string); in xp_safe_strdup()
/dports/games/xpilot/xpilot-4.5.5/src/common/
H A Dstrdup.c31 char *xp_strdup(const char *old_string) in xp_strdup() argument
36 string_length = strlen(old_string); in xp_strdup()
39 memcpy(new_string, old_string, string_length + 1); in xp_strdup()
45 char *xp_safe_strdup(const char *old_string) in xp_safe_strdup() argument
49 new_string = xp_strdup(old_string); in xp_safe_strdup()
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang-java/otp-OTP-24.1.7/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/options1_SUITE_data/src/compiler/
H A Dbeam_dict.erl99 case old_string(Str, Strings) of
184 old_string(Str, Pool) -> function
185 old_string(Str, Pool, 0).
187 old_string([C|Str], [C|Pool], Index) -> function
192 old_string([C|Str], Pool, Index+1)
194 old_string(Str, [_|Pool], Index) -> function
195 old_string(Str, Pool, Index+1);
196 old_string(_Str, [], _Index) -> function
/dports/games/r1q2/r1q2-8012_5/qcommon/
H A Dcvar.c356 char *old_string; in Cvar_Set2() local
449 old_string = var->string; in Cvar_Set2()
462 var->changed (var, old_string, var->string); in Cvar_Set2()
499 char *old_string; in Cvar_FullSet() local
513 old_string = var->string; in Cvar_FullSet()
520 var->changed (var, old_string, var->string); in Cvar_FullSet()
522 Z_Free (old_string); in Cvar_FullSet()
560 char *old_string; in Cvar_GetLatchedVars() local
567 old_string = var->string; in Cvar_GetLatchedVars()
579 var->changed (var, old_string, var->string); in Cvar_GetLatchedVars()
[all …]
/dports/multimedia/gmerlin/gmerlin-1.2.0/include/gmerlin/
H A Dutils.h172 char * bg_strdup(char * old_string, const char * new_string);
184 char * bg_strndup(char * old_string,
194 char * bg_strcat(char * old_string, const char * tail);
203 char * bg_strncat(char * old_string, const char * start, const char * end);
/dports/devel/ncurses/ncurses-6.3/test/
H A Ddemo_defkey.c132 char *old_string; in really_define_key() local
141 if ((old_string = keybound(code, 0)) != 0) { in really_define_key()
144 vis_string = visible(old_string)); in really_define_key()
173 } else if (old_string != 0) { in really_define_key()
179 if (old_string != 0) in really_define_key()
180 free(old_string); in really_define_key()
/dports/math/hs-Agda/Agda-2.6.2/_cabal_deps/edit-distance-0.2.2.1/Text/EditDistance/Tests/
H A DEditOperationOntology.hs26 …show (MkEditedString old_string new_string ops _cost) = show old_string ++ " ==> " ++ show new_str…
30 old_string <- arbitrary
32 (new_string, cost) <- edit old_string edit_operations
34 oldString = old_string,
/dports/lang/elm/compiler-0.19.1/_cabal_deps/edit-distance-0.2.2.1/Text/EditDistance/Tests/
H A DEditOperationOntology.hs26 …show (MkEditedString old_string new_string ops _cost) = show old_string ++ " ==> " ++ show new_str…
30 old_string <- arbitrary
32 (new_string, cost) <- edit old_string edit_operations
34 oldString = old_string,
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/edit-distance-0.2.2.1/Text/EditDistance/Tests/
H A DEditOperationOntology.hs26 …show (MkEditedString old_string new_string ops _cost) = show old_string ++ " ==> " ++ show new_str…
30 old_string <- arbitrary
32 (new_string, cost) <- edit old_string edit_operations
34 oldString = old_string,
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/edit-distance-0.2.2.1/Text/EditDistance/Tests/
H A DEditOperationOntology.hs26 …show (MkEditedString old_string new_string ops _cost) = show old_string ++ " ==> " ++ show new_str…
30 old_string <- arbitrary
32 (new_string, cost) <- edit old_string edit_operations
34 oldString = old_string,
/dports/www/seahub/seahub-8.0.7-server/fabfile/
H A Dlocale.py63 def _inplace_change(filename, old_string, new_string): argument
65 if old_string in s:
67 s = s.replace(old_string, new_string)
/dports/converters/p5-Encode-Base32-Crockford/Encode-Base32-Crockford-2.112991/lib/Encode/Base32/
H A DCrockford.pm76 my ($old_string, $new_string, $mode) = @_;
80 warn qq(String "$old_string" corrected to "$new_string") if $mode eq "warn";
81 die qq(String "$old_string" requires normalization) if $mode eq "strict";
/dports/lang/parrot/parrot-8.1.0/src/io/
H A Dstringhandle.c289 STRING *old_string, *new_string; in io_stringhandle_write_b()
293 GETATTR_StringHandle_stringhandle(interp, handle, old_string); in io_stringhandle_write_b()
294 new_length = old_string->bufused + byte_length; in io_stringhandle_write_b()
297 if (Buffer_buflen(old_string) < new_length) { in io_stringhandle_write_b()
299 memcpy(new_string->_bufstart, old_string->_bufstart, old_string->bufused); in io_stringhandle_write_b()
304 new_string = old_string; in io_stringhandle_write_b()
306 memcpy(((char*)new_string->_bufstart) + old_string->bufused, buffer, byte_length); in io_stringhandle_write_b()
/dports/www/janus/janus-gateway-0.11.6/
H A Dutils.c206 if(!message || !old_string || !new_string) in janus_string_replace()
217 char *pos = strstr(outgoing, old_string), *tmp = NULL; in janus_string_replace()
222 pos += strlen(old_string); in janus_string_replace()
223 tmp = strstr(pos, old_string); in janus_string_replace()
233 int diff = strlen(new_string) - strlen(old_string); in janus_string_replace()
239 pos += strlen(old_string); in janus_string_replace()
240 tmp = strstr(pos, old_string); in janus_string_replace()
249 pos = strstr(outgoing, old_string); in janus_string_replace()
256 tmp = strstr(pos, old_string); in janus_string_replace()
261 pos += strlen(old_string); in janus_string_replace()
[all …]
/dports/www/lynx-current/lynx2.9.0dev.9/src/
H A DLYUtils.c4460 if (isEmpty(old_string)) in LYConvertToURL()
4479 if (*old_string != '/') { in LYConvertToURL()
4573 old_string)); in LYConvertToURL()
4600 old_string)); in LYConvertToURL()
4614 if (*old_string == '.') { in LYConvertToURL()
4632 if (strlen(old_string) == 1 && *old_string == '.') { in LYConvertToURL()
4671 if (old_string[1] != ':' && old_string[1] != '|') { in LYConvertToURL()
4679 if (old_string[1] == '|') in LYConvertToURL()
4680 old_string[1] = ':'; in LYConvertToURL()
4839 if (old_string[1] == '\0') { in LYConvertToURL()
[all …]
/dports/www/lynx/lynx2.8.9rel.1/src/
H A DLYUtils.c4459 if (isEmpty(old_string)) in LYConvertToURL()
4478 if (*old_string != '/') { in LYConvertToURL()
4572 old_string)); in LYConvertToURL()
4599 old_string)); in LYConvertToURL()
4613 if (*old_string == '.') { in LYConvertToURL()
4631 if (strlen(old_string) == 1 && *old_string == '.') { in LYConvertToURL()
4670 if (old_string[1] != ':' && old_string[1] != '|') { in LYConvertToURL()
4678 if (old_string[1] == '|') in LYConvertToURL()
4679 old_string[1] = ':'; in LYConvertToURL()
4838 if (old_string[1] == '\0') { in LYConvertToURL()
[all …]
/dports/textproc/raptor/raptor-1.4.21/librdfa/
H A Drdfa_utils.c46 char* old_string, size_t* string_size, in rdfa_n_append_string() argument
50 rval = (char*)realloc(old_string, *string_size + suffix_size + 1); in rdfa_n_append_string()
56 char* rdfa_replace_string(char* old_string, const char* new_string) in rdfa_replace_string() argument
63 if(old_string != NULL) in rdfa_replace_string()
65 free(old_string); in rdfa_replace_string()

12345678910