/dports/net/sems/sems-f89581a/core/ |
H A D | AmSipMsg.cpp | 18 if (hdr_name.empty()) in getHeader() 41 string res = getHeader(hdrs, hdr_name, single); in getHeader() 58 char* hdr = strdup(hdr_name.c_str()); in findHeader() 146 hdr_start -= hdr_name.length(); in removeHeader() 156 string options = getHeader(hdrs, hdr_name); in addOptionTag() 169 hdr_name.c_str(), hdrs.c_str()); in addOptionTag() 170 hdrs += hdr_name + COLSP + tag + CRLF; in addOptionTag() 178 hdrs += hdr_name + COLSP + tag + CRLF; in addOptionTag() 183 string options = getHeader(hdrs, hdr_name); in removeOptionTag() 206 removeHeader(hdrs, hdr_name); in removeOptionTag() [all …]
|
H A D | AmSipMsg.h | 110 string getHeader(const string& hdrs,const string& hdr_name, bool single = false); 112 string getHeader(const string& hdrs,const string& hdr_name, 119 bool findHeader(const string& hdrs,const string& hdr_name, const size_t skip, 124 bool hasHeader(const string& hdrs,const string& hdr_name); 126 bool removeHeader(string& hdrs, const string& hdr_name); 129 void addOptionTag(string& hdrs, const string& hdr_name, const string& tag); 132 void removeOptionTag(string& hdrs, const string& hdr_name, const string& tag);
|
/dports/mail/cvsmail/mailutils-2.2/ |
H A D | mail-strip.c | 94 char **pp, *line, *hdr_name; in strip_file() local 108 hdr_name = NULL; in strip_file() 115 free(hdr_name); in strip_file() 165 free(hdr_name); in strip_file() 166 hdr_name = malloc(i); in strip_file() 167 if (hdr_name == NULL) in strip_file() 175 hdr_name[i] = tolower(line[i]); in strip_file() 178 hdr_name[i] = '\0'; in strip_file() 193 keep = strncmp(hdr_name, "content-", 8) == 0; in strip_file() 198 diff = strcmp(hdr_name, *pp); in strip_file() [all …]
|
/dports/mail/dovecot/dovecot-2.3.17/src/lib-mail/ |
H A D | test-message-search.c | 31 const char *hdr_name; member 190 .hdr_name = "Subject", in test_message_search() 204 .hdr_name = "Subject", in test_message_search() 279 .hdr_name = "Content-Type", in test_message_search() 309 .hdr_name = "Subject", in test_message_search() 321 .hdr_name = "Content-Type", in test_message_search() 349 .hdr_name = "Subject", in test_message_search() 373 .hdr_name = "Content-Type", in test_message_search() 386 .hdr_name = "Content-Type", in test_message_search() 402 .hdr_name = "From", in test_message_search() [all …]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/engineio/async_drivers/ |
H A D | aiohttp.py | 49 for hdr_name, hdr_value in message.headers.items(): 50 hdr_name = hdr_name.upper() 51 if hdr_name == 'CONTENT-TYPE': 54 elif hdr_name == 'CONTENT-LENGTH': 58 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | sanic.py | 66 for hdr_name, hdr_value in request.headers.items(): 67 hdr_name = hdr_name.upper() 68 if hdr_name == 'CONTENT-TYPE': 71 elif hdr_name == 'CONTENT-LENGTH': 75 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | tornado.py | 106 for hdr_name, hdr_value in handler.request.headers.items(): 107 hdr_name = hdr_name.upper() 108 if hdr_name == 'CONTENT-TYPE': 111 elif hdr_name == 'CONTENT-LENGTH': 115 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | asgi.py | 172 for hdr_name, hdr_value in scope['headers']: 173 hdr_name = hdr_name.upper().decode('utf-8') 175 if hdr_name == 'CONTENT-TYPE': 178 elif hdr_name == 'CONTENT-LENGTH': 182 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
/dports/devel/py-python-engineio/python-engineio-3.14.2/engineio/async_drivers/ |
H A D | aiohttp.py | 50 for hdr_name, hdr_value in message.headers.items(): 51 hdr_name = hdr_name.upper() 52 if hdr_name == 'CONTENT-TYPE': 55 elif hdr_name == 'CONTENT-LENGTH': 59 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | sanic.py | 67 for hdr_name, hdr_value in request.headers.items(): 68 hdr_name = hdr_name.upper() 69 if hdr_name == 'CONTENT-TYPE': 72 elif hdr_name == 'CONTENT-LENGTH': 76 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | tornado.py | 108 for hdr_name, hdr_value in handler.request.headers.items(): 109 hdr_name = hdr_name.upper() 110 if hdr_name == 'CONTENT-TYPE': 113 elif hdr_name == 'CONTENT-LENGTH': 117 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
H A D | asgi.py | 171 for hdr_name, hdr_value in scope['headers']: 172 hdr_name = hdr_name.upper().decode('utf-8') 174 if hdr_name == 'CONTENT-TYPE': 177 elif hdr_name == 'CONTENT-LENGTH': 181 key = 'HTTP_%s' % hdr_name.replace('-', '_')
|
/dports/net/sems/sems-f89581a/apps/sbc/ |
H A D | HeaderFilter.cpp | 217 string hdr_name = hdrs.substr(start_pos, name_end-start_pos); in inplaceHeaderFilter() local 218 std::transform(hdr_name.begin(), hdr_name.end(), hdr_name.begin(), ::tolower); in inplaceHeaderFilter() 221 erase = headerfilter_list.find(hdr_name)==headerfilter_list.end(); in inplaceHeaderFilter() 223 erase = headerfilter_list.find(hdr_name)!=headerfilter_list.end(); in inplaceHeaderFilter() 226 DBG("erasing header '%s' by %s\n", hdr_name.c_str(), FilterType2String(f_type)); in inplaceHeaderFilter()
|
/dports/graphics/pfstools/pfstools-2.1.0/src/octave/ |
H A D | pfsview_list.m | 12 execStr = "pfswrite( hdr_name"; 19 hdr_name = tmpnam(); variable 22 xv = sprintf ("pfsview <%s", hdr_name); 23 rm = sprintf ("rm -f %s", hdr_name);
|
H A D | pfsview_rgb.m | 17 hdr_name = tmpnam(); variable 18 pfswrite( hdr_name, "X", X, "Y", Y, "Z", Z ); 20 rm = sprintf ("rm -f %s", hdr_name); 27 pfsv = sprintf ("pfsview %s <%s", minmax_window, hdr_name);
|
H A D | pfsview.m | 54 hdr_name = tmpnam(); variable 56 pfsout = pfsopen( hdr_name, height, width ); 64 xv = sprintf ("pfsview <%s", hdr_name); 65 rm = sprintf ("rm -f %s", hdr_name);
|
/dports/mail/p5-Mail-DKIM/Mail-DKIM-1.20200907/lib/Mail/DKIM/Canonicalization/ |
H A D | DkimCommon.pm | 59 foreach my $hdr_name (@sig_headers) { 60 $hdr_name = lc $hdr_name; 69 if ( $key eq $hdr_name ) {
|
/dports/graphics/opencollada/OpenCOLLADA-1.6.68/Externals/zziplib/src/ |
H A D | stat.c | 57 register char *hdr_name = hdr->d_name; in zzip_dir_stat() local 60 register char *n = strrchr(hdr_name, '/'); in zzip_dir_stat() 62 hdr_name = n + 1; in zzip_dir_stat() 65 if (! cmp(hdr_name, name)) in zzip_dir_stat()
|
/dports/devel/zziplib/zziplib-0.13.72/zzip/ |
H A D | stat.c | 56 register char *hdr_name = hdr->d_name; in zzip_dir_stat() local 59 register char *n = strrchr(hdr_name, '/'); in zzip_dir_stat() 61 hdr_name = n + 1; in zzip_dir_stat() 64 if (! cmp(hdr_name, name)) in zzip_dir_stat()
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/uac/ |
H A D | auth.c | 209 str hdr_name; in get_autenticate_hdr() local 214 hdr_name.s = WWW_AUTH_HDR; in get_autenticate_hdr() 215 hdr_name.len = WWW_AUTH_HDR_LEN; in get_autenticate_hdr() 217 hdr_name.s = PROXY_AUTH_HDR; in get_autenticate_hdr() 218 hdr_name.len = PROXY_AUTH_HDR_LEN; in get_autenticate_hdr() 226 hdr_name.len, hdr_name.s); in get_autenticate_hdr() 243 "auth hdr (%.*s)\n", hdr_name.len, hdr_name.s); in get_autenticate_hdr()
|
/dports/mail/masqmail/masqmail-0.3.5/src/ |
H A D | queue.c | 199 gchar *hdr_name = g_strdup_printf("%s/%s-H", conf.spool_dir, uid); in queue_delete() local 208 if (stat(hdr_name, &stat_buf) == 0) { in queue_delete() 209 if (unlink(hdr_name) != 0) { in queue_delete() 210 fprintf(stderr, "could not unlink %s: %s\n", hdr_name, strerror(errno)); in queue_delete() 214 fprintf(stderr, "could not stat file %s: %s\n", hdr_name, strerror(errno)); in queue_delete()
|
/dports/www/p5-Dancer2/Dancer2-0.301004/t/classes/Dancer2-Core-Role-StandardResponses/ |
H A D | with.t | 80 my ( $self, $hdr_name, $hdr_content ) = @_; 82 ::is( $hdr_name, 'Content-Type', 'Correct header name' ); 106 my ( $self, $hdr_name, $hdr_content ) = @_; 108 ::is( $hdr_name, 'Content-Type', 'Correct header name' );
|
/dports/security/mailzu/MailZu_0.8RC3/lib/pear/Mail/ |
H A D | mimeDecode.php | 426 $hdr_name = substr($value, 0, $pos = strpos($value, ':')); 432 'name' => $hdr_name, 780 foreach ($headers as $hdr_name => $hdr_value) { 783 if (is_array($headers[$hdr_name])) { 785 $output .= Mail_mimeDecode::_getXML_helper($hdr_name, $hdr_value[$i], $indent); 790 $output .= Mail_mimeDecode::_getXML_helper($hdr_name, $hdr_value, $indent); 817 function _getXML_helper($hdr_name, $hdr_value, $indent) argument 823 …$new_hdr_value = ($hdr_name != 'received') ? Mail_mimeDecode::_parseHeaderValue($hdr_value) : arra… 824 $new_hdr_name = str_replace(' ', '-', ucwords(str_replace('-', ' ', $hdr_name)));
|
/dports/www/py-gunicorn/gunicorn-19.9.0/gunicorn/http/ |
H A D | wsgi.py | 130 for hdr_name, hdr_value in req.headers: 131 if hdr_name == "EXPECT": 135 elif hdr_name == 'HOST': 137 elif hdr_name == "SCRIPT_NAME": 139 elif hdr_name == "CONTENT-TYPE": 142 elif hdr_name == "CONTENT-LENGTH": 146 key = 'HTTP_' + hdr_name.replace('-', '_')
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/tools/ |
H A D | img2srec.c | 241 char *hdr_name; in ConvertELF() local 299 if ((hdr_name = strrchr(fileName, '/')) == NULL) { in ConvertELF() 300 hdr_name = fileName; in ConvertELF() 302 ++hdr_name; in ConvertELF() 305 (void)BuildSRecord(srecLine, 0, 0, (uint8_t *)hdr_name, strlen(hdr_name)); in ConvertELF()
|