/dports/lang/spl/spl-1.2.1/ |
H A D | grammar.y | 196 …$$ = cat4(newstr("\n"), strpad(cat2(newstr(current_act), newstr(":")), COMMENT_COLUMN, ' '), $3, n… 204 …$$ = cat4(newstr("\n"), strpad(cat2(newstr(current_act), newstr(":")), COMMENT_COLUMN, ' '), $3, n… 211 …$$ = cat4(newstr("\n"), strpad(cat2(newstr(current_act), newstr(":")), COMMENT_COLUMN, ' '), $3, n… 318 $$ = cat3(newstr("/* "), $1, newstr(" */")); 578 $$ = cat5(newstr("goto "), newstr(current_act), newstr("_"), 675 $$ = cat3(newstr("("), $1, newstr(")"));; 678 $$ = cat3(newstr("("), $1, newstr(")"));; 772 newstr("comp2 = "), $4, newstr(";\n"), 868 …$$ = cat4(newstr("\n"), strpad(cat2(newstr(current_scene), newstr(":")), COMMENT_COLUMN, ' '), $3,… 876 …$$ = cat4(newstr("\n"), strpad(cat2(newstr(current_scene), newstr(":")), COMMENT_COLUMN, ' '), $3,… [all …]
|
H A D | libspl.c | 73 …runtime_error(line, cat2(newstr(character->name), newstr(" is not on stage, and thus cannot speak!… in activate_character() 168 …runtime_error(line, cat2(newstr(character->name), newstr(" is already on stage, and thus cannot en… in enter_scene() 187 …runtime_error(line, cat2(newstr(character->name), newstr(" is not on stage, and thus cannot exit!\… in exit_scene() 235 newchar->name = newstr(name); in initialize_character() 270 runtime_error(line, cat3(newstr("Unable to divide "), int2str(a), newstr(" by zero!"))); in int_div() 291 …runtime_error(line, cat3(newstr("Unable to compute factorial of "), int2str(n), newstr(", since it… in int_factorial() 335 …runtime_error(line, cat2(newstr(character->name), newstr("'s heart whispered an integer that was o… in int_input() 345 …runtime_error(line, cat2(newstr(character->name), newstr("'s heart whispered an integer that was o… in int_input() 360 runtime_error(line, cat3(newstr("Unable to divide "), int2str(a), newstr(" by zero!"))); in int_mod() 405 newstr(", since it is negative."))); in int_sqrt() [all …]
|
/dports/x11/runner/runner-1.1/src/aguix/ |
H A D | lowlevelfunc.cc | 130 char *newstr; in shrinkstring() local 179 return newstr; in shrinkstring() 372 return newstr; in AGUIX_catTrustedAndUnTrusted() 414 char *newstr; in AGUIX_unquoteString() local 482 newstr[o] = '\0'; in AGUIX_unquoteString() 484 return newstr; in AGUIX_unquoteString() 574 newstr[o++] = '"'; in AGUIX_catQuotedAndUnQuoted() 580 newstr[o++] = '$'; in AGUIX_catQuotedAndUnQuoted() 626 return newstr; in AGUIX_catQuotedAndUnQuoted() 638 char *newstr; in AGUIX_fixBackslashed() local [all …]
|
/dports/x11-fm/worker/worker-4.10.0/src/aguix/ |
H A D | lowlevelfunc.cc | 130 char *newstr; in shrinkstring() local 179 return newstr; in shrinkstring() 372 return newstr; in AGUIX_catTrustedAndUnTrusted() 414 char *newstr; in AGUIX_unquoteString() local 482 newstr[o] = '\0'; in AGUIX_unquoteString() 484 return newstr; in AGUIX_unquoteString() 574 newstr[o++] = '"'; in AGUIX_catQuotedAndUnQuoted() 580 newstr[o++] = '$'; in AGUIX_catQuotedAndUnQuoted() 626 return newstr; in AGUIX_catQuotedAndUnQuoted() 638 char *newstr; in AGUIX_fixBackslashed() local [all …]
|
/dports/mail/isoqlog/isoqlog-2.2.1/isoqlog/ |
H A D | Html.c | 321 free(newstr); in createDailyHtml() 1696 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1699 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1702 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1707 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1709 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1713 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1716 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1719 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() 1722 fwrite(newstr, sizeof(char), strlen(newstr), fp); in createIndexHtml() [all …]
|
/dports/irc/dircproxy/dircproxy-dc563b3/src/ |
H A D | sprintf.c | 109 char *newstr; local 137 newstr = (char *)realloc(newstr, newstrlen + 1); 146 newstr = (char *)realloc(newstr, newstrlen + 1); 161 newstr = (char *)realloc(newstr, newstrlen + 1); 172 newstr = (char *)realloc(newstr, newstrlen + 1); 186 newstr = (char *)realloc(newstr, newstrlen + 1); 193 newstr[strlen(newstr)-1] = signchar; 202 newstr = (char *)realloc(newstr, newstrlen + 1); 215 newstr[i] = newstr[j]; 245 free(newstr); [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/iconv/ |
H A D | strtab.c | 167 newstr->string = str; in newstring() 168 newstr->len = len; in newstring() 169 newstr->next = NULL; in newstring() 170 newstr->left = NULL; in newstring() 172 newstr->offset = 0; in newstring() 179 return newstr; in newstring() 194 *sep = newstr; in searchstring() 233 if (*sep != newstr) in strtabadd() 268 *sep = newstr; in strtabadd() 276 newstr = *sep; in strtabadd() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/iconv/ |
H A D | strtab.c | 167 newstr->string = str; in newstring() 168 newstr->len = len; in newstring() 169 newstr->next = NULL; in newstring() 170 newstr->left = NULL; in newstring() 172 newstr->offset = 0; in newstring() 179 return newstr; in newstring() 194 *sep = newstr; in searchstring() 233 if (*sep != newstr) in strtabadd() 268 *sep = newstr; in strtabadd() 276 newstr = *sep; in strtabadd() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/google-endpoints/future/types/ |
H A D | newstr.py | 58 if cls == newstr: 91 elif type(args[0]) == newstr and cls == newstr: 118 return newstr(super(newstr, self).__getitem__(y)) 124 if type(key) == newstr: 127 newkey = newstr(key) 134 return newstr(super(newstr, self).__add__(other)) 145 return newstr(super(newstr, self).__mul__(other)) 148 return newstr(super(newstr, self).__rmul__(other)) 160 return newstr(super(newstr, self).join(iterable)) 162 return newstr(super(newstr, newstr(self)).join(iterable)) [all …]
|
/dports/www/grafana8/core/ |
H A D | mapper.go | 85 newstr = append(newstr, '_') 89 newstr = append(newstr, chr) 92 return string(newstr) 117 newstr = append(newstr, chr) 146 if !isASCIIUpper(newstr[len(newstr)-1]) { 147 newstr = append(newstr, '_') 152 l := len(newstr) 153 if isASCIIUpper(newstr[l-1]) && isASCIIUpper(newstr[l-2]) { 154 newstr = append(newstr, newstr[l-1]) 159 newstr = append(newstr, chr) [all …]
|
/dports/devel/elfutils/elfutils-0.179/libdwelf/ |
H A D | dwelf_strtab.c | 170 newstr->len = len; in newstring() 171 newstr->next = NULL; in newstring() 172 newstr->left = NULL; in newstring() 174 newstr->offset = 0; in newstring() 181 return newstr; in newstring() 194 *sep = newstr; in searchstring() 222 if (newstr == NULL) in strtab_add() 229 if (*sep != newstr) in strtab_add() 264 *sep = newstr; in strtab_add() 272 newstr = *sep; in strtab_add() [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/future/types/ |
H A D | newstr.py | 60 if cls == newstr: 93 elif type(args[0]) == newstr and cls == newstr: 121 return newstr(super(newstr, self).__getitem__(y)) 127 if type(key) == newstr: 130 newkey = newstr(key) 137 return newstr(super(newstr, self).__add__(other)) 148 return newstr(super(newstr, self).__mul__(other)) 151 return newstr(super(newstr, self).__rmul__(other)) 163 return newstr(super(newstr, self).join(iterable)) 165 return newstr(super(newstr, newstr(self)).join(iterable)) [all …]
|
/dports/multimedia/tautulli/Tautulli-2.8.0/lib/future/types/ |
H A D | newstr.py | 60 if cls == newstr: 93 elif type(args[0]) == newstr and cls == newstr: 121 return newstr(super(newstr, self).__getitem__(y)) 127 if type(key) == newstr: 130 newkey = newstr(key) 137 return newstr(super(newstr, self).__add__(other)) 148 return newstr(super(newstr, self).__mul__(other)) 151 return newstr(super(newstr, self).__rmul__(other)) 163 return newstr(super(newstr, self).join(iterable)) 165 return newstr(super(newstr, newstr(self)).join(iterable)) [all …]
|
/dports/devel/py-future/future-0.18.2/src/future/types/ |
H A D | newstr.py | 60 if cls == newstr: 93 elif type(args[0]) == newstr and cls == newstr: 121 return newstr(super(newstr, self).__getitem__(y)) 127 if type(key) == newstr: 130 newkey = newstr(key) 137 return newstr(super(newstr, self).__add__(other)) 148 return newstr(super(newstr, self).__mul__(other)) 151 return newstr(super(newstr, self).__rmul__(other)) 163 return newstr(super(newstr, self).join(iterable)) 165 return newstr(super(newstr, newstr(self)).join(iterable)) [all …]
|
/dports/www/gitea/gitea-1.16.5/vendor/xorm.io/xorm/names/ |
H A D | mapper.go | 97 newstr = append(newstr, '_') 101 newstr = append(newstr, c) 104 return b2s(newstr) 131 newstr = append(newstr, c) 134 return b2s(newstr) 161 if !isASCIIUpper(newstr[len(newstr)-1]) { 162 newstr = append(newstr, '_') 168 if isASCIIUpper(newstr[l-1]) && isASCIIUpper(newstr[l-2]) { 169 newstr = append(newstr, newstr[l-1]) 174 newstr = append(newstr, chr) [all …]
|
/dports/textproc/p5-Unicode-Tussle/Unicode-Tussle-1.111/java/ |
H A D | tchrist-unicode-charclasses__alpha.java | 729 StringBuffer newstr; { in unicode_charclass() local 747 newstr = new StringBuffer(newlen); in unicode_charclass() 770 newstr.append("\\\\"); in unicode_charclass() 815 default: newstr.append('\\'); in unicode_charclass() 828 newstr.append('\\'); in unicode_charclass() 831 return newstr.toString(); in unicode_charclass() 929 newstr.append("\\\\"); in unescape_perl_string() 935 case 'r': newstr.append('\r'); in unescape_perl_string() 1032 newstr.append('\0'); in unescape_perl_string() 1163 newstr.append('\\'); in unescape_perl_string() [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tlx/string/ |
H A D | replace.cpp | 82 std::string newstr = str; in replace_first() local 88 return newstr; in replace_first() 100 return newstr; in replace_first() 112 return newstr; in replace_first() 124 return newstr; in replace_first() 135 return newstr; in replace_first() 224 return newstr; in replace_all() 239 return newstr; in replace_all() 254 return newstr; in replace_all() 270 return newstr; in replace_all() [all …]
|
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tlx/string/ |
H A D | replace.cpp | 82 std::string newstr = str; in replace_first() local 88 return newstr; in replace_first() 100 return newstr; in replace_first() 112 return newstr; in replace_first() 124 return newstr; in replace_first() 135 return newstr; in replace_first() 224 return newstr; in replace_all() 239 return newstr; in replace_all() 254 return newstr; in replace_all() 270 return newstr; in replace_all() [all …]
|
/dports/ftp/lftp/lftp-4.9.2/src/ |
H A D | StatusLine.cc | 104 char newstr[0x800]; in Show() local 108 vsnprintf(newstr,sizeof(newstr),f,v); in Show() 110 newstr[sizeof(newstr)-1]=0; in Show() 112 const char *s=newstr; in Show() 126 to_be_shown.Assign(newstr,n); in ShowN() 131 update(newstr,n); in ShowN() 180 if(newstr_height>0 && newstr[0][0]) WriteTitle(newstr[0], fd); in update() 242 if(end-newstr[curr_line]>0) in update() 243 write(fd,newstr[curr_line],end-newstr[curr_line]); in update() 257 shown.Assign(newstr,newstr_height); in update() [all …]
|
/dports/net-im/jabber.el/emacs-jabber-0.8.92/ |
H A D | jabber-xml.el | 33 (setq newstr (jabber-replace-in-string newstr "\f" "\n")) 37 (setq newstr (jabber-replace-in-string newstr "&" "&")) 38 (setq newstr (jabber-replace-in-string newstr "<" "<")) 39 (setq newstr (jabber-replace-in-string newstr ">" ">")) 40 (setq newstr (jabber-replace-in-string newstr "'" "'")) 42 newstr) 52 (setq newstr (jabber-replace-in-string newstr "'" "'")) 53 (setq newstr (jabber-replace-in-string newstr ">" ">")) 54 (setq newstr (jabber-replace-in-string newstr "<" "<")) 55 (setq newstr (jabber-replace-in-string newstr "&" "&")) [all …]
|
/dports/devel/radare2/radare2-5.1.1/libr/parse/p/ |
H A D | parse_v850_pseudo.c | 67 if (!newstr) { in replace() 89 newstr[k] = '1'; in replace() 92 newstr[k] = '6'; in replace() 94 newstr[k] = '1'; in replace() 96 newstr[k] = '0'; in replace() 101 newstr[k] = '\0'; in replace() 103 strcat (newstr + k, "+"); in replace() 111 newstr[0] = '\0'; in replace() 113 strcat (newstr, argv[i]); in replace() 116 r_str_replace_in (newstr, strlen (newstr), "+= -", "-= ", true); in replace() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/tools/qfe/ |
H A D | qfelexer.lpp | 13 extern std::string* newstr(const char* cp); 34 "AND" { qfelval.cp = newstr(qfetext); return LOGICOP; } 35 "OR" { qfelval.cp = newstr(qfetext); return LOGICOP; } 41 "SUM" { qfelval.cp = newstr(qfetext); return FUNC; } 42 "MIN" { qfelval.cp = newstr(qfetext); return FUNC; } 43 "MAX" { qfelval.cp = newstr(qfetext); return FUNC; } 44 "AVG" { qfelval.cp = newstr(qfetext); return FUNC; } 54 ">" { qfelval.cp = newstr(qfetext); return RELOP; } 55 ">=" { qfelval.cp = newstr(qfetext); return RELOP; } 56 "<" { qfelval.cp = newstr(qfetext); return RELOP; } [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/tools/qfe/ |
H A D | qfelexer.lpp | 13 extern std::string* newstr(const char* cp); 34 "AND" { qfelval.cp = newstr(qfetext); return LOGICOP; } 35 "OR" { qfelval.cp = newstr(qfetext); return LOGICOP; } 41 "SUM" { qfelval.cp = newstr(qfetext); return FUNC; } 42 "MIN" { qfelval.cp = newstr(qfetext); return FUNC; } 43 "MAX" { qfelval.cp = newstr(qfetext); return FUNC; } 44 "AVG" { qfelval.cp = newstr(qfetext); return FUNC; } 54 ">" { qfelval.cp = newstr(qfetext); return RELOP; } 55 ">=" { qfelval.cp = newstr(qfetext); return RELOP; } 56 "<" { qfelval.cp = newstr(qfetext); return RELOP; } [all …]
|
/dports/textproc/catdoc/catdoc-0.95/src/ |
H A D | confutil.c | 121 char *newstr; in get_locale_charset() local 126 strcpy(newstr,"cp"); in get_locale_charset() 131 free(newstr); in get_locale_charset() 133 char *newstr; in get_locale_charset() local 137 strcpy(newstr,"cp"); in get_locale_charset() 138 strcpy(newstr+2,codeset); in get_locale_charset() 142 free(newstr); in get_locale_charset() 145 for (i=newstr;*i;i++) { in get_locale_charset() 167 char *newstr; in strdup() local 168 newstr=malloc(size+1); in strdup() [all …]
|
/dports/lang/spl/spl-1.2.1/include/ |
H A D | terminals.metaflex | 1 : { yylval.str = newstr(yytext); return COLON; } 2 , { yylval.str = newstr(yytext); return COMMA; } 3 ! { yylval.str = newstr(yytext); return EXCLAMATION_MARK; } 4 \[ { yylval.str = newstr(yytext); return LEFT_BRACKET; } 5 \. { yylval.str = newstr(yytext); return PERIOD; } 6 \? { yylval.str = newstr(yytext); return QUESTION_MARK; } 7 \] { yylval.str = newstr(yytext); return RIGHT_BRACKET; } 9 {ROMAN_NUMBER} { yylval.str = newstr(yytext); return ROMAN_NUMBER; } 10 "act"[[:space:]]+{ROMAN_NUMBER} { yylval.str = newstr(yytext); return ACT_ROMAN; } 13 [[:alnum:]]+ { yylval.str = newstr(yytext); return NONMATCH; } [all …]
|