/external/webkit/Source/WebCore/platform/network/qt/ |
QtMIMETypeSniffer.cpp | 34 m_isFinished = !m_sniffer.isValid() || sniff(); 42 bool QtMIMETypeSniffer::sniff() function in class:QtMIMETypeSniffer 48 const char* sniffedMimeType = m_sniffer.sniff(data.constData(), data.size()); 56 if (!sniff())
|
QtMIMETypeSniffer.h | 42 bool sniff();
|
/external/chromium/net/base/ |
mime_sniffer.h | 21 // Examine the URL and the mime_type and decide whether we should sniff a 26 // @return Returns true if we should sniff the mime type. 32 // @param content A buffer containing the bytes to sniff.
|
mime_sniffer.cc | 80 // compatibility if we don't sniff from application/octet stream at all. 187 // XML processing directive. Although this is not an HTML mime type, we sniff 303 // We adopt a strategy similar to that used by Mozilla to sniff HTML tags, 342 // XHTML -- we just want to sniff enough to make unit tests pass. 447 // There is no concensus about exactly how to sniff for binary content. 448 // * IE 7: Don't sniff for binary looking bytes, but trust the file extension. 449 // * Firefox 3.5: Sniff first 4096 bytes for a binary looking byte. 570 // We are willing to sniff the mime type for HTTP, HTTPS, and FTP 585 // We want to sniff application/octet-stream for 623 // Each sniff routine may unset this if it wasn't provided enough content [all...] |
mime_sniffer_unittest.cc | 308 // Don't sniff out of plain text. 330 // Don't sniff random XML as something different. 333 // Don't sniff random plain-text as something different. 353 // Don't sniff other HTML-looking bits as HTML. 370 // content.size() >= 1024 so the sniff is unambiguous. 386 // content.size() >= 1024 so the sniff is unambiguous.
|
/external/webkit/Source/WebCore/platform/network/ |
MIMESniffing.h | 25 // MIME type sniffing implementation based on http://tools.ietf.org/html/draft-abarth-mime-sniff-06 32 const char* sniff(const char* data, size_t size) const { return m_function ? m_function(data, size) : 0; } function in class:MIMESniffer
|
MIMESniffing.cpp | 26 // MIME type sniffing implementation based on http://tools.ietf.org/html/draft-abarth-mime-sniff-06 40 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-6 54 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-6 86 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-8 120 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-11 167 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-12 191 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-8 199 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-13 211 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-16 263 // http://tools.ietf.org/html/draft-abarth-mime-sniff-06#page-1 [all...] |
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_cfg.c | 144 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 149 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 154 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* sco close sniff */ 163 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 172 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* sco open sniff */ 201 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 206 {{BTA_DM_PM_SNIFF4, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 220 (BTA_DM_PM_SNIFF), /* allow sniff */ 225 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 239 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ [all...] |
bta_dm_pm.c | 170 /* Disable/Enable sniff policy on the SCO link if sco Up/Down. Will be removed in 2.2*/ 464 /* dont initiate SNIFF, if link_policy has it disabled */ 472 APPL_TRACE_DEBUG0("bta_dm_pm_set_mode: Link policy disallows SNIFF, ignore request"); 517 ** Description Switch to sniff mode. 520 ** Returns TRUE if sniff attempted, FALSE otherwise. 542 /* if the current mode is not sniff, issue the sniff command. 543 * If sniff, but SSR is not used in this link, still issue the command */ 566 /* else already in sniff and is using SSR, do nothing */ 761 /* if our sniff or park attempt faile [all...] |
bta_dm_int.h | 665 #define BTA_DM_DI_SET_SNIFF 0x01 /* set this bit if call BTM_SetPowerMode(sniff) */ 666 #define BTA_DM_DI_INT_SNIFF 0x02 /* set this bit if call BTM_SetPowerMode(sniff) & enter sniff mode */ 667 #define BTA_DM_DI_ACP_SNIFF 0x04 /* set this bit if peer init sniff */ 851 UINT16 policy_settings; /* link policy setting hold, sniff, park, MS switch */ 898 UINT8 allow_mask; /* mask of sniff/hold/park modes to allow */
|
/external/webkit/Source/WebKit/chromium/public/ |
WebURLLoaderOptions.h | 46 bool sniffContent; // Whether to sniff content.
|
/external/bluetooth/bluedroid/stack/btm/ |
btm_pm.c | 23 * park and sniff modes. 48 * it automatically uses single slot when entering SNIFF mode, but does not restore the setting 49 * This issue was found when A2DP link goes into sniff and existing sniff still has choppy audio. 60 #define BTM_PM_NUM_SET_MODES 3 /* only hold, sniff & park */ 823 /* Mode changed from Sniff to Active while SCO is open. */ 824 /* Packet types of active mode, not sniff mode, should be used for ACL when SCO is closed. */ 835 BTM_TRACE_DEBUG1("btm mode change to sniff; hci hdl 0x%x use single slot", 853 /* There might be any pending packets due to SNIFF or PENDING state */ 910 ** Description This function is called when an HCI sniff subrating event occurs [all...] |
btm_acl.c | 22 * operations such as hold and sniff modes, supported packet types. 621 /* Wake up the link if in sniff or park before attempting switch */ [all...] |
/external/chromium/webkit/glue/ |
site_isolation_metrics.cc | 68 // sniff, since we will have to wait for the payload to arrive. 165 // should only block them if we can verify that. To do so, we sniff 168 // Remember the response until we can sniff its contents.
|
/external/webkit/Source/WebKit/qt/tests/MIMESniffing/ |
tst_MIMESniffing.cpp | 58 const char* sniffedType = sniffer.sniff(data.constData(), data.size());
|
/frameworks/av/include/media/stagefright/ |
DataSource.h | 74 bool sniff(String8 *mimeType, float *confidence, sp<AMessage> *meta);
|
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
nfc_hal_dm_cfg.c | 115 0xFF, /* B2 sniff count lsb: number of lptd poll before switching to full power poll */ 116 0xFF, /* B3 sniff count msb */
|
/external/chromium/chrome/common/extensions/docs/static/ |
hosting.html | 84 <code>X-Content-Type-Options: no sniff</code>.
|
/frameworks/av/media/libstagefright/ |
MediaExtractor.cpp | 60 if (!source->sniff(&tmp, &confidence, &meta)) {
|
/system/bluetooth/data/ |
main.conf | 76 # a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
|
main.le.conf | 76 # a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
|
main.nonsmartphone.conf | 76 # a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
|
main.nonsmartphone.le.conf | 76 # a bitwise OR of role switch(0x0001), hold mode(0x0002), sniff mode(0x0004)
|
/external/bluetooth/bluedroid/stack/include/ |
hcimsgs.h | 342 /* Sniff Mode */ 357 /* Sniff Mode */ 359 HCI_API extern BOOLEAN btsnd_hcic_exit_sniff_mode(UINT16 handle); /* Exit Sniff Mode */ 452 /* Sniff Subrating */ 463 /* Sniff Subrating */ [all...] |
/external/webkit/Source/WebCore/platform/ |
PlatformKeyboardEvent.h | 241 in case someone (e.g. plugins) want to sniff it w/o waiting for a
|