Home
last modified time | relevance | path

Searched refs:source_string (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/dports/net/kamailio/kamailio-5.4.5/src/modules/carrierroute/
H A Dprime_hash.c57 str source_string; in hash_func() local
72 source_string->s = NULL; in determine_source()
73 source_string->len = 0; in determine_source()
124 first_token (source_string); in determine_call_id()
149 source_string->s = uri.user.s; in determine_fromto_user()
160 source_string->len = strlen(source_string->s); in determine_fromrand()
168 if (source_string->s == NULL || source_string->len == 0) { in first_token()
172 while (source_string->len > 0 && isspace (*source_string->s)) { in first_token()
173 ++source_string->s; in first_token()
174 --source_string->len; in first_token()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/sipcapture/
H A Dhash_mode.c33 str *source_string);
47 str source_string; in hash_func() local
53 LM_DBG("source string: [%.*s]\n", source_string.len, source_string.s); in hash_func()
61 str *source_string) in get_source() argument
63 source_string->s = NULL; in get_source()
64 source_string->len = 0; in get_source()
87 first_token(source_string); in get_call_id()
119 if(source_string->s == NULL || source_string->len == 0) { in first_token()
123 while(source_string->len > 0 && isspace(*source_string->s)) { in first_token()
124 ++source_string->s; in first_token()
[all …]
/dports/converters/p5-Unicode-MapUTF8/Unicode-MapUTF8-1.14/t/
H A D01_unicode_maputf8.t57 my $source_string = 'Hello World';
65 $source_string = '';
90 $source_string = '';
113 my $source_string = "Hello World";
121 $source_string = '';
151 my $source_string = 'Hello World';
159 $source_string = '';
172 $source_string = 'Hello World';
194 my $source_string = "\xa5\x40\xa5\x41\x30";
225 my $source_string = $parms->{-source};
[all …]
/dports/multimedia/openshot/openshot-qt-2.6.1/src/language/
H A Dshow_translations.py65 for source_string in all_strings:
66 translated_string = app.translate("", source_string)
67 if source_string != translated_string:
68 print(' {} => {}'.format(source_string,translated_string))
70 if "%s" in source_string or "%s(" in source_string or "%d" in source_string:
71 if source_string.count('%') != translated_string.count('%'):
73 (translated_string, source_string, lang_code)))
H A Dtest_translations.py69 for source_string in all_strings:
70 if "%s" in source_string or "%s(" in source_string or "%d" in source_string:
71 translated_string = app.translate("", source_string)
72 if source_string.count('%') != translated_string.count('%'):
75 (translated_string, source_string, lang_code), endc)
/dports/misc/py-toil/toil-5.4.0/src/toil/wdl/versions/
H A Ddraft2.py153 … attr_dict[ast.attributes['key'].source_string] = ast.attributes['value'].source_string
228 return i.source_string
443 return i.source_string
451 return i.source_string
496 return nameAST.source_string
498 return nameAST.source_string
661 es = es + lhsAST.source_string
695 rhsAST.source_string == 'left' or rhsAST.source_string == 'right'):
827 if name.source_string == 'glob':
859 return i.source_string
[all …]
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/util/
H A DDocumentFactory.java45 public static Document makeDocument (final String source_string) { in makeDocument() argument
46 if (source_string.indexOf ("://") != -1) { in makeDocument()
48 return new URLDocument (new URL (source_string)); in makeDocument()
50 return new FileDocument (new File (source_string)); in makeDocument()
55 File file = new File (source_string); in makeDocument()
61 String parent = source_string; in makeDocument()
/dports/math/clblast/CLBlast-1.1.0/src/
H A Droutine.cpp130 auto source_string = std::string{""}; in InitProgram()
132 source_string += db_(kernel_name).GetDefines(); in InitProgram()
134 source_string += "#define PRECISION "+ToString(static_cast<int>(precision_))+"\n"; in InitProgram()
137 source_string += "#define ROUTINE_"+routine_name_+"\n"; in InitProgram()
142 source_string += "#define USE_INLINE_KEYWORD 1\n"; in InitProgram()
148 source_string += "#define USE_CL_MAD 1\n"; in InitProgram()
153 source_string += "#define USE_STAGGERED_INDICES 1\n"; in InitProgram()
159 source_string += "#define GLOBAL_MEM_FENCE 1\n"; in InitProgram()
163 source_string += in InitProgram()
169 source_string += s; in InitProgram()
[all …]
/dports/textproc/p5-Text-FixEOL/Text-FixEOL-1.08/t/
H A D01_Text-FixEOL.t338 my ($source_string, $target_string) = @$map_pair;
341 $source_string = url_escape($source_string);
359 my ($source_string, $target_string) = @$map_pair;
363 $source_string = url_escape($source_string);
381 my ($source_string, $target_string) = @$map_pair;
385 $source_string = url_escape($source_string);
407 $source_string = url_escape($source_string);
452 $target_string = $source_string;
455 $source_string = url_escape($source_string);
477 $source_string = url_escape($source_string);
[all …]
/dports/audio/vorbis-tools/vorbis-tools-1.4.2/ogg123/
H A Dfile_transport.c40 int file_can_transport (const char *source_string) in file_can_transport() argument
45 data_source_t* file_open (const char *source_string, ogg123_options_t *ogg123_opts) in file_open() argument
55 source->source_string = strdup(source_string); in file_open()
69 if (strcmp(source_string, "-") == 0) { in file_open()
73 private->fp = fopen(source_string, "r"); in file_open()
76 free(source->source_string); in file_open()
162 free(source->source_string); in file_close()
H A Dhttp_transport.c111 curl_easy_setopt(handle, CURLOPT_URL, private->data_source->source_string); in set_curl_opts()
170 int http_can_transport (const char *source_string) in http_can_transport() argument
174 tmp = strchr(source_string, ':') - source_string; in http_can_transport()
176 tmp + 2 < strlen(source_string) && in http_can_transport()
177 !strncmp(source_string + tmp, "://", 3); in http_can_transport()
181 data_source_t* http_open (const char *source_string, ogg123_options_t *ogg123_opts) in http_open() argument
191 source->source_string = strdup(source_string); in http_open()
254 free(source->source_string); in http_open()
335 free(source->source_string); in http_close()
/dports/net/arataga/oess-2.2.3/dev/cls_3/parser/
H A Ddirectives.cpp16 const std::string &source_string in is_directive() argument
19 if( '$' == source_string[ 0 ] ) in is_directive()
27 const std::string &source_string, in identify_directive() argument
31 std::stringstream directive_reader( source_string ); in identify_directive()
49 const size_t directive_length = source_string.length(); in identify_directive()
60 directive_data = source_string.substr( tellg() ); in identify_directive()
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/
H A Dstring-id.c163 unsigned int string_id_add(const char *source_string, String_id *ss) in string_id_add() argument
165 assert(source_string != NULL, "STRING_SET: Can't insert a null string"); in string_id_add()
167 unsigned int h = hash_string(source_string, ss); in string_id_add()
168 unsigned int p = find_place(source_string, h, ss); in string_id_add()
172 size_t len = strlen(source_string) + 1; in string_id_add()
176 memcpy(str, source_string, len); in string_id_add()
191 unsigned int string_id_lookup(const char * source_string, String_id * ss) in string_id_lookup() argument
193 unsigned int h = hash_string(source_string, ss); in string_id_lookup()
194 unsigned int p = find_place(source_string, h, ss); in string_id_lookup()
H A Dstring-set.c184 const char * string_set_add(const char * source_string, String_set * ss) in string_set_add() argument
186 assert(source_string != NULL, "STRING_SET: Can't insert a null string"); in string_set_add()
188 unsigned int h = hash_string(source_string, ss); in string_set_add()
189 unsigned int p = find_place(source_string, h, ss); in string_set_add()
193 size_t len = strlen(source_string) + 1; in string_set_add()
204 memcpy(str, source_string, len); in string_set_add()
216 const char * string_set_lookup(const char * source_string, String_set * ss) in string_set_lookup() argument
218 unsigned int h = hash_string(source_string, ss); in string_set_lookup()
219 unsigned int p = find_place(source_string, h, ss); in string_set_lookup()
/dports/textproc/sassc/sassc-3.6.1/
H A Dsassc.c96 char *source_string = malloc(sizeof(char) * BUFSIZE); in compile_stdin() local
98 if(source_string == NULL) { in compile_stdin()
107 source_string[0] = '\0'; in compile_stdin()
110 char *old = source_string; in compile_stdin()
112 source_string = realloc(source_string, size); in compile_stdin()
113 if(source_string == NULL) { in compile_stdin()
122 strcat(source_string, buffer); in compile_stdin()
126 free(source_string); in compile_stdin()
135 ctx = sass_make_data_context(source_string); in compile_stdin()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/shaderc/src/glslc/src/
H A Dfile_compiler.cc80 string_piece source_string = ""; in CompileShaderFile() local
82 source_string = {&input_data.front(), in CompileShaderFile()
97 compiler_.AssembleToSpv(source_string.data(), source_string.size()); in CompileShaderFile()
113 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
121 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
129 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
/dports/textproc/p5-CSS-Sass/CSS-Sass-3.6.4/plugins/sassc/
H A Dsassc.c111 char *source_string = malloc(sizeof(char) * BUFSIZE); in compile_stdin() local
113 if(source_string == NULL) { in compile_stdin()
122 source_string[0] = '\0'; in compile_stdin()
125 char *old = source_string; in compile_stdin()
127 source_string = realloc(source_string, size); in compile_stdin()
128 if(source_string == NULL) { in compile_stdin()
137 strcat(source_string, buffer); in compile_stdin()
141 free(source_string); in compile_stdin()
150 ctx = sass_make_data_context(source_string); in compile_stdin()
/dports/x11-toolkits/lesstif/lesstif-0.95.2/lib/Xm-2.1/
H A DSelection.c86 char *source_string; in _XmTextConvert() local
242 source_string = _XmStringSourceGetString( (XmTextWidget)wid2, in _XmTextConvert()
244 status = XmbTextListToTextProperty( XtDisplay(wid2), &source_string, in _XmTextConvert()
246 XtFree( source_string ); in _XmTextConvert()
270 source_string = _XmStringSourceGetString( (XmTextWidget)wid2, in _XmTextConvert()
273 status = XmbTextListToTextProperty( XtDisplay(wid2), &source_string, in _XmTextConvert()
277 XtFree( source_string ); in _XmTextConvert()
314 source_string = _XmStringSourceGetString( (XmTextWidget)wid2, left_tp, in _XmTextConvert()
316 status = XmbTextListToTextProperty( XtDisplay(wid2), &source_string, in _XmTextConvert()
319 XtFree( source_string ); in _XmTextConvert()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/shaderc/src/glslc/src/
H A Dfile_compiler.cc84 string_piece source_string = ""; in CompileShaderFile() local
86 source_string = {&input_data.front(), in CompileShaderFile()
101 compiler_.AssembleToSpv(source_string.data(), source_string.size()); in CompileShaderFile()
117 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
125 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
133 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
/dports/graphics/shaderc/shaderc-2021.3/glslc/src/
H A Dfile_compiler.cc84 string_piece source_string = ""; in CompileShaderFile() local
86 source_string = {&input_data.front(), in CompileShaderFile()
101 compiler_.AssembleToSpv(source_string.data(), source_string.size()); in CompileShaderFile()
117 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
125 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
133 source_string.data(), source_string.size(), input_file.stage, in CompileShaderFile()
/dports/java/java-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dsubst_translate-test.c69 svn_string_t *source_string = svn_string_create(t->source, pool); in test_svn_subst_translate_string2() local
76 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
86 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
95 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_svn_subst_translate_string2() local
98 source_string, in test_svn_subst_translate_string2()
119 svn_string_t *source_string = svn_string_create("\xc6", pool); in test_svn_subst_translate_string2_null_encoding_helper() local
123 source_string, NULL, FALSE, in test_svn_subst_translate_string2_null_encoding_helper()
188 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_repairing_svn_subst_translate_string2() local
190 SVN_ERR(svn_subst_translate_string2(&new_value, NULL, NULL, source_string, in test_repairing_svn_subst_translate_string2()
/dports/devel/py-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dsubst_translate-test.c69 svn_string_t *source_string = svn_string_create(t->source, pool); in test_svn_subst_translate_string2() local
76 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
86 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
95 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_svn_subst_translate_string2() local
98 source_string, in test_svn_subst_translate_string2()
119 svn_string_t *source_string = svn_string_create("\xc6", pool); in test_svn_subst_translate_string2_null_encoding_helper() local
123 source_string, NULL, FALSE, in test_svn_subst_translate_string2_null_encoding_helper()
188 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_repairing_svn_subst_translate_string2() local
190 SVN_ERR(svn_subst_translate_string2(&new_value, NULL, NULL, source_string, in test_repairing_svn_subst_translate_string2()
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dsubst_translate-test.c69 svn_string_t *source_string = svn_string_create(t->source, pool); in test_svn_subst_translate_string2() local
76 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
86 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
95 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_svn_subst_translate_string2() local
98 source_string, in test_svn_subst_translate_string2()
119 svn_string_t *source_string = svn_string_create("\xc6", pool); in test_svn_subst_translate_string2_null_encoding_helper() local
123 source_string, NULL, FALSE, in test_svn_subst_translate_string2_null_encoding_helper()
188 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_repairing_svn_subst_translate_string2() local
190 SVN_ERR(svn_subst_translate_string2(&new_value, NULL, NULL, source_string, in test_repairing_svn_subst_translate_string2()
/dports/devel/p5-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/
H A Dsubst_translate-test.c69 svn_string_t *source_string = svn_string_create(t->source, pool); in test_svn_subst_translate_string2() local
76 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
86 source_string, "ISO-8859-1", FALSE, in test_svn_subst_translate_string2()
95 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_svn_subst_translate_string2() local
98 source_string, in test_svn_subst_translate_string2()
119 svn_string_t *source_string = svn_string_create("\xc6", pool); in test_svn_subst_translate_string2_null_encoding_helper() local
123 source_string, NULL, FALSE, in test_svn_subst_translate_string2_null_encoding_helper()
188 svn_string_t *source_string = svn_string_create(" \r \r\n \n ", pool); in test_repairing_svn_subst_translate_string2() local
190 SVN_ERR(svn_subst_translate_string2(&new_value, NULL, NULL, source_string, in test_repairing_svn_subst_translate_string2()
/dports/lang/spidermonkey60/firefox-60.9.0/toolkit/crashreporter/google-breakpad/src/common/linux/
H A Dsymbol_upload.cc45 void TokenizeByChar(const string &source_string, int c, in TokenizeByChar() argument
49 while ((next_pos = source_string.find(c, cur_pos)) != string::npos) { in TokenizeByChar()
51 results->push_back(source_string.substr(cur_pos, next_pos - cur_pos)); in TokenizeByChar()
54 if (cur_pos < source_string.size() && next_pos != cur_pos) in TokenizeByChar()
55 results->push_back(source_string.substr(cur_pos)); in TokenizeByChar()

12345678910>>...17