/external/tensorflow/tensorflow/core/kernels/ |
merge_v2_checkpoints_op_test.cc | 66 const std::vector<string> prefixes = { local 71 const string& kMergedPrefix = prefixes[2]; 73 WriteCheckpoint(prefixes[0], {"tensor0"}, 75 WriteCheckpoint(prefixes[1], {"tensor1", "tensor2"}, 83 [&prefixes](int i) -> string { return prefixes[i]; }); 118 ->IsDirectory(io::Dirname(prefixes[i]).ToString())
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
PrefixFileFilter.java | 49 /** The filename prefixes to search for */ 50 private final String[] prefixes; field in class:PrefixFileFilter 78 this.prefixes = new String[] {prefix}; 83 * Constructs a new Prefix file filter for any of an array of prefixes. 88 * @param prefixes the prefixes to allow, must not be null 91 public PrefixFileFilter(String[] prefixes) { 92 this(prefixes, IOCase.SENSITIVE); 96 * Constructs a new Prefix file filter for any of an array of prefixes 102 * @param prefixes the prefixes to allow, must not be nul [all...] |
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/ |
Initialize.h | 106 const char* prefixes[EbtNumTypes]; member in class:glslang::TBuiltIns
|
/system/core/toolbox/upstream-netbsd/lib/libc/gen/ |
humanize_number.c | 50 const char *prefixes, *sep; local 63 prefixes = "B\0k\0M\0G\0T\0P\0E"; 65 prefixes = "\0\0k\0M\0G\0T\0P\0E"; 73 prefixes = "B\0K\0M\0G\0T\0P\0E"; 75 prefixes = "\0\0K\0M\0G\0T\0P\0E"; 78 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1])
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
packet_receiver.cc | 43 std::vector<std::string> prefixes; local 47 prefixes.push_back("Throughput_kbps#1"); 48 prefixes.push_back("Sending_Estimate_kbps#1"); 49 prefixes.push_back("Delay_ms_#1"); 50 prefixes.push_back("Packet_Loss_#1"); 51 prefixes.push_back("Objective_function_#1"); 54 prefixes.push_back("Throughput_kbps#1"); // Total Available. 55 prefixes.push_back("Throughput_kbps#1"); // Available per flow. 58 metric_recorder_->SetPlotInformation(prefixes, plot_delay, plot_loss);
|
/frameworks/base/services/net/java/android/net/util/ |
PrefixUtils.java | 46 final HashSet<IpPrefix> prefixes = new HashSet<>(); local 47 addNonForwardablePrefixes(prefixes); 48 return prefixes; 51 public static void addNonForwardablePrefixes(Set<IpPrefix> prefixes) { 52 Collections.addAll(prefixes, MIN_NON_FORWARDABLE_PREFIXES);
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
BrNameUtil.java | 63 return prefixes(callable.name, "get") && 70 return prefixes(callable.name, "set") && 77 return prefixes(callable.name, "is") && 83 private static boolean prefixes(CharSequence sequence, String prefix) { method in class:BrNameUtil 84 boolean prefixes = false; 87 prefixes = true; 90 prefixes = false; 95 return prefixes;
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/kdom/ |
Element.java | 39 protected Vector prefixes; field in class:Element 155 return (prefixes == null ? 0 : prefixes.size()); 159 return ((String[]) prefixes.elementAt(i))[0]; 163 return ((String[]) prefixes.elementAt(i))[1]; 260 if (prefixes == null) 261 prefixes = new Vector(); 262 prefixes.addElement(new String[] { 302 if (prefixes != null) { 303 for (int i = 0; i < prefixes.size(); i++) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/ |
NamespaceSupport.java | 156 // ignore "xml" and "xmlns" prefixes
252 String[] prefixes = new String[fNamespaceSize];
local 253 fPrefixes = prefixes;
270 return new Prefixes(fPrefixes, count);
273 protected final class Prefixes implements Enumeration {
274 private String[] prefixes;
field in class:NamespaceSupport.Prefixes 279 * Constructor for Prefixes.
281 public Prefixes(String [] prefixes, int size) {
282 this.prefixes = prefixes; [all...] |
/external/google-breakpad/src/third_party/libdisasm/ |
ia32_insn.c | 216 static void ia32_handle_prefix( x86_insn_t *insn, unsigned int prefixes ) { 218 insn->prefix = (enum x86_insn_prefix) prefixes & PREFIX_MASK; // >> 20; 220 /* no printable prefixes */ 263 unsigned int prefixes ) { 273 insn->op_size = ( prefixes & PREFIX_OP_SIZE ) ? 4 : 2; 274 insn->addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 4 : 2; 276 insn->op_size = ( prefixes & PREFIX_OP_SIZE ) ? 2 : 4; 277 insn->addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 2 : 4; 288 ia32_handle_prefix( insn, prefixes ); 307 raw_insn->dest_flag, prefixes, modrm ) 543 unsigned int prefixes = 0; local 576 unsigned int prefixes = 0; local [all...] |
ia32_invariant.c | 13 unsigned int *prefixes ); 142 unsigned int prefixes, x86_invariant_t *inv) { 150 op_size = ( prefixes & PREFIX_OP_SIZE ) ? 4 : 2; 151 addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 4 : 2; 152 mode_16 = ( prefixes & PREFIX_ADDR_SIZE ) ? 0 : 1; 154 op_size = ( prefixes & PREFIX_OP_SIZE ) ? 2 : 4; 155 addr_size = ( prefixes & PREFIX_ADDR_SIZE ) ? 2 : 4; 156 mode_16 = ( prefixes & PREFIX_ADDR_SIZE ) ? 1 : 0; 282 unsigned int prefixes; local 287 size = ia32_table_lookup( buf, buf_len, 0, &raw_insn, &prefixes ); [all...] |
/external/minijail/ |
util.c | 204 const char prefixes[] = "KMGTPE"; local 213 for (i = 0; i < sizeof(prefixes); ++i) { 214 if (sizespec[len - 1] == prefixes[i]) {
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
insert_logging.cc | 45 std::unordered_set<string> prefixes; local 50 prefixes.insert(prefix); 103 for (const string& prefix : prefixes) { 109 // looking for prefixes or we found the right prefix, then add logging here.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
NamespaceSupportTest.java | 56 Enumeration<String> prefixes = ns.getDeclaredPrefixes(); local 58 while (prefixes.hasMoreElements()) { 59 prefix = prefixes.nextElement(); 126 // Part 1: Check that xml and xmlns are not accepted as prefixes. 134 // prefixes. 161 ArrayList<String> prefixes; local 163 prefixes = Collections.list(ns.getPrefixes(marketUri)); 164 assertTrue("Test 1: Incorrect set of prefixes returned.", 165 expected.containsAll(prefixes) && prefixes.containsAll(expected)) 182 ArrayList<String> prefixes; local 193 ArrayList<String> prefixes; local 315 ArrayList<String> prefixes = Collections.list(ns.getPrefixes()); local [all...] |
/system/core/property_service/libpropertyinfoserializer/ |
trie_builder.h | 89 const std::vector<PropertyEntryBuilder>& prefixes() const { return prefixes_; } function in class:android::properties::TrieBuilderNode
|
/external/doclava/src/com/google/doclava/ |
AndroidAuxSource.java | 251 ArrayList<AnnotationValueInfo> prefixes = null; local 259 case "prefix": prefixes = (ArrayList<AnnotationValueInfo>) val.value(); break; 267 if (prefixes == null) prefixes = new ArrayList<>(); 269 if (prefixes.isEmpty() && suffixes.isEmpty()) continue; 275 for (AnnotationValueInfo prefix : prefixes) {
|
/external/e2fsprogs/intl/ |
vasnprintf.c | 268 int prefixes[2]; local 571 prefixes[prefix_count++] = a.arg[dp->width_arg_index].a.a_int; 577 prefixes[prefix_count++] = a.arg[dp->precision_arg_index].a.a_int; 607 prefixes[0], arg, &count); \ 611 prefixes[0], prefixes[1], arg, \ 625 count = sprintf (tmp, buf, prefixes[0], arg); \ 628 count = sprintf (tmp, buf, prefixes[0], prefixes[1],\
|
/external/gptfdisk/ |
support.cc | 231 string units, prefixes = " KMGTPEZ"; local 235 while ((sizeInIeee > 1024) && (index < (prefixes.length() - 1))) { 240 if (prefixes[index] == ' ') { 244 units[1] = prefixes[index];
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
TailoredSet.java | 236 // Parallel iteration over prefixes of both tables. 237 CharsTrie.Iterator prefixes = new CharsTrie(p, pidx).iterator(); local 242 // U+FFFF is untailorable and will not occur in prefixes. 247 if (prefixes.hasNext()) { 248 te = prefixes.next(); 346 CharsTrie.Iterator prefixes = new CharsTrie(p, pidx).iterator(); local 347 while (prefixes.hasNext()) { 348 Entry e = prefixes.next(); 389 // Prefixes are reversed in the data structure.
|
ContractionsAndExpansions.java | 46 public ContractionsAndExpansions(UnicodeSet con, UnicodeSet exp, CESink s, boolean prefixes) { 50 addPrefixes = prefixes; 238 CharsTrie.Iterator prefixes = new CharsTrie(data.contexts, index + 2).iterator(); local 239 while (prefixes.hasNext()) { 240 Entry e = prefixes.next(); 301 // Prefixes are reversed in the data structure.
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
TailoredSet.java | 234 // Parallel iteration over prefixes of both tables. 235 CharsTrie.Iterator prefixes = new CharsTrie(p, pidx).iterator(); local 240 // U+FFFF is untailorable and will not occur in prefixes. 245 if (prefixes.hasNext()) { 246 te = prefixes.next(); 344 CharsTrie.Iterator prefixes = new CharsTrie(p, pidx).iterator(); local 345 while (prefixes.hasNext()) { 346 Entry e = prefixes.next(); 387 // Prefixes are reversed in the data structure.
|
/frameworks/base/tests/net/java/android/net/ |
IpPrefixTest.java | 328 IpPrefix[] prefixes = { local 334 for (int i = 0; i < prefixes.length; i++) { 335 for (int j = i + 1; j < prefixes.length; j++) { 336 assertNotEquals(prefixes[i].hashCode(), prefixes[j].hashCode());
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/ |
ProcessBindable.java | 185 private static boolean prefixes(CharSequence sequence, String prefix) { method in class:ProcessBindable 186 boolean prefixes = false; 189 prefixes = true; 192 prefixes = false; 197 return prefixes; 202 return prefixes(name, "get") && 210 return prefixes(name, "set") && 218 return prefixes(name, "is") &&
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
NamespaceSupport.java | 235 * prefixes after popping a context, unless you push another 259 * Declare a Namespace prefix. All prefixes must be declared 264 * interpret prefixes against (potentially redefined) prefixes. 283 * This asymmetry exists to make it easier to look up prefixes 314 * the prefixes currently declared. The return value will be the 381 * Return an enumeration of all prefixes whose declarations are 390 * @return An enumeration of prefixes (never empty). 401 * Return one of the prefixes mapped to a Namespace URI. 405 * want all of the prefixes, use the {@link #getPrefixes 445 ArrayList<String> prefixes = new ArrayList<String>(); local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
NamespaceMappings.java | 56 * processed. At any given moment of processing the currently visible prefixes 67 * This member is continually incremented when new prefixes need to be 91 * All prefixes pushed at the current depth can be 168 Enumeration prefixes = m_namespaces.keys(); local 169 while (prefixes.hasMoreElements()) 171 String prefix = (String) prefixes.nextElement(); 185 Enumeration prefixes = m_namespaces.keys(); local 186 while (prefixes.hasMoreElements()) 188 String prefix = (String) prefixes.nextElement(); 204 // Prefixes "xml" and "xmlns" cannot be redefine 486 Enumeration prefixes = m_namespaces.keys(); local [all...] |