Searched refs:new_str (Results 1 - 19 of 19) sorted by relevance

/macosx-10.9.5/libarchive-29/libarchive/tar/
H A Dsubst.c147 char *new_str; local
155 new_str = malloc(old_len + len + 1);
156 if (new_str == NULL)
158 memcpy(new_str, *str, old_len);
159 memcpy(new_str + old_len, append, len);
160 new_str[old_len + len] = '\0';
162 *str = new_str;
168 char *new_str; local
176 new_str = malloc(old_len + strlen(append) + 1);
177 if (new_str
[all...]
/macosx-10.9.5/CPANInternal-140/Perl-Tidy/examples/
H A Dbreak_long_quotes.pl172 my $new_str = "";
178 $new_str .= substr( $str, $starting_pos, $pos - $starting_pos + 1 )
184 $new_str .= substr( $str, $starting_pos, $pos );
185 return $new_str;
/macosx-10.9.5/CPANInternal-140/Perl-Tidy-20121207/examples/
H A Dbreak_long_quotes.pl175 my $new_str = "";
181 $new_str .= substr( $str, $starting_pos, $pos - $starting_pos + 1 )
187 $new_str .= substr( $str, $starting_pos, $pos );
188 return $new_str;
/macosx-10.9.5/libxml2-26/libxml2/
H A DtestOOM.c111 void *new_str; local
116 new_str = realloc (b->str, new_size);
117 if (new_str == NULL)
119 b->str = new_str;
/macosx-10.9.5/gnuserv-7/gnuserv/
H A Dgetopt.c317 char *new_str = malloc (top + 1);
318 if (new_str == NULL)
322 memcpy (new_str, __getopt_nonoption_flags, nonoption_flags_max_len);
323 memset (&new_str[nonoption_flags_max_len], '\0',
326 __getopt_nonoption_flags = new_str;
314 char *new_str = malloc (top + 1); local
/macosx-10.9.5/cxxfilt-11/cxxfilt/libiberty/
H A Dgetopt.c340 char *new_str = (char *) malloc (top + 1);
341 if (new_str == NULL)
345 memset (mempcpy (new_str, __getopt_nonoption_flags,
349 __getopt_nonoption_flags = new_str;
337 char *new_str = (char *) malloc (top + 1); local
/macosx-10.9.5/gnudiff-19/diffutils/lib/
H A Dgetopt.c335 char *new_str = malloc (top + 1);
336 if (new_str == NULL)
340 memset (__mempcpy (new_str, __getopt_nonoption_flags,
344 __getopt_nonoption_flags = new_str;
332 char *new_str = malloc (top + 1); local
/macosx-10.9.5/gpatch-3/patch/
H A Dgetopt.c335 char *new_str = malloc (top + 1);
336 if (new_str == NULL)
340 memset (__mempcpy (new_str, __getopt_nonoption_flags,
344 __getopt_nonoption_flags = new_str;
332 char *new_str = malloc (top + 1); local
/macosx-10.9.5/srm-7/srm/lib/
H A Dgetopt.c329 char *new_str = malloc (top + 1);
330 if (new_str == NULL)
334 memset (__mempcpy (new_str, __getopt_nonoption_flags,
338 __getopt_nonoption_flags = new_str;
326 char *new_str = malloc (top + 1); local
/macosx-10.9.5/ruby-104/ruby/test/dl/
H A Dtest_cptr.rb59 new_str = ptr + 3
60 assert_equal 'lo world', new_str.to_s
/macosx-10.9.5/ruby-104/ruby/test/fiddle/
H A Dtest_pointer.rb69 new_str = ptr + 3
70 assert_equal 'lo world', new_str.to_s
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dexpand_path.c517 char * new_str = realloc(*ppath_out, len + append_len + 1); local
519 if (new_str == NULL) {
529 *ppath_out = new_str;
/macosx-10.9.5/eap8021x-180/eapolclient.tproj/
H A DDialogue.c199 CFStringRef new_str; local
201 for (instance = 2, new_str = CFRetain(str);
202 CFArrayContainsValue(cert_labels, r, new_str); instance++) {
203 CFRelease(new_str);
204 new_str
209 CFArrayAppendValue(cert_labels, new_str);
211 CFRelease(new_str);
/macosx-10.9.5/dcerpc-58/dcerpc/idl_compiler/
H A Dcommand.c501 char *new_str; /* Local ptr to new string */
506 new_str = NEW_VEC (char, strlen(orig_str) + 1);
508 strlcpy(new_str, orig_str, strlen(orig_str) + 1);
510 return new_str;
496 char *new_str; /* Local ptr to new string */ local
/macosx-10.9.5/emacs-92/emacs/lib-src/
H A Dgetopt.c196 char *new_str = malloc (top + 1);
197 if (new_str == NULL)
201 memset (__mempcpy (new_str, __getopt_nonoption_flags,
205 __getopt_nonoption_flags = new_str;
193 char *new_str = malloc (top + 1); local
/macosx-10.9.5/gnutar-452/gnutar/lib/
H A Dgetopt.c175 char *new_str = malloc (top + 1);
176 if (new_str == NULL)
180 memset (__mempcpy (new_str, __getopt_nonoption_flags,
184 __getopt_nonoption_flags = new_str;
172 char *new_str = malloc (top + 1); local
/macosx-10.9.5/groff-38/groff/src/libs/libgroff/
H A Dgetopt.c195 char *new_str = malloc (top + 1);
196 if (new_str == NULL)
200 memset (__mempcpy (new_str, __getopt_nonoption_flags,
204 __getopt_nonoption_flags = new_str;
192 char *new_str = malloc (top + 1); local
/macosx-10.9.5/text_cmds-87/sort/
H A Dgetopt.c195 char *new_str = malloc (top + 1);
196 if (new_str == NULL)
200 memset (__mempcpy (new_str, __getopt_nonoption_flags,
204 __getopt_nonoption_flags = new_str;
192 char *new_str = malloc (top + 1); local
/macosx-10.9.5/ruby-104/ruby/ext/zlib/
H A Dzlib.c701 char * new_str; local
715 new_str = ruby_xrealloc(RSTRING(z->buf)->as.heap.ptr, len + 1);
718 RSTRING(z->buf)->as.heap.ptr = new_str;

Completed in 181 milliseconds