Home
last modified time | relevance | path

Searched full:headers (Results 1 – 25 of 6356) sorted by relevance

12345678910>>...255

/external/antlr/runtime/ObjC/
DANTLR.framework.zip ... / ANTLR.framework/ANTLR ANTLR.framework/Headers ANTLR.framework/PkgInfo ANTLR.framework/Resources ...
/external/llvm-project/llvm/test/tools/llvm-rc/
Dtag-dialog.test166 ; RUN: llvm-rc /FO %t -- %p/Inputs/tag-dialog-headers.rc
167 ; RUN: llvm-readobj %t | FileCheck %s --check-prefix=HEADERS
169 ; HEADERS: Resource type (int): DIALOG (ID 5)
170 ; HEADERS-NEXT: Resource name (int): 1
171 ; HEADERS-NEXT: Data version: 0
172 ; HEADERS-NEXT: Memory flags: 0x1030
173 ; HEADERS-NEXT: Language ID: 1033
174 ; HEADERS-NEXT: Version (major): 0
175 ; HEADERS-NEXT: Version (minor): 0
176 ; HEADERS-NEXT: Characteristics: 0
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHeadersTest.java18 import com.squareup.okhttp.Headers;
45 Headers headers = response.headers(); in parseNameValueBlock() local
46 assertEquals(3, headers.size()); in parseNameValueBlock()
50 assertEquals("no-cache, no-store", headers.get("cache-control")); in parseNameValueBlock()
51 assertEquals("Cookie2", headers.get("set-cookie")); in parseNameValueBlock()
52 assertEquals("cache-control", headers.name(0)); in parseNameValueBlock()
53 assertEquals("no-cache, no-store", headers.value(0)); in parseNameValueBlock()
54 assertEquals("set-cookie", headers.name(1)); in parseNameValueBlock()
55 assertEquals("Cookie1", headers.value(1)); in parseNameValueBlock()
56 assertEquals("set-cookie", headers.name(2)); in parseNameValueBlock()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/
DTpm.vcxproj.filters619 <Filter>Headers</Filter>
622 <Filter>Headers</Filter>
625 <Filter>Headers</Filter>
628 <Filter>Headers</Filter>
631 <Filter>Headers</Filter>
634 <Filter>Headers</Filter>
637 <Filter>Headers</Filter>
640 <Filter>Headers</Filter>
643 <Filter>Headers</Filter>
646 <Filter>Headers</Filter>
[all …]
/external/oj-libjdwp/src/share/classes/com/sun/jdi/
DValue.java65 * <TD headers="primval kind"> a boolean</TD>
66 * <TD headers="primval example"> <CODE>true</CODE></TD>
67 * <TD headers="primval mirrored"> {@link BooleanValue}</TD>
68 * <TD headers="primval type"> {@link BooleanType}</TD>
70 * <TD headers="primval kind"> a byte</TD>
71 * <TD headers="primval example"> <CODE>(byte)4</CODE></TD>
72 * <TD headers="primval mirrored"> {@link ByteValue}</TD>
73 * <TD headers="primval type"> {@link ByteType}</TD>
75 * <TD headers="primval kind"> a char</TD>
76 * <TD headers="primval example"> <CODE>'a'</CODE></TD>
[all …]
DType.java56 * <TD headers="primtype declared" colspan=2><CODE>boolean</CODE></TD>
57 * <TD headers="primtype mirrored"> {@link BooleanType}</TD>
59 * <TD headers="primtype declared" colspan=2><CODE>byte</CODE></TD>
60 * <TD headers="primtype mirrored">{@link ByteType}</TD>
62 * <TD headers="primtype declared" colspan=2><CODE>char</CODE></TD>
63 * <TD headers="primtype mirrored">{@link CharType}</TD>
65 * <TD headers="primtype declared" colspan=2><CODE>double</CODE></TD>
66 * <TD headers="primtype mirrored">{@link DoubleType}</TD>
68 * <TD headers="primtype declared" colspan=2><CODE>float</CODE></TD>
69 * <TD headers="primtype mirrored">{@link FloatType}</TD>
[all …]
/external/llvm-project/llvm/test/tools/llvm-readobj/ELF/
Dfile-header-machine-types.test4 # RUN: llvm-readelf --file-headers %t.none.o | FileCheck %s -DMACHINE="None"
7 # RUN: llvm-readelf --file-headers %t.m32.o | FileCheck %s -DMACHINE="WE32100"
10 # RUN: llvm-readelf --file-headers %t.sparc.o | FileCheck %s -DMACHINE="Sparc"
13 # RUN: llvm-readelf --file-headers %t.386.o | FileCheck %s -DMACHINE="Intel 80386"
16 # RUN: llvm-readelf --file-headers %t.68k.o | FileCheck %s -DMACHINE="MC68000"
19 # RUN: llvm-readelf --file-headers %t.88k.o | FileCheck %s -DMACHINE="MC88000"
22 # RUN: llvm-readelf --file-headers %t.iamcu.o | FileCheck %s -DMACHINE="EM_IAMCU"
25 # RUN: llvm-readelf --file-headers %t.860.o | FileCheck %s -DMACHINE="Intel 80860"
28 # RUN: llvm-readelf --file-headers %t.mips.o | FileCheck %s -DMACHINE="MIPS R3000"
31 # RUN: llvm-readelf --file-headers %t.s370.o | FileCheck %s -DMACHINE="IBM System/370"
[all …]
Dheaders.test1 ## This is a test for --headers and its alias -e.
2 ## Specifying --headers is equivalent to setting --file-headers,
3 ## --program-headers and --section-headers at the same time.
5 ## that --headers triggers them.
10 # RUN: llvm-readelf --headers %t > %t.headers.gnu.txt
11 # RUN: FileCheck %s --input-file=%t.headers.gnu.txt --check-prefix=GNU
14 # GNU: Section Headers:
15 # GNU: Program Headers:
19 # RUN: cmp %t.headers.gnu.txt %t.e.gnu.txt
21 # RUN: llvm-readelf --file-headers --program-headers --section-headers %t > %t.all.gnu.txt
[all …]
Dfile-header-os-abi.test5 # RUN: llvm-readobj --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
6 # RUN: llvm-readelf --file-headers %t.osabi.none | FileCheck %s --match-full-lines --check-prefix=O…
21 # RUN: llvm-readobj --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
22 # RUN: llvm-readelf --file-headers %t.osabi.hpux | FileCheck %s --match-full-lines --check-prefix=O…
29 # RUN: llvm-readobj --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix…
30 # RUN: llvm-readelf --file-headers %t.osabi.netbsd | FileCheck %s --match-full-lines --check-prefix…
37 # RUN: llvm-readobj --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=…
38 # RUN: llvm-readelf --file-headers %t.osabi.linux | FileCheck %s --match-full-lines --check-prefix=…
45 # RUN: llvm-readobj --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O…
46 # RUN: llvm-readelf --file-headers %t.osabi.hurd | FileCheck %s --match-full-lines --check-prefix=O…
[all …]
/external/apache-http/src/org/apache/http/message/
DHeaderGroup.java43 * A class for combining a set of headers.
44 * This class allows for multiple headers with the same name and
45 * keeps track of the order in which headers were added.
58 /** The list of headers for this group, in the order in which they were added */
59 private List headers; field in HeaderGroup
65 this.headers = new ArrayList(16); in HeaderGroup()
69 * Removes any contained headers.
72 headers.clear(); in clear()
85 headers.add(header); in addHeader()
97 headers.remove(header); in removeHeader()
[all …]
/external/volley/src/test/java/com/android/volley/toolbox/
DHttpHeaderParserTest.java49 private Map<String, String> headers; field in HttpHeaderParserTest
53 headers = new HashMap<String, String>(); in setUp()
54 response = new NetworkResponse(0, null, headers, false); in setUp()
77 headers.put("MyCustomHeader", "42"); in parseCacheHeaders_headersSet()
89 headers.put("ETag", "Yow!"); in parseCacheHeaders_etag()
100 headers.put("Date", rfc1123Date(now)); in parseCacheHeaders_normalExpire()
101 headers.put("Last-Modified", rfc1123Date(now - ONE_DAY_MILLIS)); in parseCacheHeaders_normalExpire()
102 headers.put("Expires", rfc1123Date(now + ONE_HOUR_MILLIS)); in parseCacheHeaders_normalExpire()
117 headers.put("Date", rfc1123Date(now)); in parseCacheHeaders_expiresInPast()
118 headers.put("Expires", rfc1123Date(now - ONE_HOUR_MILLIS)); in parseCacheHeaders_expiresInPast()
[all …]
/external/python/oauth2client/oauth2client/
Dtransport.py70 def _initialize_headers(headers): argument
71 """Creates a copy of the headers.
74 headers: dict, request headers to copy.
77 dict, the copied headers or a new dictionary if the headers
80 return {} if headers is None else dict(headers)
83 def _apply_user_agent(headers, user_agent): argument
84 """Adds a user-agent to the headers.
87 headers: dict, request headers to add / modify user
92 dict, the original headers passed in, but modified if the
96 if 'user-agent' in headers:
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Delf-header-flags-mach.ll1 ; RUN: llc -filetype=obj -march=r600 -mcpu=r600 < %s | llvm-readobj -file-headers - | FileCheck --c…
2 ; RUN: llc -filetype=obj -march=r600 -mcpu=r630 < %s | llvm-readobj -file-headers - | FileCheck --c…
3 ; RUN: llc -filetype=obj -march=r600 -mcpu=rs880 < %s | llvm-readobj -file-headers - | FileCheck --…
4 ; RUN: llc -filetype=obj -march=r600 -mcpu=rv670 < %s | llvm-readobj -file-headers - | FileCheck --…
5 ; RUN: llc -filetype=obj -march=r600 -mcpu=rv710 < %s | llvm-readobj -file-headers - | FileCheck --…
6 ; RUN: llc -filetype=obj -march=r600 -mcpu=rv730 < %s | llvm-readobj -file-headers - | FileCheck --…
7 ; RUN: llc -filetype=obj -march=r600 -mcpu=rv770 < %s | llvm-readobj -file-headers - | FileCheck --…
8 ; RUN: llc -filetype=obj -march=r600 -mcpu=cedar < %s | llvm-readobj -file-headers - | FileCheck --…
9 ; RUN: llc -filetype=obj -march=r600 -mcpu=cypress < %s | llvm-readobj -file-headers - | FileCheck …
10 ; RUN: llc -filetype=obj -march=r600 -mcpu=juniper < %s | llvm-readobj -file-headers - | FileCheck …
[all …]
/external/llvm-project/libcxx/utils/
Dgenerate_feature_test_macro_components.py31 tc["headers"].append("version")
39 "headers": ["utility"],
43 "headers": ["utility"],
47 "headers": ["utility", "tuple"],
51 "headers": ["tuple"],
55 "headers": ["memory"],
59 "headers": ["functional"],
63 "headers": ["type_traits"],
67 "headers": ["type_traits"]
71 "headers": ["functional", "type_traits"]
[all …]
/external/volley/src/main/java/com/android/volley/
DNetworkResponse.java27 /** Data and headers returned from {@link Network#performRequest(Request)}. */
35 * @param headers Headers returned with this response, or null for none
39 * cannot handle server responses containing multiple headers with the same name. This
46 @Nullable Map<String, String> headers, in NetworkResponse() argument
49 this(statusCode, data, headers, toAllHeaderList(headers), notModified, networkTimeMs); in NetworkResponse()
59 * @param allHeaders All headers returned with this response, or null for none
75 * @param headers Headers returned with this response, or null for none
78 * cannot handle server responses containing multiple headers with the same name. This
85 @Nullable Map<String, String> headers, in NetworkResponse() argument
87 this(statusCode, data, headers, notModified, /* networkTimeMs= */ 0); in NetworkResponse()
[all …]
/external/icu/icu4c/source/test/hdrtst/
DMakefile.in46 …@FAIL=0;stub=ht_stub_$(NAME.headers).$(SUFFIX.headers); for file in "$(prefix)/include/unicode"/*.…
48 echo "$(NAME.headers) unicode/$$incfile" ; \
51 $(COMPILE.headers) $(cppflags) $(FLAGS.headers) $$stub || FAIL=1 ; \
58 NAME.headers=$@ \
59 COMPILE.headers="$(COMPILE.c)" \
60 SUFFIX.headers=c \
61 FLAGS.headers=
65 NAME.headers=$@ \
66 COMPILE.headers="$(COMPILE.cc)" \
67 SUFFIX.headers=cpp \
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DHttp2ClientStreamTransportStateTest.java77 Metadata headers = new Metadata(); in transportHeadersReceived_notifiesListener() local
78 headers.put(testStatusMashaller, "200"); in transportHeadersReceived_notifiesListener()
79 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_notifiesListener()
81 state.transportHeadersReceived(headers); in transportHeadersReceived_notifiesListener()
84 verify(mockListener).headersRead(headers); in transportHeadersReceived_notifiesListener()
91 Metadata headers = new Metadata(); in transportHeadersReceived_doesntRequire200() local
92 headers.put(testStatusMashaller, "500"); in transportHeadersReceived_doesntRequire200()
93 headers.put(Metadata.Key.of("content-type", Metadata.ASCII_STRING_MARSHALLER), in transportHeadersReceived_doesntRequire200()
95 state.transportHeadersReceived(headers); in transportHeadersReceived_doesntRequire200()
98 verify(mockListener).headersRead(headers); in transportHeadersReceived_doesntRequire200()
[all …]
/external/python/oauth2client/tests/
Dtest_transport.py64 headers = {'a': 1, 'b': 2}
65 result = transport._initialize_headers(headers)
66 self.assertEqual(result, headers)
67 self.assertIsNot(result, headers)
73 headers = object()
74 result = transport._apply_user_agent(headers, None)
75 self.assertIs(result, headers)
78 headers = {}
80 result = transport._apply_user_agent(headers, user_agent)
81 self.assertIs(result, headers)
[all …]
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DGrpcHttp2InboundHeadersTest.java43 Http2Headers headers = new GrpcHttp2RequestHeaders(1); in basicCorrectness() local
44 headers.add(of(":method"), of("POST")); in basicCorrectness()
45 headers.add(of("content-type"), of("application/grpc+proto")); in basicCorrectness()
46 headers.add(of(":path"), of("/google.pubsub.v2.PublisherService/CreateTopic")); in basicCorrectness()
47 headers.add(of(":scheme"), of("https")); in basicCorrectness()
48 headers.add(of("te"), of("trailers")); in basicCorrectness()
49 headers.add(of(":authority"), of("pubsub.googleapis.com")); in basicCorrectness()
50 headers.add(of("foo"), of("bar")); in basicCorrectness()
52 assertEquals(7, headers.size()); in basicCorrectness()
53 // Number of headers without the pseudo headers and 'te' header. in basicCorrectness()
[all …]
/external/llvm-project/lld/test/ELF/
Dpack-dyn-relocs.s50 // RUN: llvm-readobj -S --dynamic-table %t3.a32 | FileCheck --check-prefix=ANDROID32-HEADERS %s
53 // ANDROID32-HEADERS: Index: 1
54 // ANDROID32-HEADERS-NEXT: Name: .dynsym
56 // ANDROID32-HEADERS: Name: .rel.dyn
57 // ANDROID32-HEADERS-NEXT: Type: SHT_ANDROID_REL
58 // ANDROID32-HEADERS-NEXT: Flags [ (0x2)
59 // ANDROID32-HEADERS-NEXT: SHF_ALLOC (0x2)
60 // ANDROID32-HEADERS-NEXT: ]
61 // ANDROID32-HEADERS-NEXT: Address: [[ADDR:.*]]
62 // ANDROID32-HEADERS-NEXT: Offset: [[ADDR]]
[all …]
/external/llvm-project/llvm/test/tools/llvm-objcopy/ELF/
Dcross-arch-headers.test9 # RUN: llvm-readobj --file-headers %t.default.o | FileCheck %s --check-prefixes=CHECK,LE,DEFAULT,32
10 # RUN: llvm-readobj --file-headers %t.default.dwo | FileCheck %s --check-prefixes=CHECK,LE,DEFAULT,…
13 # RUN: llvm-readobj --file-headers %t.elf32_i386.o | FileCheck %s --check-prefixes=CHECK,LE,I386,32…
14 # RUN: llvm-readobj --file-headers %t.elf32_i386.dwo | FileCheck %s --check-prefixes=CHECK,LE,I386,…
17 # RUN: llvm-readobj --file-headers %t.elf32_i386_freebsd.o | FileCheck %s --check-prefixes=CHECK,LE…
18 # RUN: llvm-readobj --file-headers %t.elf32_i386_freebsd.dwo | FileCheck %s --check-prefixes=CHECK,…
21 # RUN: llvm-readobj --file-headers %t.elf32_iamcu.o | FileCheck %s --check-prefixes=CHECK,LE,IAMCU,…
22 # RUN: llvm-readobj --file-headers %t.elf32_iamcu.dwo | FileCheck %s --check-prefixes=CHECK,LE,IAMC…
25 # RUN: llvm-readobj --file-headers %t.elf32_littlearm.o | FileCheck %s --check-prefixes=CHECK,LE,AR…
26 # RUN: llvm-readobj --file-headers %t.elf32_littlearm.dwo | FileCheck %s --check-prefixes=CHECK,LE,…
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DRequest.java31 private final Headers headers; field in Request
42 this.headers = builder.headers.build(); in Request()
73 public Headers headers() { in headers() method in Request
74 return headers; in headers()
78 return headers.get(name); in header()
81 public List<String> headers(String name) { in headers() method in Request
82 return headers.values(name); in headers()
103 return result != null ? result : (cacheControl = CacheControl.parse(headers)); in cacheControl()
123 private Headers.Builder headers; field in Request.Builder
129 this.headers = new Headers.Builder(); in Builder()
[all …]
/external/llvm-project/llvm/test/tools/yaml2obj/ELF/
Dsection-headers.yaml7 # RUN: llvm-readelf --section-headers %t1 | FileCheck %s --check-prefix=NO-OP
9 # NO-OP: Section Headers:
47 # RUN: llvm-readelf --section-headers %t2 | FileCheck %s --check-prefix=REORDERED
49 # REORDERED: Section Headers:
101 # RUN: llvm-readelf --file-headers %t3.1 | FileCheck %s --check-prefix=NO-HEADERS-TRUE
103 # NO-HEADERS-TRUE: Start of section headers: 0 (bytes into file)
104 # NO-HEADERS-TRUE: Size of section headers: 64 (bytes)
105 # NO-HEADERS-TRUE: Number of section headers: 0
106 # NO-HEADERS-TRUE: Section header string table index: 0
122 # RUN: llvm-readelf --file-headers --sections %t3.2 | FileCheck %s --check-prefix=NO-HEADERS-FALSE
[all …]
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DOkHeaders.java6 import com.android.okhttp.Headers;
24 /** Headers and utilities for internal use by OkHttp.
67 return contentLength(request.headers()); in contentLength()
71 return contentLength(response.headers()); in contentLength()
74 public static long contentLength(Headers headers) { in contentLength() argument
75 return stringToLong(headers.get("Content-Length")); in contentLength()
93 public static Map<String, List<String>> toMultimap(Headers headers, String valueForNullKey) { in toMultimap() argument
95 for (int i = 0, size = headers.size(); i < size; i++) { in toMultimap()
96 String fieldName = headers.name(i); in toMultimap()
97 String value = headers.value(i); in toMultimap()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java5 import com.squareup.okhttp.Headers;
23 /** Headers and utilities for internal use by OkHttp. */
65 return contentLength(request.headers()); in contentLength()
69 return contentLength(response.headers()); in contentLength()
72 public static long contentLength(Headers headers) { in contentLength() argument
73 return stringToLong(headers.get("Content-Length")); in contentLength()
91 public static Map<String, List<String>> toMultimap(Headers headers, String valueForNullKey) { in toMultimap() argument
93 for (int i = 0, size = headers.size(); i < size; i++) { in toMultimap()
94 String fieldName = headers.name(i); in toMultimap()
95 String value = headers.value(i); in toMultimap()
[all …]

12345678910>>...255