/external/tensorflow/tensorflow/compiler/tf2xla/ |
xla_compiled_cpu_function.cc | 63 // Linear search through `names` looking for a match with `name`. Returns -1 if 66 // REQUIRES: `names` is a nullptr-terminated array. 67 int LookupNameIndex(const string& name, const char** names) { 70 assert(names != nullptr); 76 for (int index = 0; names[index] != nullptr; ++index) { 77 if (name == names[index]) {
|
/external/tensorflow/tensorflow/core/graph/ |
tensor_id_test.cc | 46 std::vector<string> names; local 50 case 0: { // Generate random names 79 names.push_back(name); 86 id = ParseTensorName(names[index++ % names.size()]);
|
/external/vogar/src/vogar/ |
Option.java | 31 * The names for this option, such as { "-h", "--help" }. 32 * Names must start with one or two '-'s. 35 String[] names(); method in interface:Option
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/vo/ |
UserIdAndPetNames.java | 32 public List<String> names; field in class:UserIdAndPetNames
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractUserDefinedFileAttributeView.java | 79 // names of attributes to return 80 List<String> names = new ArrayList<>(); local 83 names = list(); 88 names.add(name); 94 for (String name: names) {
|
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
MergeTest.java | 58 Set<String> names = loadExecFile(dest); local 59 assertEquals(Collections.emptySet(), names); local 73 Set<String> names = loadExecFile(dest); local 74 assertEquals(new HashSet<String>(Arrays.asList("a", "b", "c")), names); 90 Set<String> names = new HashSet<String>(); local 92 names.add(d.getName()); 94 return names;
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
FinderTest.java | 14 @Parameter(names = { "-p", "--param" }) 38 @Parameter(names = { "-p", "--param" }) 50 @Parameter(names = { "-p", "--param" }) 64 @Parameter(names = { "--param" }) 66 @Parameter(names = { "--parb" }) 79 @Parameter(names = { "--param" }) 81 @Parameter(names = { "--parb" })
|
VariableArityTest.java | 14 @Parameter(names = { "-m", "--matrixData" }, variableArity = true, 18 @Parameter(names = { "-f", "--featureData" }, variableArity = true, 22 @Parameter(names = { "-c", "--configData" }, variableArity = true, 26 @Parameter(names = { "-o", "--outputFile" }, 30 @Parameter(names = { "--seed" }, description = "Seed used for PRNG [0 means don't use a Seed]")
|
ParametersDelegateTest.java | 20 @Parameter(names = "-a") 22 @Parameter(names = {"-b", "--long-b"}) 39 @Parameter(names = "-c") 41 @Parameter(names = {"-d", "--long-d"}) 45 @Parameter(names = "-a") 47 @Parameter(names = {"-b", "--long-b"}) 68 @Parameter(names = "--list") 73 @Parameter(names = "--bool") 79 @Parameter(names = {"-d", "--long-d"}) 83 @Parameter(names = "-c" [all...] |
/external/swiftshader/third_party/LLVM/utils/ |
webNLT.pl | 33 push @names, ($n); 45 # print join "<BR>", @names; 50 print $q->scrolling_list(-name=>"name", -values=>\@names, -multiple=>'true'); 62 my @names = $q->param('name'); 65 print join "<BR>", @names; 71 foreach $n (@names)
|
/libcore/ojluni/src/main/native/ |
canonicalize_md.c | 46 Return zero if not, otherwise return the number of names in the sequence. */ 49 collapsible(char *names) 51 char *p = names; 74 /* Split the names in the given name sequence, 78 splitNames(char *names, char **ix) 80 char *p = names; 96 /* Join the names in the given name sequence, ignoring names whose index 100 joinNames(char *names, int nc, char **ix) 105 for (i = 0, p = names; i < nc; i++) 130 char *names = (path[0] == '\/') ? path + 1 : path; \/* Preserve first '\/' *\/ local [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
L_T_S_H_.py | 29 names = list(self.yPels.keys()) 30 numGlyphs = len(names) 34 for name in names: 40 names = sorted(self.yPels.keys()) 41 for name in names:
|
/external/libmojo/mojo/edk/test/ |
test_support_impl.cc | 69 std::vector<std::string> names; local 73 names.push_back(name.BaseName().AsUTF8Unsafe()); 75 // |names.size() + 1| for null terminator. 76 char** rv = static_cast<char**>(calloc(names.size() + 1, sizeof(char*))); 77 for (size_t i = 0; i < names.size(); ++i) 78 rv[i] = base::strdup(names[i].c_str());
|
/external/ltp/testcases/kernel/syscalls/inotify/ |
inotify06.c | 61 char names[FILES][PATH_MAX]; variable 79 sprintf(names[i], "fname_%d", i); 92 fd = SAFE_OPEN(NULL, names[i], O_CREAT | O_RDWR, 0600); 96 SAFE_UNLINK(NULL, names[i]); 113 myinotify_add_watch(inotify_fd, names[i], IN_MODIFY);
|
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/ |
prefetch_queue.py | 71 names = list(sorted(tensors.keys())) 72 tensor_list = list([tensors[n] for n in names]) 74 names = None 84 names=names,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
CompoundTransliteratorTest.java | 34 String names[]={"Greek-Latin", "Latin-Devanagari", "Devanagari-Latin", "Latin-Greek"}; local 37 Transliterator.getInstance(names[0]); 38 Transliterator.getInstance(names[1]); 39 Transliterator.getInstance(names[2]); 40 Transliterator.getInstance(names[3]); 47 names[0], 48 names[0]+";"+names[3], 49 names[3]+";"+names[1]+";"+names[2] [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
CompoundTransliteratorTest.java | 31 String names[]={"Greek-Latin", "Latin-Devanagari", "Devanagari-Latin", "Latin-Greek"}; local 34 Transliterator.getInstance(names[0]); 35 Transliterator.getInstance(names[1]); 36 Transliterator.getInstance(names[2]); 37 Transliterator.getInstance(names[3]); 44 names[0], 45 names[0]+";"+names[3], 46 names[3]+";"+names[1]+";"+names[2] [all...] |
/external/mesa3d/src/compiler/ |
shader_enums.c | 34 #define NAME(val) ((((val) < ARRAY_SIZE(names)) && names[(val)]) ? names[(val)] : "UNKNOWN") 39 static const char *names[] = { local 47 STATIC_ASSERT(ARRAY_SIZE(names) == MESA_SHADER_STAGES); 92 static const char *names[] = { local 127 STATIC_ASSERT(ARRAY_SIZE(names) == VERT_ATTRIB_MAX); 134 static const char *names[] = { local 198 STATIC_ASSERT(ARRAY_SIZE(names) == VARYING_SLOT_MAX); 205 static const char *names[] = local 235 static const char *names[] = { local 248 static const char *names[] = { local [all...] |
/external/smali/baksmali/src/main/java/org/jf/baksmali/ |
DisassembleCommand.java | 15 * * Neither the name of Google Inc. nor the names of its 59 @Parameter(names = {"-h", "-?", "--help"}, help = true, 66 @Parameter(names = {"--debug-info", "--di"}, arity = 1, 72 @Parameter(names = {"--code-offsets", "--offsets", "--off"}, 76 @Parameter(names = {"--resolve-resources", "--rr"}, arity = 2, 85 @Parameter(names = {"-j", "--jobs"}, 91 @Parameter(names = {"-l", "--use-locals"}, 96 @Parameter(names = {"--accessor-comments", "--ac"}, arity = 1, 102 @Parameter(names = {"--normalize-virtual-methods", "--norm", "--nvm"}, 107 @Parameter(names = {"-o", "--output"} [all...] |
/external/python/cpython3/Lib/test/ |
test___all__.py | 17 names = {} 23 exec("import %s" % modname, names) 31 names = {} 34 exec("from %s import *" % modname, names) 39 if "__builtins__" in names: 40 del names["__builtins__"] 41 if '__annotations__' in names: 42 del names['__annotations__'] 43 keys = set(names)
|
/external/selinux/libsemanage/src/ |
booleans_activedb.c | 30 char **names = NULL; local 33 /* Fetch boolean names */ 34 if (security_get_boolean_names(&names, &len) < 0) { 35 ERR(handle, "could not get list of boolean names"); 54 tmp_booleans[i], names[i]) < 0) 57 value = security_get_boolean_active(names[i]); 60 "for boolean %s", names[i]); 69 free(names[i]); 70 free(names); 82 free(names[i]) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TZDBTimeZoneNames.java | 29 * and daylight names) for each metazone. 39 * these ambiguous names. 148 private TZDBNames(String[] names, String[] parseRegions) { 149 _names = names; 166 String[] names = new String[KEYS.length]; local 167 for (int i = 0; i < names.length; i++) { 169 names[i] = table.getString(KEYS[i]); 172 names[i] = null; 193 return new TZDBNames(names, parseRegions); 209 // No names for all other types handled b 342 TZDBNames names = TZDB_NAMES_MAP.get(mzID); local 360 TZDBNames names = getMetaZoneNames(mzID); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TZDBTimeZoneNames.java | 28 * and daylight names) for each metazone. 38 * these ambiguous names. 146 private TZDBNames(String[] names, String[] parseRegions) { 147 _names = names; 164 String[] names = new String[KEYS.length]; local 165 for (int i = 0; i < names.length; i++) { 167 names[i] = table.getString(KEYS[i]); 170 names[i] = null; 191 return new TZDBNames(names, parseRegions); 207 // No names for all other types handled b 340 TZDBNames names = TZDB_NAMES_MAP.get(mzID); local 358 TZDBNames names = getMetaZoneNames(mzID); local [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/templates/ |
ar_event_h.template | 39 {<% names = protos['enums'][name]['names'] %> 40 % for i in range(len(names)): 41 ${names[i].lstrip()}
|
/external/one-true-awk/ |
maketab.c | 26 * this program makes the table to link function names 111 char *names[SIZE]; variable 125 names[i] = ""; 141 names[tok-FIRSTTOKEN] = (char *) malloc(strlen(name)+1); 142 strcpy(names[tok-FIRSTTOKEN], name); 153 printf("\tnullproc,\t/* %s */\n", names[i]); 155 printf("\t%s,\t/* %s */\n", table[i], names[i]);
|