Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/rtsp/
DASessionDescription.cpp101 ssize_t colonPos = line.find(":", 2); in parse() local
102 if (colonPos < 0) { in parse()
105 key.setTo(line, 0, colonPos); in parse()
109 ssize_t spacePos = line.find(" ", colonPos + 1); in parse()
116 colonPos = spacePos; in parse()
119 value.setTo(line, colonPos + 1, line.size() - colonPos - 1); in parse()
224 const char *colonPos = strrchr(key.c_str(), ':'); in getCvoExtMap() local
225 colonPos++; in getCvoExtMap()
226 *cvoExtMap = atoi(colonPos); in getCvoExtMap()
DAAMRAssembler.cpp38 const char *colonPos = strchr(s, ';'); in GetAttribute() local
41 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
52 if (colonPos == NULL) { in GetAttribute()
56 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.cpp52 const char *colonPos = strchr(s, ';'); in GetAttribute() local
55 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
62 if (colonPos == NULL) { in GetAttribute()
66 s = colonPos + 1; in GetAttribute()
/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/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.cpp572 size_t colonPos = arg.find(':'); in parse_args() local
573 if (colonPos == 0) { in parse_args()
579 } else if (colonPos == string::npos) { in parse_args()
582 target->name.assign(arg, 0, colonPos); in parse_args()
583 size_t beginPos = colonPos+1; in parse_args()
/frameworks/av/media/libstagefright/rtsp/include/media/stagefright/rtsp/
DMyHandler.h94 const char *colonPos = strchr(s, ';'); in GetAttribute() local
97 (colonPos == NULL) ? strlen(s) : colonPos - s; in GetAttribute()
104 if (colonPos == NULL) { in GetAttribute()
108 s = colonPos + 1; in GetAttribute()