/dports/mail/mls/mls-1.3/ |
H A D | mls_stat.c | 44 myCopy(auth2, auth+pm[2].rm_so, pm[2].rm_eo - pm[2].rm_so + 1); in GetEmail() 61 myCopy(sub2, subj+pm[3].rm_so, pm[3].rm_eo - pm[3].rm_so + 1); in GetSubj() 73 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 76 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 78 myCopy(sub2 + pm[1].rm_eo - pm[1].rm_so + 1, mail+pm[2].rm_so, pm[2].rm_eo - pm[2].rm_so + 1); in GetMailer() 83 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 88 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 93 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 98 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() 101 myCopy(sub2, mail+pm[1].rm_so, pm[1].rm_eo - pm[1].rm_so + 1); in GetMailer() [all …]
|
H A D | mls_mime.c | 47 myCopy(hex,encoded+pm[1].rm_so+1,3); in Decode_QuotedPrint() 117 i=pm[2].rm_eo - pm[2].rm_so + 1; in Decode_mime_string() 118 myCopy(charset, txt+pm[2].rm_so, (i>40)?40:i); in Decode_mime_string() 119 i=pm[3].rm_eo - pm[3].rm_so + 1; in Decode_mime_string() 120 myCopy(enc, txt+pm[3].rm_so, (i>76)?76:i); in Decode_mime_string() 122 replaceStr(txt,pm[1].rm_so,pm[1].rm_eo-1,enc); in Decode_mime_string() 126 i=pm[2].rm_eo - pm[2].rm_so + 1; in Decode_mime_string() 127 myCopy(charset, txt+pm[2].rm_so, (i>40)?40:i); in Decode_mime_string() 128 i=pm[3].rm_eo - pm[3].rm_so + 1; in Decode_mime_string() 129 myCopy(enc, txt+pm[3].rm_so, (i>76)?76:i); in Decode_mime_string() [all …]
|
/dports/comms/anyremote/anyremote-6.7.3/src/ |
H A D | parse.c | 250 if (result[1].rm_so == -1) { in parseKeyValue() 513 if (result[1].rm_so >= 0) { in storeGetCmd() 599 if (result[1].rm_so >= 0 && result[2].rm_so > 0) { in storeMakeCmd() 621 if (result2[1].rm_so >= 0 && result2[2].rm_so >= 0) { in storeMakeCmd() 654 strncpy(ci->descr,cmd + result[1].rm_so, result[1].rm_eo - result[1].rm_so); in storeMakeCmd() 655 strncpy(ci->exec, cmd + result[2].rm_so, result[2].rm_eo - result[2].rm_so); in storeMakeCmd() 666 strncpy(ci->descr,cmd + result[1].rm_so, result[1].rm_eo - result[1].rm_so); in storeMakeCmd() 667 strncpy(ci->exec, cmd + result[2].rm_so, result[2].rm_eo - result[2].rm_so); in storeMakeCmd() 784 if (result[1].rm_so >= 0 && result[2].rm_so > 0) { // subcommand , params matched in storeExecAndSetCmdEx() 970 } else if (result2[6].rm_so >= 0 && result2[7].rm_so >= 0) { // close,clear in storeExecAndSetCmdEx() [all …]
|
/dports/www/squid/squid-4.15/tools/purge/ |
H A D | conffile.cc | 122 if ( subs[6].rm_so == -1 ) { in readConfigFile() 146 (int)subs[offset].rm_so, in readConfigFile() 148 line+subs[offset].rm_so ); in readConfigFile() 149 cd.base = xstrdup( line+subs[offset].rm_so ); in readConfigFile() 155 (int)subs[offset].rm_so, in readConfigFile() 157 line+subs[offset].rm_so ); in readConfigFile() 158 cd.size = strtoul( line+subs[offset].rm_so, 0, 10 ); in readConfigFile() 164 (int)subs[offset].rm_so, in readConfigFile() 166 line+subs[offset].rm_so ); in readConfigFile() 173 (int)subs[offset].rm_so, in readConfigFile() [all …]
|
/dports/www/squidpurge/purge/ |
H A D | conffile.cc | 112 subs[0].rm_so, subs[0].rm_eo, line ); in readConfigFile() 120 if ( subs[6].rm_so == -1 ) { in readConfigFile() 128 line+subs[offset].rm_so ); in readConfigFile() 143 subs[offset].rm_so, subs[offset].rm_eo, in readConfigFile() 144 line+subs[offset].rm_so ); in readConfigFile() 151 subs[offset].rm_so, subs[offset].rm_eo, in readConfigFile() 152 line+subs[offset].rm_so ); in readConfigFile() 159 subs[offset].rm_so, subs[offset].rm_eo, in readConfigFile() 160 line+subs[offset].rm_so ); in readConfigFile() 167 subs[offset].rm_so, subs[offset].rm_eo, in readConfigFile() [all …]
|
/dports/mail/imapfilter/imapfilter-2.7.5/src/ |
H A D | response.c | 126 if (!strncasecmp(buf + re->pmatch[2].rm_so, in check_tag() 366 re->pmatch[1].rm_so); in response_authenticate() 396 re->pmatch[2].rm_so, n); in response_namespace() 519 a = xstrndup(b + re->pmatch[2].rm_so, in response_list() 523 s = xstrndup(b + re->pmatch[5].rm_so, in response_list() 525 else if (re->pmatch[6].rm_so != -1 && in response_list() 527 s = xstrndup(b + re->pmatch[6].rm_so, in response_list() 531 re->pmatch[7].rm_so, NULL, 10)); in response_list() 591 re->pmatch[1].rm_so) < ibuf.len ? in response_search() 825 if (re->pmatch[2].rm_so != -1 && in response_fetchbody() [all …]
|
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/lib/ |
H A D | pkcs11_template.c | 212 if(regex_group[1].rm_so == (size_t)-1) { in pkcs11_make_idtemplate() 233 if(regex_group[2].rm_so>=0) { in pkcs11_make_idtemplate() 235 &resourceid[regex_group[2].rm_so], in pkcs11_make_idtemplate() 236 regex_group[2].rm_eo - regex_group[2].rm_so) ==0 ) { in pkcs11_make_idtemplate() 239 &resourceid[regex_group[2].rm_so], in pkcs11_make_idtemplate() 240 regex_group[2].rm_eo - regex_group[2].rm_so) ==0 ) { in pkcs11_make_idtemplate() 252 …memcpy(compare_buf, &resourceid[regex_group[2].rm_so], regex_group[2].rm_eo - regex_group[2].rm_so… in pkcs11_make_idtemplate() 274 if(regex_group[4].rm_so>=0) { /* we have HEX string */ in pkcs11_make_idtemplate() 276 …lblptr = hex2bin_new( &resourceid[ regex_group[4].rm_so ], regex_group[4].rm_eo - regex_group[4].r… in pkcs11_make_idtemplate() 283 idlblptr = &resourceid[ regex_group[5].rm_so ]; in pkcs11_make_idtemplate() [all …]
|
/dports/japanese/ne/ne/lib/ |
H A D | regexp.c | 79 rmp->rm_so+=x; in regexp_exec() 93 rmp->rm_so=p-s; in regexp_exec() 94 rmp->rm_eo=strlen(t) - rmp->rm_so; in regexp_exec() 114 rmp->rm_so=-1; in regexp_seekprev() 115 rm.rm_so=0; in regexp_seekprev() 118 if (!regexp_exec(s, rm.rm_so, t, &rm, f)) in regexp_seekprev() 121 if (rm.rm_so>x) in regexp_seekprev() 123 rmp->rm_so=rm.rm_so; in regexp_seekprev() 125 if (rm.rm_so==x) in regexp_seekprev() 127 ++rm.rm_so; in regexp_seekprev() [all …]
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/maint/ |
H A D | slurm_nodelist_parse.c | 113 gpattern[1] = gpattern[0] + gmatch[0][2].rm_so; in list_to_nodes() 122 rpattern = gpattern[1] + gmatch[1][2].rm_so; in list_to_nodes() 128 (int) (rmatch[1].rm_eo - rmatch[1].rm_so), rpattern + rmatch[1].rm_so); in list_to_nodes() 130 (int) (rmatch[2].rm_eo - rmatch[2].rm_so), rpattern + rmatch[2].rm_so); in list_to_nodes() 132 (int) (rmatch[4].rm_eo - rmatch[4].rm_so), rpattern + rmatch[4].rm_so); in list_to_nodes() 145 (int) (ematch[1].rm_eo - ematch[1].rm_so), epattern + ematch[1].rm_so); in list_to_nodes() 167 (int) (gmatch[0][2].rm_eo - gmatch[0][2].rm_so), gpattern[0] + gmatch[0][2].rm_so); in list_to_nodes() 174 if (gmatch[0][3].rm_so == gmatch[0][3].rm_eo) { in list_to_nodes() 206 (int) (rmatch[1].rm_eo - rmatch[1].rm_so), rpattern + rmatch[1].rm_so); in list_to_nodes() 208 (int) (rmatch[2].rm_eo - rmatch[2].rm_so), rpattern + rmatch[2].rm_so); in list_to_nodes() [all …]
|
/dports/comms/libfap/libfap-1.5/src/ |
H A D | helpers2.c | 108 len = matches[2].rm_eo - matches[2].rm_so; in fapint_parse_symbol_from_dst_callsign() 442 direction = field2[matches[1].rm_so]; in fapint_get_nmea_latlon() 456 len = matches[1].rm_eo - matches[1].rm_so; in fapint_get_nmea_latlon() 464 len = matches[2].rm_eo - matches[2].rm_so; in fapint_get_nmea_latlon() 472 len = matches[3].rm_eo - matches[3].rm_so; in fapint_get_nmea_latlon() 567 …*packet->telemetry->seq = ((*rest)[matches[1].rm_so] - 33) * 91 + (*rest)[matches[1].rm_so+1] - 33; in fapint_parse_comment_telemetry() 570 …*packet->telemetry->val1 = ((*rest)[matches[2].rm_so] - 33) * 91 + (*rest)[matches[2].rm_so+1] - 3… in fapint_parse_comment_telemetry() 577 …*packet->telemetry->val2 = ((*rest)[matches[3].rm_so] - 33) * 91 + (*rest)[matches[3].rm_so+1] - 3… in fapint_parse_comment_telemetry() 583 …*packet->telemetry->val3 = ((*rest)[matches[4].rm_so] - 33) * 91 + (*rest)[matches[4].rm_so+1] - 3… in fapint_parse_comment_telemetry() 595 …*packet->telemetry->val5 = ((*rest)[matches[6].rm_so] - 33) * 91 + (*rest)[matches[6].rm_so+1] - 3… in fapint_parse_comment_telemetry() [all …]
|
H A D | helpers.c | 89 len = matches[2].rm_eo - matches[2].rm_so; in fapint_parse_header() 779 memcpy(buf_3b, input+matches[1].rm_so, 2); in fapint_parse_timestamp() 781 memcpy(buf_3b, input+matches[2].rm_so, 2); in fapint_parse_timestamp() 787 type = input[matches[4].rm_so]; in fapint_parse_timestamp() 1103 sind = toupper(input[matches[3].rm_so]); in fapint_parse_normal() 1104 wind = toupper(input[matches[7].rm_so]); in fapint_parse_normal() 2905 if ( input[matches[1].rm_so] == 'l' ) in fapint_parse_wx() 3138 if ( input[i+matches[1].rm_so] != '-' ) in fapint_parse_wx_peet_logging() 3408 if ( input[i+matches[1].rm_so] != '-' ) in fapint_parse_wx_peet_packet() 3771 memcpy(tmp_str, input+matches[1].rm_so, matches[1].rm_eo - matches[1].rm_so); in fapint_check_kiss_callsign() [all …]
|
/dports/finance/gnucash/gnucash-4.9/gnucash/import-export/ |
H A D | import-parse.c | 115 len0 = match[1].rm_eo - match[1].rm_so; in check_date_format() 116 len1 = match[2].rm_eo - match[2].rm_so; in check_date_format() 117 len2 = match[3].rm_eo - match[3].rm_so; in check_date_format() 120 val0 = my_strntol(str + match[1].rm_so, len0); in check_date_format() 121 val1 = my_strntol(str + match[2].rm_so, len1); in check_date_format() 213 if (match[1].rm_so != -1) in gnc_import_test_date() 311 if (match[1].rm_so != -1) in gnc_import_parse_date() 343 if (match[1].rm_so == -1 || match[2].rm_so == -1 || match[3].rm_so == -1) in gnc_import_parse_date() 350 v0 = my_strntol(datestr + match[1].rm_so, match[1].rm_eo - match[1].rm_so); in gnc_import_parse_date() 351 v1 = my_strntol(datestr + match[2].rm_so, match[2].rm_eo - match[2].rm_so); in gnc_import_parse_date() [all …]
|
/dports/graphics/xfig/xfig-3.2.8a/src/ |
H A D | w_keyboard.c | 184 #define IS_POLAR (-1 != pmatch[M_POLAR_MAG].rm_so) 185 #define IS_RECT (-1 != pmatch[M_RECT_COORD].rm_so) 192 #define POLAR_MAG_F (&val[pmatch[M_POLAR_MAG_F].rm_so]) 193 #define POLAR_PHASE (&val[pmatch[M_POLAR_PHASE].rm_so]) 198 #define RECT_X_RA (val[pmatch[M_RECT_COORD_X_RA].rm_so]) 204 #define RECT_X_F (&val[pmatch[M_RECT_COORD_X_F].rm_so]) 207 #define RECT_Y_RA (val[pmatch[M_RECT_COORD_Y_RA].rm_so]) 213 #define RECT_Y_F (&val[pmatch[M_RECT_COORD_Y_F].rm_so]) 239 if (-1 != pmatch[i].rm_so) { 242 pmatch[i].rm_eo - pmatch[i].rm_so, [all …]
|
/dports/www/pound/Pound-2.8/ |
H A D | config.c | 305 res->to = atoi(lin + matches[1].rm_so); in parse_be() 452 cp = lin + matches[1].rm_so; in parse_sess() 663 be->url[matches[3].rm_so] = '\0'; in IMPLEMENT_LHASH_COMP_FN() 689 be->url[matches[3].rm_so] = '\0'; in IMPLEMENT_LHASH_COMP_FN() 800 n = atoi(lin + matches[1].rm_so); in parse_HTTP() 999 n = atoi(lin + matches[1].rm_so); in parse_HTTPS() 1187 if (atoi(lin + matches[1].rm_so)) { in parse_HTTPS() 1337 if(lin[matches[1].rm_so] == '-') in parse_file() 1346 grace = atoi(lin + matches[1].rm_so); in parse_file() 1354 be_to = atoi(lin + matches[1].rm_so); in parse_file() [all …]
|
/dports/textproc/flex/flex-2.6.4/src/ |
H A D | regex.c | 81 if (m == NULL || m->rm_so < 0 || m->rm_eo < m->rm_so) in regmatch_dup() 83 len = (size_t) (m->rm_eo - m->rm_so); in regmatch_dup() 87 strncpy (str, src + m->rm_so, len); in regmatch_dup() 100 if (m == NULL || m->rm_so < 0) { in regmatch_cpy() 106 snprintf (dest, (size_t) regmatch_len(m), "%s", src + m->rm_so); in regmatch_cpy() 116 if (m == NULL || m->rm_so < 0) { in regmatch_len() 120 return m->rm_eo - m->rm_so; in regmatch_len() 141 if (m == NULL || m->rm_so < 0) in regmatch_strtol() 164 return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo); in regmatch_empty()
|
/dports/misc/rump/buildrump.sh-b914579/src/external/bsd/flex/dist/src/ |
H A D | regex.c | 86 if (m == NULL || m->rm_so < 0) in regmatch_dup() 88 len = m->rm_eo - m->rm_so; in regmatch_dup() 92 strncpy (str, src + m->rm_so, len); in regmatch_dup() 105 if (m == NULL || m->rm_so < 0) { in regmatch_cpy() 111 snprintf (dest, regmatch_len(m), "%s", src + m->rm_so); in regmatch_cpy() 121 if (m == NULL || m->rm_so < 0) { in regmatch_len() 125 return m->rm_eo - m->rm_so; in regmatch_len() 146 if (m == NULL || m->rm_so < 0) in regmatch_strtol() 169 return (m == NULL || m->rm_so < 0 || m->rm_so == m->rm_eo); in regmatch_empty()
|
/dports/net/mpich/mpich-3.4.3/src/pm/hydra/tools/bootstrap/external/ |
H A D | slurm_query_node_list.c | 132 gpattern[1] = gpattern[0] + gmatch[0][2].rm_so; in list_to_nodes() 141 rpattern = gpattern[1] + gmatch[1][2].rm_so; in list_to_nodes() 148 rpattern + rmatch[1].rm_so); in list_to_nodes() 151 rpattern + rmatch[2].rm_so); in list_to_nodes() 154 rpattern + rmatch[4].rm_so); in list_to_nodes() 170 epattern + ematch[1].rm_so); in list_to_nodes() 194 gpattern[0] + gmatch[0][2].rm_so); in list_to_nodes() 201 if (gmatch[0][3].rm_so == gmatch[0][3].rm_eo) { in list_to_nodes() 219 gpattern[1] = gpattern[0] + gmatch[0][3].rm_so; in list_to_nodes() 228 rpattern = gpattern[1] + gmatch[1][2].rm_so; in list_to_nodes() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 241 if (rm[3].rm_so != rm[3].rm_eo) { in arch_sdt_arg_parse_op() 242 if (rm[1].rm_so != rm[1].rm_eo) in arch_sdt_arg_parse_op() 243 prefix[0] = *(old_op + rm[1].rm_so); in arch_sdt_arg_parse_op() 244 else if (rm[2].rm_so != rm[2].rm_eo) in arch_sdt_arg_parse_op() 251 sdt_rename_register(old_op + rm[4].rm_so, rm[4].rm_eo - rm[4].rm_so, in arch_sdt_arg_parse_op() 256 (rm[2].rm_eo - rm[2].rm_so) + in arch_sdt_arg_parse_op() 257 (rm[3].rm_eo - rm[3].rm_so) + in arch_sdt_arg_parse_op() 259 (rm[5].rm_eo - rm[5].rm_so) + in arch_sdt_arg_parse_op() 268 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so, in arch_sdt_arg_parse_op() 269 (int)(rm[3].rm_eo - rm[3].rm_so), old_op + rm[3].rm_so, in arch_sdt_arg_parse_op() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 241 if (rm[3].rm_so != rm[3].rm_eo) { in arch_sdt_arg_parse_op() 242 if (rm[1].rm_so != rm[1].rm_eo) in arch_sdt_arg_parse_op() 243 prefix[0] = *(old_op + rm[1].rm_so); in arch_sdt_arg_parse_op() 244 else if (rm[2].rm_so != rm[2].rm_eo) in arch_sdt_arg_parse_op() 251 sdt_rename_register(old_op + rm[4].rm_so, rm[4].rm_eo - rm[4].rm_so, in arch_sdt_arg_parse_op() 256 (rm[2].rm_eo - rm[2].rm_so) + in arch_sdt_arg_parse_op() 257 (rm[3].rm_eo - rm[3].rm_so) + in arch_sdt_arg_parse_op() 259 (rm[5].rm_eo - rm[5].rm_so) + in arch_sdt_arg_parse_op() 268 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so, in arch_sdt_arg_parse_op() 269 (int)(rm[3].rm_eo - rm[3].rm_so), old_op + rm[3].rm_so, in arch_sdt_arg_parse_op() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/perf/arch/x86/util/ |
H A D | perf_regs.c | 241 if (rm[3].rm_so != rm[3].rm_eo) { in arch_sdt_arg_parse_op() 242 if (rm[1].rm_so != rm[1].rm_eo) in arch_sdt_arg_parse_op() 243 prefix[0] = *(old_op + rm[1].rm_so); in arch_sdt_arg_parse_op() 244 else if (rm[2].rm_so != rm[2].rm_eo) in arch_sdt_arg_parse_op() 251 sdt_rename_register(old_op + rm[4].rm_so, rm[4].rm_eo - rm[4].rm_so, in arch_sdt_arg_parse_op() 256 (rm[2].rm_eo - rm[2].rm_so) + in arch_sdt_arg_parse_op() 257 (rm[3].rm_eo - rm[3].rm_so) + in arch_sdt_arg_parse_op() 259 (rm[5].rm_eo - rm[5].rm_so) + in arch_sdt_arg_parse_op() 268 (int)(rm[2].rm_eo - rm[2].rm_so), old_op + rm[2].rm_so, in arch_sdt_arg_parse_op() 269 (int)(rm[3].rm_eo - rm[3].rm_so), old_op + rm[3].rm_so, in arch_sdt_arg_parse_op() [all …]
|
/dports/devel/aegis/aegis-4.25.D510/common/ |
H A D | regula_expre.cc | 102 if (regmatch[j].rm_so != -1) in matches() 104 trace(("regmatch[%d] = {%3d,%3d };\n", (int)j, regmatch[j].rm_so, in matches() 109 so = regmatch[0].rm_so; in matches() 148 if (regmatch[j].rm_so != -1) in match() 207 if (regmatch[0].rm_so) in match_and_substitute() 208 nsa.push_back(actual.c_str() + offset, regmatch[0].rm_so); in match_and_substitute() 224 actual.c_str() + offset + regmatch[0].rm_so, in match_and_substitute() 225 regmatch[0].rm_eo - regmatch[0].rm_so in match_and_substitute() 253 if (rm->rm_so < 0) in match_and_substitute() 266 actual.c_str() + offset + rm->rm_so, in match_and_substitute() [all …]
|
/dports/textproc/html-xml-utils/html-xml-utils-8.0/ |
H A D | url.c | 173 result->proto = pm[2].rm_so == -1 in URL_new() 175 result->user = pm[5].rm_so == -1 in URL_new() 176 ? NULL : newnstring(url + pm[5].rm_so, pm[5].rm_eo - pm[5].rm_so); in URL_new() 178 ? NULL : newnstring(url + pm[7].rm_so, pm[7].rm_eo - pm[7].rm_so); in URL_new() 180 ? newnstring(url + pm[9].rm_so, pm[9].rm_eo - pm[9].rm_so) in URL_new() 181 : pm[10].rm_so != -1 in URL_new() 182 ? newnstring(url + pm[10].rm_so, pm[10].rm_eo - pm[10].rm_so) in URL_new() 185 ? NULL : newnstring(url + pm[12].rm_so, pm[12].rm_eo - pm[12].rm_so); in URL_new() 187 ? NULL : newnstring(url + pm[13].rm_so, pm[13].rm_eo - pm[13].rm_so); in URL_new() 189 ? NULL : newnstring(url + pm[15].rm_so, pm[15].rm_eo - pm[15].rm_so); in URL_new() [all …]
|
/dports/net/sngrep/sngrep-1.4.9/src/ |
H A D | sip.c | 241 strncpy(callid, payload + pmatch[2].rm_so, (int) pmatch[2].rm_eo - pmatch[2].rm_so); in sip_get_callid() 254 …strncpy(xcallid, (const char *)payload + pmatch[2].rm_so, (int)pmatch[2].rm_eo - pmatch[2].rm_so); in sip_get_xcallid() 293 …strncpy(cl_header, (const char *)payload + pmatch[2].rm_so, (int)pmatch[2].rm_eo - pmatch[2].rm_s… in sip_validate_packet() 548 … sprintf(reqresp, "%.*s", (int) (pmatch[1].rm_eo - pmatch[1].rm_so), payload + pmatch[1].rm_so); in sip_get_msg_reqresp() 554 … sprintf(cseq, "%.*s", (int)(pmatch[1].rm_eo - pmatch[1].rm_so), payload + pmatch[1].rm_so); in sip_get_msg_reqresp() 564 … sprintf(resp_str, "%.*s", (int) (pmatch[1].rm_eo - pmatch[1].rm_so), payload + pmatch[1].rm_so); in sip_get_msg_reqresp() 569 … sprintf(reqresp, "%.*s", (int) (pmatch[2].rm_eo - pmatch[2].rm_so), payload + pmatch[2].rm_so); in sip_get_msg_reqresp() 616 …cpy(msg->sip_from, (const char *)payload + pmatch[2].rm_so, (int)pmatch[2].rm_eo - pmatch[2].rm_s… in sip_parse_msg_payload() 626 …rncpy(msg->sip_to, (const char *)payload + pmatch[2].rm_so, (int)pmatch[2].rm_eo - pmatch[2].rm_s… in sip_parse_msg_payload() 756 …->call->reasontxt, (const char *)payload + pmatch[1].rm_so, (int)pmatch[1].rm_eo - pmatch[1].rm_s… in sip_parse_extra_headers() [all …]
|
/dports/x11-toolkits/vte/vte-0.28.2/src/ |
H A D | vteregex.c | 38 if (B->rm_so != A->rm_so) { in compare_matches() 39 return B->rm_so - A->rm_so; in compare_matches() 102 matches[i].rm_so = -1; in _vte_regex_exec() 106 matches[i].rm_so = posix_matches[i].rm_so; in _vte_regex_exec() 108 if (matches[i].rm_so == -1) { in _vte_regex_exec()
|
/dports/print/cups/cups-2.3.3op2/vcnet/regex/ |
H A D | main.c | 92 subs[0].rm_so = startoff; 104 if (subs[0].rm_so != -1) { 107 argv[optind] + subs[0].rm_so); 110 argv[optind] + subs[0].rm_so); 113 if (subs[i].rm_so != -1) 116 argv[optind] + subs[i].rm_so); 424 if (sub.rm_so > sub.rm_eo || (sub.rm_so == -1 && sub.rm_eo != -1) || 426 (sub.rm_so != -1 && sub.rm_so < 0) || 436 if (sub.rm_so == -1) 446 len = (int)(sub.rm_eo - sub.rm_so); [all …]
|