/external/chromium_org/content/test/data/ |
content-sniffer-test0.html | 3 <body>We should sniff this content as HTML.</body>
|
nosniff-test.html | 3 <body>We should NOT sniff this content as HTML.</body>
|
content-sniffer-test1.html | 3 <body>We should not sniff this content as HTML.</body>
|
content-sniffer-test2.html | 3 <body>We should not sniff this as HTML as server says its a GIF.</body>
|
/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/chromium_org/net/base/ |
mime_sniffer.h | 22 // Examine the URL and the mime_type and decide whether we should sniff a 27 // @return Returns true if we should sniff the mime type. 34 // @param content A buffer containing the bytes to sniff. 52 // @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. 269 // XML processing directive. Although this is not an HTML mime type, we sniff 407 // We adopt a strategy similar to that used by Mozilla to sniff HTML tags, 574 // XHTML -- we just want to sniff enough to make unit tests pass. 680 // There is no concensus about exactly how to sniff for binary content. 681 // * IE 7: Don't sniff for binary looking bytes, but trust the file extension. 682 // * Firefox 3.5: Sniff first 4096 bytes for a binary looking byte. 824 // We want to sniff application/octet-stream for [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. 357 // Don't sniff other HTML-looking bits as HTML. 374 // content.size() >= 1024 so the sniff is unambiguous. 390 // content.size() >= 1024 so the sniff is unambiguous.
|
/external/bluetooth/bluedroid/bta/dm/ |
bta_dm_cfg.c | 164 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 169 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 174 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* sco close sniff */ 183 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 192 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* sco open sniff */ 221 (BTA_DM_PM_SNIFF | BTA_DM_PM_PARK), /* allow park & sniff */ 226 {{BTA_DM_PM_SNIFF4, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 240 (BTA_DM_PM_SNIFF), /* allow sniff */ 245 {{BTA_DM_PM_SNIFF, 5000}, {BTA_DM_PM_NO_ACTION, 0}}, /* conn open sniff */ 259 (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 | 667 #define BTA_DM_DI_SET_SNIFF 0x01 /* set this bit if call BTM_SetPowerMode(sniff) */ 668 #define BTA_DM_DI_INT_SNIFF 0x02 /* set this bit if call BTM_SetPowerMode(sniff) & enter sniff mode */ 669 #define BTA_DM_DI_ACP_SNIFF 0x04 /* set this bit if peer init sniff */ 855 UINT16 policy_settings; /* link policy setting hold, sniff, park, MS switch */ 899 UINT8 allow_mask; /* mask of sniff/hold/park modes to allow */
|
/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. 671 /* 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/chromium_org/chrome_frame/ |
bho.h | 103 // us to sniff the META tag by simply patching it. The renderer
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebURLLoaderOptions.h | 54 bool sniffContent; // Whether to sniff content.
|
/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)) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_csv.py | [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_csv.py | [all...] |
/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...] |