/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...] |
/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...] |
/external/chromium_org/components/omnibox/ |
url_prefix.cc | 38 CR_DEFINE_STATIC_LOCAL(URLPrefixes, prefixes, ()); 39 if (prefixes.empty()) { 40 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("https://www."), 2)); 41 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("http://www."), 2)); 42 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("ftp://www."), 2)); 43 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("https://"), 1)); 44 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("http://"), 1)); 45 prefixes.push_back(URLPrefix(base::ASCIIToUTF16("ftp://"), 1)); 46 prefixes.push_back(URLPrefix(base::string16(), 0)); 48 return prefixes; [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
prefix_set_unittest.cc | 45 // Generate a set of random prefixes to share between tests. For 52 // Distribute clusters of prefixes. 74 // Check that all elements of |prefixes| are in |prefix_set|, and 78 const std::vector<SBPrefix> &prefixes) { 79 // The set can generate the prefixes it believes it has, so that's 81 std::set<SBPrefix> check(prefixes.begin(), prefixes.end()); 87 for (size_t i = 0; i < prefixes.size(); ++i) { 88 EXPECT_TRUE(prefix_set.PrefixExists(prefixes[i])); 90 const SBPrefix left_sibling = prefixes[i] - 1 249 std::vector<SBPrefix> prefixes; local 277 std::vector<SBPrefix> prefixes; local 305 std::vector<SBPrefix> prefixes; local 382 std::vector<SBPrefix> prefixes; local 396 std::vector<SBPrefix> prefixes; local 607 std::vector<SBPrefix> prefixes; local [all...] |
protocol_parser.h | 58 std::string FormatGetHash(const std::vector<SBPrefix>& prefixes);
|
prefix_set.h | 5 // A read-only set implementation for |SBPrefix| items. Prefixes are 19 // prefixes of a certain size. As of this writing, my safe-browsing 21 // 653132 add prefixes 32 // overhead starts to become a problem a bit under 200k prefixes. The 34 // 75k prefixes. Fortunately, the actual memory footprint also falls. 70 // |hash.prefix| is one of the prefixes passed to the set's builder. 115 // |true| if |prefix| is one of the prefixes passed to the set's builder. 119 // Regenerate the vector of prefixes passed to the constructor into 120 // |prefixes|. Prefixes will be added in sorted order. Useful for testing [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/geocoding/ |
geocoding_data.h | 34 // Sorted array of phone number prefixes. 35 const int32* prefixes; member in struct:i18n::phonenumbers::PrefixDescriptions 37 // Number of elements in prefixes. 41 // to prefixes.
|
default_map_storage.cc | 45 prefixes_ = descriptions->prefixes;
|
/external/elfutils/0.153/libcpu/ |
i386_data.h | 38 /* The rep/repe prefixes. */ 88 if (*d->prefixes & has_cs) 91 *d->prefixes &= ~has_cs; 93 else if (*d->prefixes & has_ds) 96 *d->prefixes &= ~has_ds; 98 else if (*d->prefixes & has_es) 101 *d->prefixes &= ~has_es; 103 else if (*d->prefixes & has_fs) 106 *d->prefixes &= ~has_fs; 108 else if (*d->prefixes & has_gs 160 int prefixes = *d->prefixes; local 936 int prefixes = *d->prefixes; local 1016 int prefixes = *d->prefixes; local [all...] |
i386_disasm.c | 257 int *prefixes; member in struct:output_data 321 int prefixes; local 329 .prefixes = &prefixes, 340 prefixes = 0; 345 /* Recognize all prefixes. */ 356 prefixes |= last_prefix_bit = 1 << i; 363 prefixes |= ((*data++) & 0xf) | has_rex; 375 if (prefixes != 0) 446 || (prefixes & correct_prefix) != 0) [all...] |
/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/chromium_org/third_party/brotli/src/ |
shared.mk | 4 GFLAGS=-no-canonical-prefixes -fno-omit-frame-pointer -m64
|
/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/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/chromium_org/tools/ipc_fuzzer/ |
play_testcase.py | 58 prefixes = { 77 for prefix in prefixes: 83 if switch in prefixes:
|
/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...] |
/external/chromium_org/chrome/browser/extensions/api/music_manager_private/ |
device_id_linux.cc | 102 const char* prefixes[], 122 if (!IsValidPrefix(ifinfo.ifr_name, prefixes, prefixes_count)) 135 const char* prefixes[], 138 if (strncmp(prefixes[i], name, strlen(prefixes[i])) == 0)
|
/external/qemu/disas/ |
i386.c | 241 /* Flags for the prefixes for the current instruction. See below. */ 242 static int prefixes; variable 263 /* Flags for prefixes which we somehow handled when printing the 267 /* Flags stored in PREFIXES. */ 467 #define v_mode 2 /* operand size depends on prefixes */ 476 #define dq_mode 11 /* operand size depends on REX prefixes. */ 481 #define z_mode 16 /* non-quad operand size depends on prefixes */ [all...] |
/build/core/combo/ |
HOST_linux-x86_64.mk | 43 -no-canonical-prefixes \
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
ParserAdapter.java | 158 private static final String NAMESPACE_PREFIXES = FEATURES + "namespace-prefixes"; 166 * namespace-prefixes.</p> 182 if (!namespaces && !prefixes) { 183 prefixes = true; 187 prefixes = value; 188 if (!prefixes && !namespaces) { 204 * namespace-prefixes.</p> 220 return prefixes; 555 if (prefixes) { 624 Enumeration prefixes = nsSupport.getDeclaredPrefixes() 622 Enumeration prefixes = nsSupport.getDeclaredPrefixes(); local 825 private boolean prefixes = false; field in class:ParserAdapter [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/ |
ConfigResults.java | 169 * Returns a list of build results which names starts with one of the given prefixes. 171 * @param prefixes List of expected prefixes 174 public List getBuildsMatchingPrefixes(List prefixes) { 177 int length = prefixes.size(); 182 if (buildName.startsWith((String)prefixes.get(j))) { 392 * prefixes. 394 * @param prefixes List of prefixes to filter builds. If <code>null</code> 404 public double[] getStatistics(List prefixes) { [all...] |
/external/icu/icu4c/source/i18n/ |
collationsets.cpp | 216 // Parallel iteration over prefixes of both tables. 217 UCharsTrie::Iterator prefixes(p, 0, errorCode); 222 // U+FFFF is untailorable and will not occur in prefixes. 226 if(prefixes.next(errorCode)) { 227 tp = &prefixes.getString(); 243 addPrefix(data, *tp, c, (uint32_t)prefixes.getValue()); 251 compare(c, (uint32_t)prefixes.getValue(), (uint32_t)basePrefixes.getValue()); 308 UCharsTrie::Iterator prefixes(p, 0, errorCode); 309 while(prefixes.next(errorCode)) { 310 addPrefix(d, prefixes.getString(), c, (uint32_t)prefixes.getValue()) [all...] |
/frameworks/base/core/java/android/text/util/ |
Linkify.java | 398 private static final String makeUrl(String url, String[] prefixes, 406 for (int i = 0; i < prefixes.length; i++) { 407 if (url.regionMatches(true, 0, prefixes[i], 0, 408 prefixes[i].length())) { 412 if (!url.regionMatches(false, 0, prefixes[i], 0, 413 prefixes[i].length())) { 414 url = prefixes[i] + url.substring(prefixes[i].length()); 422 url = prefixes[0] + url;
|
/external/chromium_org/ppapi/tests/ |
test_case.cc | 21 const char* const prefixes[] = { local 23 for (size_t i = 0; i < sizeof(prefixes)/sizeof(prefixes[0]); ++i) 24 if (test_name.find(prefixes[i]) == 0) 25 return test_name.substr(strlen(prefixes[i]));
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
insn.c | 141 insn->prefixes = 142 yasm_xrealloc(insn->prefixes, 144 insn->prefixes[insn->num_prefixes] = prefix; 162 insn->prefixes = NULL; 195 yasm_xfree(insn->prefixes);
|