Home
last modified time | relevance | path

Searched refs:string_list (Results 1 – 22 of 22) sorted by relevance

/external/autotest/client/common_lib/cros/
Dstring_utils.py18 def join_longest_with_length_limit(string_list, length_limit, separator='', argument
45 string_list = sorted(string_list, key=len)
47 if len(string_list[-1]) > length_limit:
51 length_list = [len(s) for s in string_list]
55 if sum(length_list) + len_sep * len(string_list) <= length_limit:
56 yield separator.join(string_list) if do_join else string_list
61 while string_list:
70 result.append(string_list.pop(index))
/external/tensorflow/tensorflow/contrib/input_pipeline/python/ops/
Dinput_pipeline_ops.py49 def _maybe_randomize_list(string_list, shuffle): argument
51 random.shuffle(string_list)
52 return string_list
55 def _create_list(string_list, shuffle, seed, num_epochs): argument
58 expanded_list = _maybe_randomize_list(string_list, shuffle)[:]
61 expanded_list.extend(_maybe_randomize_list(string_list, shuffle))
65 def seek_next(string_list, shuffle=False, seed=None, num_epochs=None): argument
85 expanded_list = _create_list(string_list, shuffle, seed, num_epochs)
Dinput_pipeline_ops_test.py47 string_list = ["a", "b", "c"]
49 elem = input_pipeline_ops.seek_next(string_list)
67 string_list = ["a", "b", "c"]
69 elem = input_pipeline_ops.seek_next(string_list, num_epochs=1)
77 string_list = ["a", "b", "c"]
79 elem = input_pipeline_ops.seek_next(string_list, num_epochs=3)
/external/v8/gypfiles/
Dcoverage_wrapper.py21 def remove_if_exists(string_list, item): argument
22 if item in string_list:
23 string_list.remove(item)
/external/fsverity-utils/
Dutil.h148 struct string_list { struct
155 #define STRING_LIST(_list) struct string_list _list = STRING_LIST_INITIALIZER argument
157 void string_list_append(struct string_list *list, char *string);
158 void string_list_destroy(struct string_list *list);
Dfsveritysetup.h28 bool load_elisions_and_patches(const struct string_list *elide_opts,
29 const struct string_list *patch_opts,
Dutil.c344 void string_list_append(struct string_list *list, char *string) in string_list_append()
358 void string_list_destroy(struct string_list *list) in string_list_destroy()
Delide_patch.c134 bool load_elisions_and_patches(const struct string_list *elide_opts, in load_elisions_and_patches()
135 const struct string_list *patch_opts, in load_elisions_and_patches()
/external/toybox/lib/
Dlib.h22 struct string_list { struct
23 struct string_list *next; argument
206 struct string_list **splitpath(char *path, struct string_list **list);
219 struct string_list *find_in_path(char *path, char *filename);
Dlib.c219 struct string_list **splitpath(char *path, struct string_list **list) in splitpath()
230 *list = xmalloc(sizeof(struct string_list) + len + 1); in splitpath()
246 struct string_list *find_in_path(char *path, char *filename) in find_in_path()
248 struct string_list *rlist = NULL, **prlist=&rlist; in find_in_path()
257 struct string_list *rnext; in find_in_path()
Dxwrap.c524 struct string_list *todo, *done = 0; in xabspath()
538 struct string_list *new = llist_pop(&todo), **tail; in xabspath()
615 struct string_list *temp = llist_pop(&done); in xabspath()
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp.h53 typedef struct string_list { struct
66 string_list_t *string_list; argument
Dglcpp-parse.y183 %type <string_list> identifier_list
/external/v8/src/third_party/vtune/
Dittnotify_config.h381 struct ___itt_string_handle* string_list; member
462 (gptr)->string_list = h; \
477 (gptr)->string_list = h; \
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h352 struct ___itt_string_handle* string_list; member
433 (gptr)->string_list = h; \
448 (gptr)->string_list = h; \
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h352 struct ___itt_string_handle* string_list; member
433 (gptr)->string_list = h; \
448 (gptr)->string_list = h; \
/external/toybox/toys/other/
Dwhich.c25 struct string_list *list; in which_in_path()
/external/toybox/toys/example/
Dlogwrapper.c26 struct string_list *list; in logwrapper_main()
/external/grpc-grpc/bazel/
Dgenerate_cc.bzl94 "flags": attr.string_list(
/external/toybox/toys/net/
Difconfig.c301 struct string_list *ifaces = 0, *sl; in show_iface()
/external/protobuf/
Dprotobuf.bzl94 "includes": attr.string_list(),
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py1118 string_list = extendee_proto.Extensions[extension]
1121 self.assertTrue(string_list is not extendee_proto.Extensions[extension])