Home
last modified time | relevance | path

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

/external/webrtc/pc/
Dice_server_parsing.cc56 static bool GetServiceTypeAndHostnameFromUri(const std::string& in_str, in GetServiceTypeAndHostnameFromUri() argument
59 const std::string::size_type colonpos = in_str.find(':'); in GetServiceTypeAndHostnameFromUri()
61 RTC_LOG(LS_WARNING) << "Missing ':' in ICE URI: " << in_str; in GetServiceTypeAndHostnameFromUri()
64 if ((colonpos + 1) == in_str.length()) { in GetServiceTypeAndHostnameFromUri()
65 RTC_LOG(LS_WARNING) << "Empty hostname in ICE URI: " << in_str; in GetServiceTypeAndHostnameFromUri()
70 if (in_str.compare(0, colonpos, kValidIceServiceTypes[i]) == 0) { in GetServiceTypeAndHostnameFromUri()
78 *hostname = in_str.substr(colonpos + 1, std::string::npos); in GetServiceTypeAndHostnameFromUri()
82 static bool ParsePort(const std::string& in_str, int* port) { in ParsePort() argument
84 for (const char& c : in_str) { in ParsePort()
89 return rtc::FromString(in_str, port); in ParsePort()
[all …]
/external/rust/crates/shlex/src/
Dlib.rs34 pub fn new(in_str: &'a str) -> Self { in new()
36 in_iter: in_str.bytes(), in new()
142 pub fn split(in_str: &str) -> Option<Vec<String>> { in split()
143 let mut shl = Shlex::new(in_str); in split()
149 pub fn quote(in_str: &str) -> Cow<str> { in quote()
150 if in_str.len() == 0 { in quote()
152 } else if in_str.bytes().any(|c| match c as char { in quote()
159 for c in in_str.bytes() { in quote()
169 in_str.into() in quote()
/external/zstd/tests/gzip/
Dmixed.sh47 in_str=0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-+=%
48 for i in 0 1 2 3 4 5 6 7 8 9 a; do in_str="$in_str$in_str" ;done
63 printf %$i.${i}s $in_str > in
/external/e2fsprogs/lib/support/
Dparse_qtype.c17 int parse_quota_types(const char *in_str, unsigned int *qtype_bits, in parse_quota_types() argument
24 if (!in_str) in parse_quota_types()
27 len = strlen(in_str); in parse_quota_types()
31 strcpy(buf, in_str); in parse_quota_types()
Dquotaio.h239 int parse_quota_types(const char *in_str, unsigned int *qtype_bits,
/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser.py151 def parse_tensor_name_with_slicing(in_str): argument
164 if in_str.count("[") == 1 and in_str.endswith("]"):
165 tensor_name = in_str[:in_str.index("[")]
166 tensor_slicing = in_str[in_str.index("["):]
168 tensor_name = in_str
/external/tensorflow/tensorflow/core/kernels/
Ddecode_raw_op.cc46 const tstring& in_str = flat_in(i); in Compute() local
48 str_size = in_str.size(); in Compute()
50 OP_REQUIRES(context, str_size == in_str.size(), in Compute()
54 i, " has size ", str_size, " != ", in_str.size())); in Compute()
/external/libchrome/base/json/
Dstring_escape_unittest.cc33 std::string in_str = in_ptr; in TEST() local
41 bool convert_ok = EscapeJSONString(in_str, false, &out); in TEST()
46 std::string fooout = GetQuotedJSONString(in_str); in TEST()
/external/python/cpython3/Modules/_io/
Dtextio.c372 const void *in_str; in _PyIncrementalNewlineDecoder_decode() local
378 in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode()
389 only_lf = (memchr(in_str, '\r', kind * len) == NULL); in _PyIncrementalNewlineDecoder_decode()
397 memchr(in_str, '\n', kind * len) != NULL) { in _PyIncrementalNewlineDecoder_decode()
405 while (PyUnicode_READ(kind, in_str, i) > '\n') in _PyIncrementalNewlineDecoder_decode()
407 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
428 while (PyUnicode_READ(kind, in_str, i) > '\r') in _PyIncrementalNewlineDecoder_decode()
430 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
434 if (PyUnicode_READ(kind, in_str, i) == '\n') { in _PyIncrementalNewlineDecoder_decode()
452 const void *in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode() local
[all …]
/external/python/cpython2/Modules/_io/
Dtextio.c329 Py_UNICODE *in_str; in _PyIncrementalNewlineDecoder_decode() local
334 in_str = PyUnicode_AS_UNICODE(output); in _PyIncrementalNewlineDecoder_decode()
344 only_lf = (memchr(in_str, '\r', len * sizeof(Py_UNICODE)) == NULL); in _PyIncrementalNewlineDecoder_decode()
352 memchr(in_str, '\n', len * sizeof(Py_UNICODE)) != NULL) { in _PyIncrementalNewlineDecoder_decode()
354 s = in_str; in _PyIncrementalNewlineDecoder_decode()
355 end = in_str + len; in _PyIncrementalNewlineDecoder_decode()
378 s = in_str; in _PyIncrementalNewlineDecoder_decode()
379 end = in_str + len; in _PyIncrementalNewlineDecoder_decode()
425 in = in_str; in _PyIncrementalNewlineDecoder_decode()
427 end = in_str + len; in _PyIncrementalNewlineDecoder_decode()
/external/toybox/kconfig/
Dlex.zconf.c_shipped2118 * @param in_str A readable stream.
2122 void zconfset_in (FILE * in_str )
2124 zconfin = in_str ;