Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/tensorflow/tensorflow/contrib/quantize/python/
Dquantize_parameterized_test.py72 delim = '/' if conv_scope else ''
77 conv_scope + delim + 'weights_quant/' + quantization_node_name)
83 conv_scope + delim +
85 conv_scope + delim +
89 expected_inputs.append(conv_scope + delim + 'depthwise/ReadVariableOp')
91 expected_inputs.append(conv_scope + delim + layer + '/ReadVariableOp')
94 conv_scope + delim + 'weights_quant/AssignMinLast',
95 conv_scope + delim + 'weights_quant/AssignMaxLast',
98 expected_inputs.append(conv_scope + delim + 'depthwise_weights/read')
100 expected_inputs.append(conv_scope + delim + 'weights/read')
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DStringTokenizer.java117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument
119 this(str, delim, returndelims, false); in StringTokenizer()
145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
149 if (delim == null) { in StringTokenizer()
153 m_delimiters_ = delim; in StringTokenizer()
180 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument
182 this(str, delim, false, false); in StringTokenizer()
199 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument
201 this(str, delim, returndelims, false); // java default behavior in StringTokenizer()
227 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTokenizer.java117 public StringTokenizer(String str, UnicodeSet delim, boolean returndelims) in StringTokenizer() argument
119 this(str, delim, returndelims, false); in StringTokenizer()
145 … public StringTokenizer(String str, UnicodeSet delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
149 if (delim == null) { in StringTokenizer()
153 m_delimiters_ = delim; in StringTokenizer()
181 public StringTokenizer(String str, UnicodeSet delim) in StringTokenizer() argument
183 this(str, delim, false, false); in StringTokenizer()
201 public StringTokenizer(String str, String delim, boolean returndelims) in StringTokenizer() argument
203 this(str, delim, returndelims, false); // java default behavior in StringTokenizer()
229 public StringTokenizer(String str, String delim, boolean returndelims, boolean coalescedelims) in StringTokenizer() argument
[all …]
/external/iproute2/lib/
Dfs.c104 char *dir, *delim; in make_path() local
107 delim = dir = strdup(path); in make_path()
114 if (*delim == '/') in make_path()
115 delim++; in make_path()
118 delim = strchr(delim, '/'); in make_path()
119 if (delim) in make_path()
120 *delim = '\0'; in make_path()
129 if (delim == NULL) in make_path()
132 *delim = '/'; in make_path()
133 delim++; in make_path()
[all …]
/external/iptables/extensions/
Dlibebt_limit.c52 const char *delim; in parse_rate() local
56 delim = strchr(rate, '/'); in parse_rate()
57 if (delim) { in parse_rate()
58 if (strlen(delim+1) == 0) in parse_rate()
61 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate()
63 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate()
65 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate()
67 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
Dlibxt_limit.c46 const char *delim; in parse_rate() local
50 delim = strchr(rate, '/'); in parse_rate()
51 if (delim) { in parse_rate()
52 if (strlen(delim+1) == 0) in parse_rate()
55 if (strncasecmp(delim+1, "second", strlen(delim+1)) == 0) in parse_rate()
57 else if (strncasecmp(delim+1, "minute", strlen(delim+1)) == 0) in parse_rate()
59 else if (strncasecmp(delim+1, "hour", strlen(delim+1)) == 0) in parse_rate()
61 else if (strncasecmp(delim+1, "day", strlen(delim+1)) == 0) in parse_rate()
/external/python/cpython2/Modules/
Dgetpath.c252 char *delim; in search_for_prefix() local
254 delim = strchr(prefix, DELIM); in search_for_prefix()
255 if (delim) in search_for_prefix()
256 *delim = '\0'; in search_for_prefix()
310 char *delim; in search_for_exec_prefix() local
311 delim = strchr(home, DELIM); in search_for_exec_prefix()
312 if (delim) in search_for_exec_prefix()
313 strncpy(exec_prefix, delim+1, MAXPATHLEN); in search_for_exec_prefix()
419 char *delim = strchr(path, DELIM); in calculate_path() local
421 if (delim) { in calculate_path()
[all …]
/external/libcxx/test/std/strings/string.view/string.view.nonmem/
Dquoted.pass.cpp58 void round_trip_d ( const char *p, char delim ) { in round_trip_d() argument
62 ss << std::quoted(sv, delim); in round_trip_d()
64 ss >> std::quoted(s, delim); in round_trip_d()
80 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument
82 ss << std::quoted(p, delim, escape); in quote()
88 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument
92 ss >> std::quoted(s, delim, escape); in unquote()
123 void round_trip_d ( const wchar_t *p, wchar_t delim ) { in round_trip_d() argument
127 ss << std::quoted(sv, delim); in round_trip_d()
129 ss >> std::quoted(s, delim); in round_trip_d()
[all …]
/external/python/cpython3/Lib/
Dcsv.py256 delim = max(delims, key=delims.get)
257 skipinitialspace = delims[delim] == spaces
258 if delim == '\n': # most likely a file with a single column
259 delim = ''
262 delim = ''
269 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE)
278 return (quotechar, doublequote, delim, skipinitialspace)
353 delim = list(delims.keys())[0]
354 skipinitialspace = (data[0].count(delim) ==
355 data[0].count("%c " % delim))
[all …]
/external/python/cpython2/Lib/
Dcsv.py256 delim = reduce(lambda a, b, delims = delims:
258 skipinitialspace = delims[delim] == spaces
259 if delim == '\n': # most likely a file with a single column
260 delim = ''
263 delim = ''
270 {'delim':re.escape(delim), 'quote':quotechar}, re.MULTILINE)
279 return (quotechar, doublequote, delim, skipinitialspace)
356 delim = delims.keys()[0]
357 skipinitialspace = (data[0].count(delim) ==
358 data[0].count("%c " % delim))
[all …]
/external/selinux/mcstrans/src/
Dmls_level.c7 char delim; in mls_level_from_string() local
22 delim = *p; in mls_level_from_string()
23 if (delim != 0) in mls_level_from_string()
30 if (delim == ':') { in mls_level_from_string()
36 delim = *p; in mls_level_from_string()
37 if (delim != 0) in mls_level_from_string()
65 if (delim != ',') in mls_level_from_string()
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dcgroup_util.c168 const char delim[] = "\n\t "; in cg_find_unified_root() local
177 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
178 mount = strtok(NULL, delim); in cg_find_unified_root()
179 type = strtok(NULL, delim); in cg_find_unified_root()
180 strtok(NULL, delim); in cg_find_unified_root()
181 strtok(NULL, delim); in cg_find_unified_root()
182 strtok(NULL, delim); in cg_find_unified_root()
339 const char delim[] = "\n"; in is_swap_enabled() local
346 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in is_swap_enabled()
/external/jline/src/src/main/java/jline/
DArgumentCompletor.java57 final ArgumentDelimiter delim; field in ArgumentCompletor
100 final ArgumentDelimiter delim) { in ArgumentCompletor() argument
103 }, delim); in ArgumentCompletor()
114 final ArgumentDelimiter delim) { in ArgumentCompletor() argument
116 this.delim = delim; in ArgumentCompletor()
137 ArgumentList list = delim.delimit(buffer, cursor); in complete()
191 if ((cursor != buffer.length()) && delim.isDelimiter(buffer, cursor)) { in complete()
196 && delim.isDelimiter(val, val.length() - 1)) { in complete()
/external/toybox/toys/posix/
Dsed.c185 char delim;
647 do_lines(fd, TT.delim, sed_line); in do_sed_file()
666 static char *unescape_delimited_string(char **pstr, char *delim) in unescape_delimited_string() argument
672 if (!delim || !*delim) { in unescape_delimited_string()
676 if (delim) *delim = d; in unescape_delimited_string()
677 } else d = *delim; in unescape_delimited_string()
678 to = delim = xmalloc(strlen(*pstr)+1); in unescape_delimited_string()
724 return delim; in unescape_delimited_string()
824 char *end, delim = 0; in parse_pattern() local
834 if (!(TT.remember = unescape_delimited_string(&line, &delim))) in parse_pattern()
[all …]
/external/python/cpython3/Modules/
Dgetpath.c348 wchar_t *delim = wcschr(prefix, DELIM); in search_for_prefix() local
349 if (delim) { in search_for_prefix()
350 *delim = L'\0'; in search_for_prefix()
457 wchar_t *delim = wcschr(core_config->home, DELIM); in search_for_exec_prefix() local
458 if (delim) { in search_for_exec_prefix()
459 wcsncpy(exec_prefix, delim+1, MAXPATHLEN); in search_for_exec_prefix()
611 wchar_t *delim = wcschr(path, DELIM); in calculate_program_full_path() local
613 if (delim) { in calculate_program_full_path()
614 size_t len = delim - path; in calculate_program_full_path()
630 if (!delim) { in calculate_program_full_path()
[all …]
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c271 char *delim = strchr(path, DELIM); in get_progpath() local
273 if (delim) { in get_progpath()
274 int len = delim - path; in get_progpath()
285 if (!delim) { in get_progpath()
289 path = delim + 1; in get_progpath()
328 char *delim; in calculate_path() local
334 delim = strchr(prefix, DELIM); in calculate_path()
335 if (delim) { in calculate_path()
336 *delim = '\0'; in calculate_path()
337 strcpy(exec_prefix, delim+1); in calculate_path()
/external/icu/icu4c/source/tools/pkgdata/
Dpkgtypes.c29 const char *pkg_writeCharListWrap(FileStream *s, CharList *l, const char *delim, const char *brk, i… in pkg_writeCharListWrap() argument
61 if(l->next && delim) in pkg_writeCharListWrap()
67 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharListWrap()
75 const char *pkg_writeCharList(FileStream *s, CharList *l, const char *delim, int32_t quote) in pkg_writeCharList() argument
109 if(l->next && delim) in pkg_writeCharList()
111 T_FileStream_write(s, delim, (int32_t)uprv_strlen(delim)); in pkg_writeCharList()
/external/libkmsxx/kms++util/inc/kms++util/
Dstrhelpers.h9 std::string join(const T& values, const std::string& delim) in join() argument
14 ss << delim; in join()
21 std::string join(const std::vector<T>& values, const std::string& delim, std::function<std::string(… in join() argument
26 ss << delim; in join()
/external/selinux/libsepol/src/
Dutil.c201 static inline int tokenize_str(char delim, char **str, char **ptr, size_t *len) in tokenize_str() argument
207 if (isspace(delim) && isspace(**ptr)) { in tokenize_str()
210 } else if (!isspace(delim) && **ptr == delim) { in tokenize_str()
232 while (**ptr != '\0' && isspace(delim) && isspace(**ptr)) { in tokenize_str()
253 int hidden tokenize(char *line_buf, char delim, int num_args, ...) in tokenize() argument
278 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DTimer.cpp389 const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { in printJSONValues() argument
394 OS << delim; in printJSONValues()
395 delim = ",\n"; in printJSONValues()
399 OS << delim; in printJSONValues()
401 OS << delim; in printJSONValues()
404 OS << delim; in printJSONValues()
409 return delim; in printJSONValues()
412 const char *TimerGroup::printAllJSONValues(raw_ostream &OS, const char *delim) { in printAllJSONValues() argument
415 delim = TG->printJSONValues(OS, delim); in printAllJSONValues()
416 return delim; in printAllJSONValues()
/external/selinux/libsemanage/src/
Dusers_base_file.c106 char delim; in user_base_parse() local
119 delim = *(info->ptr); in user_base_parse()
125 if (delim && !isspace(delim)) { in user_base_parse()
126 if (islist && delim == '}') in user_base_parse()
128 else if (!islist && delim == ';') in user_base_parse()
Dutilities.c33 char *semanage_findval(const char *file, const char *var, const char *delim) in semanage_findval() argument
48 retval = semanage_split(buff, delim); in semanage_findval()
88 char *semanage_split(const char *str, const char *delim) in semanage_split() argument
94 if (!delim || !(*delim)) in semanage_split()
97 retval = strstr(str, delim); in semanage_split()
101 return strdup(retval + strlen(delim)); in semanage_split()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DTimer.cpp378 const char *TimerGroup::printJSONValues(raw_ostream &OS, const char *delim) { in printJSONValues() argument
381 OS << delim; in printJSONValues()
382 delim = ",\n"; in printJSONValues()
386 OS << delim; in printJSONValues()
388 OS << delim; in printJSONValues()
392 return delim; in printJSONValues()
395 const char *TimerGroup::printAllJSONValues(raw_ostream &OS, const char *delim) { in printAllJSONValues() argument
398 delim = TG->printJSONValues(OS, delim); in printAllJSONValues()
399 return delim; in printAllJSONValues()
/external/python/cpython3/Lib/urllib/
Dparse.py387 delim = len(url) # position of end of domain part of url, default is end
391 delim = min(delim, wdelim) # use earliest delim position
392 return url[start:delim], url[delim:] # return (domain, rest)
996 user, delim, host = host.rpartition('@')
997 return (user if delim else None), host
1001 user, delim, passwd = user.partition(':')
1002 return user, (passwd if delim else None)
1024 host, delim, port = host.rpartition(':')
1025 if not delim:
1037 path, delim, query = url.rpartition('?')
[all …]
/external/toybox/toys/other/
Dprintenv.c25 char delim = '\n'; in printenv_main() local
27 if (toys.optflags) delim = 0; in printenv_main()
38 xprintf("%s%c", out, delim); in printenv_main()

12345678910