Home
last modified time | relevance | path

Searched refs:colonPos (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp757 ssize_t colonPos = line.find(":"); in parseMetaData() local
759 if (colonPos < 0) { in parseMetaData()
764 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); in parseMetaData()
781 ssize_t colonPos = line.find(":"); in parseMetaDataDuration() local
783 if (colonPos < 0) { in parseMetaDataDuration()
788 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); in parseMetaDataDuration()
827 ssize_t colonPos = line.find(":"); in parseStreamInf() local
829 if (colonPos < 0) { in parseStreamInf()
833 size_t offset = colonPos + 1; in parseStreamInf()
940 ssize_t colonPos = line.find(":"); in parseCipherInfo() local
[all …]
/frameworks/av/media/libstagefright/rtsp/
DASessionDescription.cpp99 ssize_t colonPos = line.find(":", 2); in parse() local
100 if (colonPos < 0) { in parse()
103 key.setTo(line, 0, colonPos); in parse()
107 ssize_t spacePos = line.find(" ", colonPos + 1); in parse()
114 colonPos = spacePos; in parse()
117 value.setTo(line, colonPos + 1, line.size() - colonPos - 1); in parse()
DAAMRAssembler.cpp39 const char *colonPos = strchr(s, ';'); in GetAttribute() local
42 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
53 if (colonPos == NULL) { in GetAttribute()
57 s = colonPos + 1; in GetAttribute()
DARTSPConnection.cpp165 ssize_t colonPos = userPass.find(":"); in ParseURL() local
167 if (colonPos < 0) { in ParseURL()
170 user->setTo(userPass, 0, colonPos); in ParseURL()
171 pass->setTo(userPass, colonPos + 1, userPass.size() - colonPos - 1); in ParseURL()
175 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL() local
177 if (colonPos != NULL) { in ParseURL()
179 if (!ParseSingleUnsignedLong(colonPos + 1, &x) || x >= 65536) { in ParseURL()
185 size_t colonOffset = colonPos - host->c_str(); in ParseURL()
701 ssize_t colonPos = line.find(":"); in receiveRTSPReponse() local
702 if (colonPos < 0) { in receiveRTSPReponse()
[all …]
DAMPEG4ElementaryAssembler.cpp48 const char *colonPos = strchr(s, ';'); in GetAttribute() local
51 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
59 if (colonPos == NULL) { in GetAttribute()
63 s = colonPos + 1; in GetAttribute()
DAMPEG4AudioAssembler.cpp45 const char *colonPos = strchr(s, ';'); in GetAttribute() local
48 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
55 if (colonPos == NULL) { in GetAttribute()
59 s = colonPos + 1; in GetAttribute()
DAPacketSource.cpp53 const char *colonPos = strchr(s, ';'); in GetAttribute() local
56 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
63 if (colonPos == NULL) { in GetAttribute()
67 s = colonPos + 1; in GetAttribute()
DMyTransmitter.h59 const char *colonPos = strchr(s, ';'); in GetAttribute() local
62 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
69 if (colonPos == NULL) { in GetAttribute()
73 s = colonPos + 1; in GetAttribute()
DMyHandler.h93 const char *colonPos = strchr(s, ';'); in GetAttribute() local
96 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
103 if (colonPos == NULL) { in GetAttribute()
107 s = colonPos + 1; in GetAttribute()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java147 int colonPos = pair.indexOf(":"); in convertHeaderStringToMap() local
148 if (colonPos >= 0) { in convertHeaderStringToMap()
149 String key = pair.substring(0, colonPos); in convertHeaderStringToMap()
150 String val = pair.substring(colonPos + 1); in convertHeaderStringToMap()
/frameworks/base/tools/bit/
Dmain.cpp536 size_t colonPos = arg.find(':'); in parse_args() local
537 if (colonPos == 0) { in parse_args()
543 } else if (colonPos == string::npos) { in parse_args()
546 target->name.assign(arg, 0, colonPos); in parse_args()
547 size_t beginPos = colonPos+1; in parse_args()