/external/icu4c/samples/props/ |
Makefile | 12 TARGET=props 15 OBJECTS=props.o
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 45 * @param props the list of properties that will be searched. 49 public static boolean getBooleanProperty(String key, Properties props) 52 String s = props.getProperty(key); 68 * @param props the list of properties that will be searched. 72 public static int getIntProperty(String key, Properties props) 75 String s = props.getProperty(key);
|
/external/wpa_supplicant_6/wpa_supplicant/examples/ |
wpas-test.py | 60 props = net.properties() 64 for item in props["bssid"]: 67 ssid = byte_array_to_string(props["ssid"]) 69 if props.has_key("wpaie"): 72 if props.has_key("rsnie"): 75 if props.has_key("frequency"): 76 freq = props["frequency"] 77 caps = props["capabilities"] 78 qual = props["quality"] 79 level = props["level" [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_Configuration.java | 140 static Hashtable<String, String> props = null; field in class:Support_Configuration 149 Hashtable<String, String> props = new Hashtable<String, String>(); local 174 load(in, props); 178 if (props.size() == 0) { 183 value = props.get("DomainAddress"); 188 value = props.get("WebName"); 193 value = props.get("TestResourcesDir"); 197 value = props.get("HomeAddressResponse"); 202 value = props.get("HomeAddressSoftware"); 207 value = props.get("ProxyServerTestHost") [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
MinToolsPackage.java | 59 * Properties from props are used first when possible, e.g. if props is non null.
65 Properties props,
73 super(source, props, revision, license, description, descUrl,
77 getProperty(props, PROP_MIN_TOOLS_REV, Integer.toString(MIN_TOOLS_REV_NOT_SPECIFIED)));
89 void saveProperties(Properties props) {
90 super.saveProperties(props);
93 props.setProperty(PROP_MIN_TOOLS_REV, Integer.toString(getMinToolsRevision()));
|
Package.java | 105 * Properties from props are used first when possible, e.g. if props is non null.
111 Properties props,
127 mRevision = Integer.parseInt(getProperty(props, PROP_REVISION, Integer.toString(revision)));
128 mLicense = getProperty(props, PROP_LICENSE, license);
129 mDescription = getProperty(props, PROP_DESC, description);
130 mDescUrl = getProperty(props, PROP_DESC_URL, descUrl);
131 mReleaseNote = getProperty(props, PROP_RELEASE_NOTE, "");
132 mReleaseUrl = getProperty(props, PROP_RELEASE_URL, "");
133 mObsolete = getProperty(props, PROP_OBSOLETE, null); [all...] |
LocalSdkParser.java | 99 Properties props = parseProperties(new File(target.getLocation(),
local 104 pkg = new PlatformPackage(target, props);
122 pkg = new AddonPackage(target, props);
160 Properties props = parseProperties(new File(dir, SdkConstants.FN_SOURCE_PROP));
local 161 if (props != null) {
165 props, //properties
209 Properties props = parseProperties(new File(dir, SdkConstants.FN_SOURCE_PROP));
local 210 if (props != null) {
212 SamplePackage pkg = new SamplePackage(dir.getAbsolutePath(), props);
229 Properties props = parseProperties(new File(toolFolder, SdkConstants.FN_SOURCE_PROP)); local 270 Properties props = parseProperties(new File(docFolder, SdkConstants.FN_SOURCE_PROP)); local 309 Properties props = new Properties(); local [all...] |
SamplePackage.java | 89 SamplePackage(IAndroidTarget target, Properties props) {
91 props, //properties
92 0, //revision will be taken from props
104 getProperty(props, PROP_MIN_API_LEVEL, Integer.toString(MIN_API_LEVEL_NOT_SPECIFIED)));
119 SamplePackage(String archiveOsPath, Properties props) throws AndroidVersionException {
121 props, //properties
122 0, //revision will be taken from props
131 mVersion = new AndroidVersion(props);
134 getProperty(props, PROP_MIN_API_LEVEL, Integer.toString(MIN_API_LEVEL_NOT_SPECIFIED)));
142 void saveProperties(Properties props) {
339 Properties props = new Properties(); local 367 Properties props = new Properties(); local [all...] |
ExtraPackage.java | 76 Properties props,
86 props,
96 mPath = path != null ? path : getProperty(props, PROP_PATH, path);
99 getProperty(props, PROP_MIN_API_LEVEL, Integer.toString(MIN_API_LEVEL_NOT_SPECIFIED)));
107 void saveProperties(Properties props) {
108 super.saveProperties(props);
110 props.setProperty(PROP_PATH, mPath);
113 props.setProperty(PROP_MIN_API_LEVEL, Integer.toString(getMinApiLevel()));
|
RepoSources.java | 90 Properties props = new Properties();
local 91 props.load(fis);
93 int count = Integer.parseInt(props.getProperty(KEY_COUNT, "0"));
96 String url = props.getProperty(String.format("%s%02d", KEY_SRC, i)); //$NON-NLS-1$
151 Properties props = new Properties();
local 157 props.setProperty(String.format("%s%02d", KEY_SRC, count), s.getUrl()); //$NON-NLS-1$
160 props.setProperty(KEY_COUNT, Integer.toString(count));
162 props.store( fos, "## User Sources for Android tool"); //$NON-NLS-1$
|
/external/chromium/third_party/icu/source/common/ |
uchar.c | 266 uint32_t props; local 267 GET_PROPS(c, props); 268 return (int8_t)GET_CATEGORY(props); 310 uint32_t props; local 311 GET_PROPS(c, props); 312 return (UBool)(GET_CATEGORY(props)==U_LOWERCASE_LETTER); 318 uint32_t props; local 319 GET_PROPS(c, props); 320 return (UBool)(GET_CATEGORY(props)==U_UPPERCASE_LETTER); 326 uint32_t props; local 334 uint32_t props; local 341 uint32_t props; local 358 uint32_t props; local 371 uint32_t props; local 388 uint32_t props; local 396 uint32_t props; local 404 uint32_t props; local 421 uint32_t props; local 428 uint32_t props; local 436 uint32_t props; local 451 uint32_t props; local 465 uint32_t props; local 478 uint32_t props; local 489 uint32_t props; local 506 uint32_t props; local 517 uint32_t props; local 526 uint32_t props; local 535 uint32_t props; local 552 uint32_t props; local 561 uint32_t props; local 571 uint32_t props; local 585 uint32_t props; local 597 uint32_t props, numericType, numericValue; local 716 uint32_t props; local [all...] |
ucase.c | 358 #define GET_EXCEPTIONS(csp, props) ((csp)->exceptions+((props)>>UCASE_EXC_SHIFT)) 360 #define PROPS_HAS_EXCEPTION(props) ((props)&UCASE_EXCEPTION) 408 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 409 if(!PROPS_HAS_EXCEPTION(props)) { 410 if(UCASE_GET_TYPE(props)>=UCASE_UPPER) { 411 c+=UCASE_GET_DELTA(props); 414 const uint16_t *pe=GET_EXCEPTIONS(csp, props); 425 uint16_t props=UTRIE2_GET16(&csp->trie, c) local 442 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 473 uint16_t props; local 672 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 679 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 696 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 712 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 896 uint16_t props; local 1051 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 1195 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 1341 uint16_t props=UTRIE2_GET16(&csp->trie, c); local 1405 uint16_t props=UTRIE2_GET16(&csp->trie, c); local [all...] |
ubidi_props.h | 140 #define UBIDI_GET_CLASS(props) ((props)&UBIDI_CLASS_MASK) 141 #define UBIDI_GET_FLAG(props, shift) (((props)>>(shift))&1)
|
/external/icu4c/common/ |
uchar.c | 265 uint32_t props; local 266 GET_PROPS(c, props); 267 return (int8_t)GET_CATEGORY(props); 309 uint32_t props; local 310 GET_PROPS(c, props); 311 return (UBool)(GET_CATEGORY(props)==U_LOWERCASE_LETTER); 317 uint32_t props; local 318 GET_PROPS(c, props); 319 return (UBool)(GET_CATEGORY(props)==U_UPPERCASE_LETTER); 325 uint32_t props; local 333 uint32_t props; local 340 uint32_t props; local 357 uint32_t props; local 370 uint32_t props; local 387 uint32_t props; local 395 uint32_t props; local 403 uint32_t props; local 424 uint32_t props; local 431 uint32_t props; local 439 uint32_t props; local 454 uint32_t props; local 468 uint32_t props; local 481 uint32_t props; local 492 uint32_t props; local 509 uint32_t props; local 520 uint32_t props; local 529 uint32_t props; local 538 uint32_t props; local 555 uint32_t props; local 564 uint32_t props; local 574 uint32_t props; local 588 uint32_t props; local 601 uint32_t props; local 704 uint32_t props; local [all...] |
/external/v8/test/mjsunit/ |
for-in.js | 28 function props(x) { function 34 assertEquals(0, props({}).length, "olen0"); 35 assertEquals(1, props({x:1}).length, "olen1"); 36 assertEquals(2, props({x:1, y:2}).length, "olen2"); 38 assertArrayEquals(["x"], props({x:1}), "x"); 39 assertArrayEquals(["x", "y"], props({x:1, y:2}), "xy"); 40 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3}), "xyzoom"); 42 assertEquals(0, props([]).length, "alen0"); 43 assertEquals(1, props([1]).length, "alen1"); 44 assertEquals(2, props([1,2]).length, "alen2") [all...] |
simple-constructor.js | 28 function props(x) { function 59 assertArrayEquals(["x"], props(o1_1), "3"); 60 assertArrayEquals(["x"], props(o1_2), "4"); 64 assertArrayEquals(["x"], props(o2_1)); 65 assertArrayEquals(["x"], props(o2_2)); 69 assertArrayEquals(["x", "y", "z"], props(o3_1)); 70 assertArrayEquals(["x", "y", "z"], props(o3_2)); 74 assertArrayEquals(["x", "y", "z"], props(o4_0_1)); 75 assertArrayEquals(["x", "y", "z"], props(o4_0_2)); 79 assertArrayEquals(["x", "y"], props(o4_1_1)) [all...] |
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldMemoryHandlerTest.java | 36 final static Properties props = new Properties(); field in class:OldMemoryHandlerTest 44 manager.readConfiguration(propertiesToInputStream(props)); 51 props.clear(); 61 props.put("java.util.logging.MemoryHandler.level", "FINE"); 62 props.put("java.util.logging.MemoryHandler.filter", baseClassName + "$MockFilter"); 63 props.put("java.util.logging.MemoryHandler.size", "2"); 64 props.put("java.util.logging.MemoryHandler.push", "WARNING"); 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); 66 props.put("java.util.logging.MemoryHandler.formatter", baseClassName + "$MockFormatter");
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
Header.java | 35 private ArrayList<String> props; field in class:Header 48 this.props = new ArrayList<String>(20); 68 props.add(key); 69 props.add(element); 80 clone.props = (ArrayList<String>) props.clone(); 121 props.add(key); 122 props.add(value); 128 for (int i = 0; i < props.size(); i += 2) { 129 if (key.equals(props.get(i))) [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
weight.h | 126 uint64 props = kIdempotent | kLeftSemiring | kRightSemiring; local 127 if (W::Properties() & props != props)
|
/development/tools/monkeyrunner/src/com/android/monkeyrunner/ |
ScriptRunner.java | 53 Properties props = new Properties(); local 56 props.setProperty("python.verbose", "error"); 57 props.setProperty("python.path", System.getProperty("java.class.path")); 58 PythonInterpreter.initialize(System.getProperties(), props, new String[] {""}); local
|
/sdk/sdkmanager/libs/sdklib/tests/com/android/sdklib/internal/repository/ |
MockPlatformPackage.java | 41 this(new MockPlatformTarget(apiLevel, revision), null /*props*/);
57 private MockPlatformPackage(IAndroidTarget target, Properties props) {
58 super(target, props);
63 Properties props = new Properties();
local 64 props.setProperty(PlatformPackage.PROP_MIN_TOOLS_REV, Integer.toString((min_tools_rev)));
65 return props;
|
/external/webkit/WebCore/platform/graphics/wx/ |
SimpleFontDataWx.cpp | 50 wxFontProperties props = wxFontProperties(font); local 51 m_ascent = props.GetAscent(); 52 m_descent = props.GetDescent(); 53 m_lineSpacing = props.GetLineSpacing(); 54 m_xHeight = props.GetXHeight(); 56 m_lineGap = props.GetLineGap();
|
/external/chromium/net/http/ |
http_auth.cc | 32 ChallengeTokenizer props(challenge.begin(), challenge.end()); 33 if (LowerCaseEqualsASCII(props.scheme(), (*handler)->scheme().c_str()) && 60 ChallengeTokenizer props(challenge.begin(), challenge.end()); 61 if (!props.valid()) { 67 if (LowerCaseEqualsASCII(props.scheme(), "basic")) { 69 } else if (LowerCaseEqualsASCII(props.scheme(), "digest")) { 71 } else if (LowerCaseEqualsASCII(props.scheme(), "negotiate")) { 73 } else if (LowerCaseEqualsASCII(props.scheme(), "ntlm")) {
|
/frameworks/base/libs/rs/ |
rsThreadIO.cpp | 46 if (con->props.mLogTimes) { 54 if (con->props.mLogTimes) {
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-3867.js | 28 function props(x) { function 52 assertArrayEquals(["a1", "a2", "a3"], props(new A())); 53 assertArrayEquals(["b3", "b2", "b1"], props(new B())); 54 assertArrayEquals(["c3", "c1", "c2"], props(new C())); 55 assertArrayEquals(["s1", "s2", "s3"], props({s1: 0, s2: 0, s3: 0})); 56 assertArrayEquals(["s3", "s2", "s1"], props({s3: 0, s2: 0, s1: 0})); 57 assertArrayEquals(["s3", "s1", "s2"], props({s3: 0, s1: 0, s2: 0})); 62 assertArrayEquals(["a1", "a2", "a3", "a0", "a4"], props(a)); 67 assertArrayEquals(["b3", "b2", "b1", "b4", "b0"], props(b)); 72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1)) [all...] |