Home
last modified time | relevance | path

Searched refs:contentSubtype (Results 1 – 14 of 14) sorted by relevance

/external/syzkaller/vendor/google.golang.org/grpc/encoding/
Dencoding.go105 contentSubtype := strings.ToLower(codec.Name())
106 if contentSubtype == "" {
109 registeredCodecs[contentSubtype] = codec
116 func GetCodec(contentSubtype string) Codec {
117 return registeredCodecs[contentSubtype]
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dhandler_server.go59 contentSubtype, validContentType := contentSubtype(contentType)
76 contentSubtype: contentSubtype,
141 contentSubtype string member
348 contentSubtype: ht.contentSubtype,
Dhttp_util.go123 contentSubtype string member
173 func contentSubtype(contentType string) (string, bool) { func
193 func contentType(contentSubtype string) string {
194 if contentSubtype == "" {
197 return baseContentType + "+" + contentSubtype
285 contentSubtype, validContentType := contentSubtype(f.Value)
289 d.contentSubtype = contentSubtype
Dtransport.go208 contentSubtype string member
307 return s.contentSubtype
Dhttp2_server.go313 contentSubtype: state.contentSubtype,
729 …append(headerFields, hpack.HeaderField{Name: "content-type", Value: contentType(s.contentSubtype)})
767 …append(headerFields, hpack.HeaderField{Name: "content-type", Value: contentType(s.contentSubtype)})
Dhttp2_client.go325 contentSubtype: callHdr.ContentSubtype,
/external/syzkaller/vendor/google.golang.org/grpc/
Drpc_util.go163 contentSubtype string member
372 func CallContentSubtype(contentSubtype string) CallOption {
373 return ContentSubtypeCallOption{ContentSubtype: strings.ToLower(contentSubtype)}
384 c.contentSubtype = o.ContentSubtype
679 if c.contentSubtype == "" {
686 c.codec = encoding.GetCodec(c.contentSubtype)
688 …eturn status.Errorf(codes.Internal, "no codec registered for content-subtype %s", c.contentSubtype)
Dserver.go1422 func (s *Server) getCodec(contentSubtype string) baseCodec {
1426 if contentSubtype == "" {
1429 codec := encoding.GetCodec(contentSubtype)
Dstream.go188 ContentSubtype: c.contentSubtype,
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/internal/ws/
DRealWebSocket.java115 String contentSubtype = contentType.subtype(); in sendMessage() local
118 if (WebSocket.TEXT.subtype().equals(contentSubtype)) { in sendMessage()
120 } else if (WebSocket.BINARY.subtype().equals(contentSubtype)) { in sendMessage()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java86 public ContentType(String contentType, String contentSubtype) { in ContentType() argument
88 this.setContentType(contentType, contentSubtype); in ContentType()
/external/nist-sip/java/gov/nist/javax/sip/message/
DMultipartMimeContentImpl.java155 public Content getContentByType(String contentType, String contentSubtype) { in getContentByType() argument
162 contentSubtype)) { in getContentByType()
DMessageFactoryExt.java63 String[] contentSubtype, in createMultipartMimeContent() argument
DMessageFactoryImpl.java833 String[] contentSubtype, in createMultipartMimeContent() argument
838 ContentTypeHeader cth = new ContentType(contentType[i],contentSubtype[i]); in createMultipartMimeContent()