/dports/math/parmetis/parmetis-4.0.3/metis/GKlib/test/ |
H A D | strings.c | 18 char *new_str; in test_strstr_replace() local 22 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 23 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 27 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 28 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 32 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 33 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 37 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 38 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 41 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() [all …]
|
/dports/math/py-PyMetis/PyMetis-2020.1/src/metis/GKlib/test/ |
H A D | strings.c | 18 char *new_str; in test_strstr_replace() local 22 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 23 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 27 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 28 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 32 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 33 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 37 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 38 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 41 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/contrib/metis/GKlib/test/ |
H A D | strings.c | 18 char *new_str; in test_strstr_replace() local 22 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 23 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 27 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 28 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 32 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 33 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 37 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 38 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 41 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() [all …]
|
/dports/math/metis/metis-5.1.0/GKlib/test/ |
H A D | strings.c | 18 char *new_str; in test_strstr_replace() local 22 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 23 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 27 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 28 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 32 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 33 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 37 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() 38 gk_free((void **)&new_str, LTERM); in test_strstr_replace() 41 printf("%d, %s.\n", rc, new_str); in test_strstr_replace() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/devel/coccinelle/ |
H A D | string-any-of.cocci | 19 expression test_str, str, new_str; 23 + pcmk__str_any_of(test_str, str, new_str, NULL) 26 expression test_str, str, new_str; 33 expression test_str, new_str; 38 + pcmk__str_any_of(test_str, strs, new_str, NULL) 41 expression test_str, new_str; 49 expression test_str, str, new_str; 53 + !pcmk__str_any_of(test_str, str, new_str, NULL) 56 expression test_str, str, new_str; 63 expression test_str, new_str; [all …]
|
/dports/security/pev/pev/src/ |
H A D | output_plugin.c | 59 if (new_str == NULL) in strdup_quoted() 62 new_str[0] = '"'; in strdup_quoted() 64 new_str[new_length] = '\0'; in strdup_quoted() 68 return new_str; in strdup_quoted() 93 if (new_str == NULL) in escape_ex_quoted() 96 new_str[0] = '"'; in escape_ex_quoted() 98 new_str[new_length] = '\0'; in escape_ex_quoted() 114 return new_str; in escape_ex_quoted() 133 if (new_str == NULL) in escape_ex() 136 new_str[new_length] = '\0'; in escape_ex() [all …]
|
/dports/math/parmetis/parmetis-4.0.3/metis/GKlib/ |
H A D | string.c | 95 char **new_str) in gk_strstr_replace() argument 115 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 134 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 142 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 144 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 155 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 168 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 192 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 209 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 222 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/math/py-PyMetis/PyMetis-2020.1/src/metis/GKlib/ |
H A D | string.c | 95 char **new_str) in gk_strstr_replace() argument 115 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 134 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 142 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 144 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 155 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 168 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 192 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 209 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 222 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/metis/GKlib/ |
H A D | string.c | 95 char **new_str) in gk_strstr_replace() argument 115 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 134 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 142 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 144 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 155 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 168 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 192 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 209 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 222 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/contrib/metis/GKlib/ |
H A D | string.c | 95 char **new_str) in gk_strstr_replace() argument 115 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 134 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 142 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 144 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 155 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 168 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 192 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 209 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 222 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/science/octopus/octopus-10.5/external_libs/metis-5.1/GKlib/ |
H A D | string.c | 94 char **new_str) in gk_strstr_replace() argument 114 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 133 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 141 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 143 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 154 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 167 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 191 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 208 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 221 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/math/metis/metis-5.1.0/GKlib/ |
H A D | string.c | 95 char **new_str) in gk_strstr_replace() argument 115 regerror(rc, &re, *new_str, len); in gk_strstr_replace() 134 gk_free((void **)new_str, LTERM); in gk_strstr_replace() 142 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 144 strcpy(*new_str+noffset, str+offset); in gk_strstr_replace() 155 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 168 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 192 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 209 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() 222 … *new_str = (char *)gk_realloc(*new_str, (nlen+1)*sizeof(char), "gk_strstr_replace: new_str"); in gk_strstr_replace() [all …]
|
/dports/devel/sdlskk/sdlskk-0.5/ |
H A D | char.c | 165 return new_str; in SDLSKK_Str_new2() 319 return new_str; in SDLSKK_cstr_tokenize() 336 new_str->max = new_str->len + 1; in SDLSKK_XStr_new1() 338 return new_str; in SDLSKK_XStr_new1() 347 new_str->max = SDLSKK_MAX( new_str->len + 1, maxlen ); in SDLSKK_XStr_new2() 350 return new_str; in SDLSKK_XStr_new2() 358 new_str->len = SDLSKK_Str_len( new_str->buf ); in SDLSKK_XStr_new3() 359 new_str->max = new_str->len + 1; in SDLSKK_XStr_new3() 361 return new_str; in SDLSKK_XStr_new3() 535 new_str[i] = SDLSKK_hiragana_to_katakana( new_str[i] ); in SDLSKK_Str_hiragana_to_katakana() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/dom/ |
H A D | character_data.cc | 73 String new_str = this->data() + data; in ParserAppendData() local 80 String new_str = this->data() + data; in appendData() local 101 StringBuilder new_str; in insertData() local 103 new_str.Append(StringView(current_data, 0, offset)); in insertData() 104 new_str.Append(data); in insertData() 105 new_str.Append(StringView(current_data, offset)); in insertData() 147 StringBuilder new_str; in deleteData() local 149 new_str.Append(StringView(current_data, 0, offset)); in deleteData() 167 StringBuilder new_str; in replaceData() local 169 new_str.Append(StringView(current_data, 0, offset)); in replaceData() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/dom/ |
H A D | character_data.cc | 73 String new_str = this->data() + data; in ParserAppendData() local 80 String new_str = this->data() + data; in appendData() local 101 StringBuilder new_str; in insertData() local 103 new_str.Append(StringView(current_data, 0, offset)); in insertData() 104 new_str.Append(data); in insertData() 105 new_str.Append(StringView(current_data, offset)); in insertData() 147 StringBuilder new_str; in deleteData() local 149 new_str.Append(StringView(current_data, 0, offset)); in deleteData() 167 StringBuilder new_str; in replaceData() local 169 new_str.Append(StringView(current_data, 0, offset)); in replaceData() [all …]
|
/dports/mail/perdition/perdition-2.2/perdition/ |
H A D | username.c | 69 char *new_str; in username_add_domain() local 113 if ((new_str=(char *)malloc( in username_add_domain() 121 strcpy(new_str, username); in username_add_domain() 123 strcat(new_str, domainpart); in username_add_domain() 125 return(new_str); in username_add_domain() 147 char *new_str; in username_strip() local 166 strncpy(new_str, username, len); in username_strip() 167 *(new_str+len)='\0'; in username_strip() 169 return(new_str); in username_strip() 190 char *new_str; in username_lower_case() local [all …]
|
/dports/x11/xstroke/xstroke-0.5.12/ |
H A D | sprintf_alloc.c | 43 char *appendage, *new_str; in sprintf_append_alloc() local 53 new_str = realloc(*str, new_len); in sprintf_append_alloc() 55 new_str = malloc(new_len); in sprintf_append_alloc() 56 if (new_str) { in sprintf_append_alloc() 57 new_str[0] = '\0'; in sprintf_append_alloc() 60 if (new_str == NULL) { in sprintf_append_alloc() 65 *str = new_str; in sprintf_append_alloc() 75 char *new_str; in vsprintf_alloc() local 92 new_str = realloc(*str, size); in vsprintf_alloc() 93 if (new_str == NULL) { in vsprintf_alloc() [all …]
|
/dports/devel/py-clint/clint-0.5.1/ |
H A D | test_clint.py | 30 new_str = ColoredString('red', "hello world") 31 output = new_str.split() 36 new_str = ColoredString('blue', "hello world") 37 output = new_str.find('h') 42 new_str = ColoredString('green', "hello world") 43 output = new_str.replace("world", "universe") 49 new_str = ColoredString('RED', '\xe4') 50 assert '\xe4' in str(new_str) 52 puts(new_str) 57 new_str = ColoredString('RED', 'hello world') [all …]
|
/dports/devel/avro-c/avro-c-1.11.0/src/ |
H A D | allocation.c | 70 char *new_str = (char *) (size + 1); in avro_str_alloc() local 74 return new_str; in avro_str_alloc() 84 char *new_str = avro_str_alloc(str_size); in avro_strdup() local 85 memcpy(new_str, str, str_size); in avro_strdup() 88 return new_str; in avro_strdup() 97 char *new_str = avro_str_alloc(size + 1); in avro_strndup() local 98 memcpy(new_str, str, size); in avro_strndup() 99 new_str[size] = '\0'; in avro_strndup() 101 return new_str; in avro_strndup()
|
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/lib/avro/src/ |
H A D | allocation.c | 70 char *new_str = (char *) (size + 1); in avro_str_alloc() local 74 return new_str; in avro_str_alloc() 84 char *new_str = avro_str_alloc(str_size); in avro_strdup() local 85 memcpy(new_str, str, str_size); in avro_strdup() 88 return new_str; in avro_strdup() 97 char *new_str = avro_str_alloc(size + 1); in avro_strndup() local 98 memcpy(new_str, str, size); in avro_strndup() 99 new_str[size] = '\0'; in avro_strndup() 101 return new_str; in avro_strndup()
|
/dports/devel/py-jupyterlab_launcher/jupyterlab_launcher-0.13.1/jupyterlab_launcher/ |
H A D | json_minify.py | 52 new_str = [] 62 new_str.append(tmp) 66 new_str.append(' ' * (match.start() - index)) 86 new_str.append(' ' * len(val)) 90 new_str.append(val) 94 new_str.append(val) 96 new_str.append(' ' * len(val)) 98 new_str.append(string[index:]) 99 return ''.join(new_str)
|
/dports/devel/pecl-xdebug/xdebug-3.1.2/src/lib/ |
H A D | compat.c | 53 zend_string *new_str; in xdebug_str_to_str() local 57 *new_len = new_str->len; in xdebug_str_to_str() 59 retval = estrndup(new_str->val, new_str->len); in xdebug_str_to_str() 61 zend_string_release(new_str); in xdebug_str_to_str() 226 zend_string *new_str; in xdebug_addslashes() local 253 memcpy(ZSTR_VAL(new_str), ZSTR_VAL(str), offset); in xdebug_addslashes() 254 target = ZSTR_VAL(new_str) + offset; in xdebug_addslashes() 277 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) { in xdebug_addslashes() 278 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0); in xdebug_addslashes() 280 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str); in xdebug_addslashes() [all …]
|
/dports/devel/p5-String-Diff/String-Diff-0.07/lib/String/ |
H A D | Diff.pm | 68 my $new_str; 75 push @new_diff, [$last_mode, $new_str] if defined $new_str; 79 push @new_diff, ['s', ''] unless defined $new_str; 81 $old_str = $new_str = undef; 85 $new_str .= $line->[2]; 89 push @new_diff, [$last_mode, $new_str] if defined $new_str; 122 my $new_str = _str($new_diff, %opts); 124 wantarray ? ($old_str, $new_str) : [ $old_str, $new_str]; 166 my $new_str = $escape ? $escape->($new_diff->[$new_c]->[1]) : $new_diff->[$new_c]->[1]; 176 $str .= "$new_str$opts{append_close}"; [all …]
|
/dports/multimedia/vcdimager/vcdimager-2.0.1/lib/ |
H A D | util.c | 63 char *new_str; in _vcd_strjoin() local 76 new_str = calloc(1, len); in _vcd_strjoin() 77 new_str[0] = '\0'; in _vcd_strjoin() 82 strcat (new_str, delim); in _vcd_strjoin() 83 strcat (new_str, strv[n]); in _vcd_strjoin() 86 return new_str; in _vcd_strjoin() 138 char *new_str = NULL; in _vcd_strdup_upper() local 144 p = new_str = strdup (str); in _vcd_strdup_upper() 153 return new_str; in _vcd_strdup_upper()
|
/dports/net/sems/sems-f89581a/core/tests/ |
H A D | test_replaces.cpp | 48 …string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Replaces=C2%3Bfrom-tag%3… in FCTMF_SUITE_BGN() local 53 DBG("new s='%s'\n", new_str.c_str()); in FCTMF_SUITE_BGN() 55 fct_chk(r.hdrs==new_str); in FCTMF_SUITE_BGN() 69 …string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Require=replaces;Replac… in FCTMF_SUITE_BGN() local 74 DBG("new s='%s'\n", new_str.c_str()); in FCTMF_SUITE_BGN() 76 fct_chk(r.hdrs==new_str); in FCTMF_SUITE_BGN() 90 …string new_str = "Refer-To: \"Mr. Watson\" <sip:watson@bell-telephone.com?Require=replaces;Replac… in FCTMF_SUITE_BGN() local 95 DBG("new s='%s'\n", new_str.c_str()); in FCTMF_SUITE_BGN() 97 fct_chk(r.hdrs==new_str); in FCTMF_SUITE_BGN()
|