Home
last modified time | relevance | path

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

/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.cc41 const string& in_str = flat_in(i); in Compute() local
43 str_size = in_str.size(); in Compute()
45 OP_REQUIRES(context, str_size == in_str.size(), in Compute()
49 i, " has size ", str_size, " != ", in_str.size())); in Compute()
/external/u-boot/common/
Dcli_hush.c328 struct in_str { struct
338 int (*get) (struct in_str *); argument
339 int (*peek) (struct in_str *); argument
421 static int static_get(struct in_str *i);
422 static int static_peek(struct in_str *i);
423 static int file_get(struct in_str *i);
424 static int file_peek(struct in_str *i);
426 static void setup_file_in_str(struct in_str *i, FILE *f);
428 static void setup_file_in_str(struct in_str *i);
430 static void setup_string_in_str(struct in_str *i, const char *s);
[all …]
/external/webrtc/talk/app/webrtc/
Dpeerconnection.cc145 bool GetServiceTypeAndHostnameFromUri(const std::string& in_str, in GetServiceTypeAndHostnameFromUri() argument
148 const std::string::size_type colonpos = in_str.find(':'); in GetServiceTypeAndHostnameFromUri()
150 LOG(LS_WARNING) << "Missing ':' in ICE URI: " << in_str; in GetServiceTypeAndHostnameFromUri()
153 if ((colonpos + 1) == in_str.length()) { in GetServiceTypeAndHostnameFromUri()
154 LOG(LS_WARNING) << "Empty hostname in ICE URI: " << in_str; in GetServiceTypeAndHostnameFromUri()
159 if (in_str.compare(0, colonpos, kValidIceServiceTypes[i]) == 0) { in GetServiceTypeAndHostnameFromUri()
167 *hostname = in_str.substr(colonpos + 1, std::string::npos); in GetServiceTypeAndHostnameFromUri()
171 bool ParsePort(const std::string& in_str, int* port) { in ParsePort() argument
173 for (const char& c : in_str) { in ParsePort()
178 return rtc::FromString(in_str, port); in ParsePort()
[all …]
/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.c370 void *in_str; in _PyIncrementalNewlineDecoder_decode() local
376 in_str = PyUnicode_DATA(output); in _PyIncrementalNewlineDecoder_decode()
387 only_lf = (memchr(in_str, '\r', kind * len) == NULL); in _PyIncrementalNewlineDecoder_decode()
395 memchr(in_str, '\n', kind * len) != NULL) { in _PyIncrementalNewlineDecoder_decode()
403 while (PyUnicode_READ(kind, in_str, i) > '\n') in _PyIncrementalNewlineDecoder_decode()
405 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
426 while (PyUnicode_READ(kind, in_str, i) > '\r') in _PyIncrementalNewlineDecoder_decode()
428 c = PyUnicode_READ(kind, in_str, i++); in _PyIncrementalNewlineDecoder_decode()
432 if (PyUnicode_READ(kind, in_str, i) == '\n') { in _PyIncrementalNewlineDecoder_decode()
450 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 ;