Home
last modified time | relevance | path

Searched refs:str_length (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstructurally_valid.cc360 int str_length, in UTF8GenericScan() argument
363 if (str_length == 0) return kExitOK; in UTF8GenericScan()
368 const uint8* srclimit = isrc + str_length; in UTF8GenericScan()
470 int str_length, in UTF8GenericScanFastAscii() argument
473 if (str_length == 0) return kExitOK; in UTF8GenericScanFastAscii()
477 const uint8* srclimit = isrc + str_length; in UTF8GenericScanFastAscii()
500 exit_reason = UTF8GenericScan(st, str + n, str_length - n, &rest_consumed); in UTF8GenericScanFastAscii()
Dstrutil.cc97 int str_length = str->length(); in StripWhitespace() local
101 while (first < str_length && ascii_isspace(str->at(first))) { in StripWhitespace()
105 if (first == str_length) { in StripWhitespace()
111 str_length -= first; in StripWhitespace()
115 int last = str_length - 1; in StripWhitespace()
119 if (last != (str_length - 1) && last >= 0) { in StripWhitespace()