Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp139 ssize_t colonPos = line.find(":"); in parse() local
140 if (colonPos >= 0) { in parse()
141 AString key(line, 0, colonPos); in parse()
145 line.erase(0, colonPos + 1); in parse()
263 const char *colonPos = strchr(s, ';'); in GetAttribute() local
266 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
273 if (colonPos == NULL) { in GetAttribute()
277 s = colonPos + 1; in GetAttribute()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp746 ssize_t colonPos = line.find(":"); in parseMetaData() local
748 if (colonPos < 0) { in parseMetaData()
753 status_t err = ParseInt32(line.c_str() + colonPos + 1, &x); in parseMetaData()
770 ssize_t colonPos = line.find(":"); in parseMetaDataDuration() local
772 if (colonPos < 0) { in parseMetaDataDuration()
777 status_t err = ParseDouble(line.c_str() + colonPos + 1, &x); in parseMetaDataDuration()
816 ssize_t colonPos = line.find(":"); in parseStreamInf() local
818 if (colonPos < 0) { in parseStreamInf()
822 size_t offset = colonPos + 1; in parseStreamInf()
929 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.cpp163 ssize_t colonPos = userPass.find(":"); in ParseURL() local
165 if (colonPos < 0) { in ParseURL()
168 user->setTo(userPass, 0, colonPos); in ParseURL()
169 pass->setTo(userPass, colonPos + 1, userPass.size() - colonPos - 1); in ParseURL()
173 const char *colonPos = strchr(host->c_str(), ':'); in ParseURL() local
175 if (colonPos != NULL) { in ParseURL()
177 if (!ParseSingleUnsignedLong(colonPos + 1, &x) || x >= 65536) { in ParseURL()
183 size_t colonOffset = colonPos - host->c_str(); in ParseURL()
698 ssize_t colonPos = line.find(":"); in receiveRTSPReponse() local
699 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.cpp54 const char *colonPos = strchr(s, ';'); in GetAttribute() local
57 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
64 if (colonPos == NULL) { in GetAttribute()
68 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.h85 const char *colonPos = strchr(s, ';'); in GetAttribute() local
88 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
95 if (colonPos == NULL) { in GetAttribute()
99 s = colonPos + 1; in GetAttribute()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java116 int colonPos = pair.indexOf(":"); in convertHeaderStringToMap() local
117 if (colonPos >= 0) { in convertHeaderStringToMap()
118 String key = pair.substring(0, colonPos); in convertHeaderStringToMap()
119 String val = pair.substring(colonPos + 1); in convertHeaderStringToMap()
/frameworks/base/tools/bit/
Dmain.cpp488 size_t colonPos = arg.find(':'); in parse_args() local
489 if (colonPos == 0) { in parse_args()
495 } else if (colonPos == string::npos) { in parse_args()
498 target->name.assign(arg, 0, colonPos); in parse_args()
499 size_t beginPos = colonPos+1; in parse_args()
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.cpp151 ssize_t colonPos = iface.find(":"); in onMessageReceived() local
155 if (colonPos >= 0) { in onMessageReceived()
156 const char *s = iface.c_str() + colonPos + 1; in onMessageReceived()
164 iface.erase(colonPos, iface.size() - colonPos); in onMessageReceived()
/frameworks/rs/rsov/driver/
DrsovScript.cpp198 const size_t colonPos = offsetStr.find(':'); in RSoVScript() local
199 splitOffsets(offsetStr.substr(colonPos + 1), ';', &mExportedVarOffsets); in RSoVScript()