Lines Matching refs:len
468 int len; in sapi_lsapi_send_headers() local
472 len = snprintf( headerBuf, SAPI_LSAPI_MAX_HEADER_LENGTH - 1, in sapi_lsapi_send_headers()
476 LSAPI_AppendRespHeader( headerBuf, len ); in sapi_lsapi_send_headers()
496 int len = strlen( message ); in sapi_lsapi_log_message() local
497 if ( *(message + len - 1 ) != '\n' ) in sapi_lsapi_log_message()
501 ++len; in sapi_lsapi_log_message()
503 LSAPI_Write_Stderr( message, len); in sapi_lsapi_log_message()
655 int len; in lsapi_execute_script() local
664 len = strlen( SG(request_info).path_translated ); in lsapi_execute_script()
665 if ( len > 45 ) in lsapi_execute_script()
666 len = len - 45; in lsapi_execute_script()
668 len = 0; in lsapi_execute_script()
669 memccpy( p, SG(request_info).path_translated + len, 0, 46 ); in lsapi_execute_script()
771 int len = (int)strlen(path); in pathlen_without_trailing_slash() local
772 while (len > 1 && /* mind "/" as root dir */ in pathlen_without_trailing_slash()
773 path[len-1] == DEFAULT_SLASH) in pathlen_without_trailing_slash()
775 --len; in pathlen_without_trailing_slash()
777 return len; in pathlen_without_trailing_slash()
1691 int len; in PHP_FUNCTION() local
1707 len = p - h->header; in PHP_FUNCTION()
1708 if (( p )&&( len > 0 )) { in PHP_FUNCTION()
1709 memmove( headerBuf, h->header, len ); in PHP_FUNCTION()
1710 while( len > 0 && (isspace( headerBuf[len-1])) ) { in PHP_FUNCTION()
1711 --len; in PHP_FUNCTION()
1713 headerBuf[len] = 0; in PHP_FUNCTION()
1714 if ( len ) { in PHP_FUNCTION()
1717 add_assoc_string_ex(return_value, headerBuf, len+1, p, 1); in PHP_FUNCTION()
1719 add_assoc_string_ex(return_value, headerBuf, len, p); in PHP_FUNCTION()