/external/chromium/net/base/ |
mime_sniffer.h | 26 // @param content_size The number of bytes in the |content| buffer. 31 bool SniffMimeType(const char* content, size_t content_size,
|
mime_sniffer.cc | 231 // pretend the length is content_size. 447 static bool SniffCRX(const char* content, size_t content_size, const GURL& url, 473 if (CheckForMagicNumbers(content, content_size, 530 bool SniffMimeType(const char* content, size_t content_size, 533 DCHECK_LT(content_size, 1000000U); // sanity check 540 // Flag for tracking whether our decision was limited by content_size. We 542 const bool have_enough_content = content_size >= kBytesRequiredForMagic; 545 if (content_size > kMaxBytesToSniff) 546 content_size = kMaxBytesToSniff; 556 if (SniffForHTML(content, content_size, result) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
ConnectionState.java | 76 protected int getFragmentSize(int content_size) { 77 return encCipher.getOutputSize(content_size+hash_size); 96 protected int getPaddingSize(int content_size) { 98 return (block_size - (content_size & mask));
|
/external/chromium/third_party/icu/source/test/intltest/ |
wbnf.cpp | 54 inline int content_size(){return current - start;} // size unit is byte function in class:Buffer_byte 60 int cs_snap = content_size(); 91 expand_to(content_size() + size) ; 124 int content_size(){return buf.content_size() / sizeof(type);}\ 155 int len = names.content_size(); 191 offset = name_buffer.content_size(); 211 int n = names.content_size(); 225 int s = refs.content_size(); 448 int s = weight_list->content_size(); [all...] |
/external/icu4c/test/intltest/ |
wbnf.cpp | 54 inline int content_size(){return current - start;} // size unit is byte function in class:Buffer_byte 60 int cs_snap = content_size(); 91 expand_to(content_size() + size) ; 124 int content_size(){return buf.content_size() / sizeof(type);}\ 155 int len = names.content_size(); 191 offset = name_buffer.content_size(); 211 int n = names.content_size(); 225 int s = refs.content_size(); 448 int s = weight_list->content_size(); [all...] |