/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | BundleTest.java | 22 private Bundle bundle; field in class:BundleTest 25 bundle = new Bundle(); 30 assertFalse(bundle.containsKey("foo")); 31 bundle.putString("foo", "bar"); 32 assertTrue(bundle.containsKey("foo")); 37 bundle.putInt("foo", 5); 38 assertEquals(5,bundle.getInt("foo")); 39 assertEquals(0,bundle.getInt("bar")); 40 assertEquals(7, bundle.getInt("bar", 7)); 45 assertEquals(0, bundle [all...] |
H A D | ResultReceiverTest.java | 17 Bundle bundle = new Bundle(); 19 testResultReceiver.send(5, bundle); 21 assertEquals(bundle, testResultReceiver.resultData);
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/ |
H A D | JaCoCo.java | 31 final ResourceBundle bundle = ResourceBundle 33 VERSION = bundle.getString("VERSION"); 34 HOMEURL = bundle.getString("HOMEURL"); 35 RUNTIMEPACKAGE = bundle.getString("RUNTIMEPACKAGE");
|
/external/jcommander/src/test/resources/ |
H A D | MessageBundle_en_US.properties | 20 command = Command from the bundle
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
H A D | UResourceBundleIterator.java | 40 private UResourceBundle bundle; field in class:UResourceBundleIterator 44 * Construct a resource bundle iterator for the 45 * given resource bundle 47 * @param bndl The resource bundle to iterate over 50 bundle = bndl; 51 size = bundle.getSize(); 61 return bundle.get(index++); 73 return bundle.getString(index++);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | UResourceBundleIterator.java | 39 private UResourceBundle bundle; field in class:UResourceBundleIterator 43 * Construct a resource bundle iterator for the 44 * given resource bundle 46 * @param bndl The resource bundle to iterate over 50 bundle = bndl; 51 size = bundle.getSize(); 62 return bundle.get(index++); 75 return bundle.getString(index++);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
H A D | TestDefaultPackageLoading.jpp | 29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 30 String aaa = bundle.getString("aaa"); 40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 41 String aaa = bundle.getString("string_only_in_te"); 51 UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge"); 52 String aaa = bundle.getString("string_only_in_te"); 56 logln("Got : " + bundle.getULocale().getName());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TestDefaultPackageLoading.jpp | 29 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 30 String aaa = bundle.getString("aaa"); 40 UResourceBundle bundle = UResourceBundle.getBundleInstance("", "te"); 41 String aaa = bundle.getString("string_only_in_te"); 51 UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge"); 52 String aaa = bundle.getString("string_only_in_te"); 56 logln("Got : " + bundle.getULocale().getName());
|
/external/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/ |
H A D | LogServiceFactory.java | 52 public Object getService(Bundle bundle, ServiceRegistration arg1) { argument 53 return new LogServiceImpl(bundle); 62 public void ungetService(Bundle bundle, ServiceRegistration arg1, Object arg2) { argument
|
/external/icu/icu4c/source/io/ |
H A D | locbund.h | 59 * @param bundle The ULocaleBundle to clone. 63 u_locbund_clone(const ULocaleBundle *bundle);*/ 67 * @param bundle The ULocaleBundle to delete 70 u_locbund_close(ULocaleBundle *bundle); 74 * @param bundle The ULocaleBundle to use 78 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style);
|
H A D | locbund.cpp | 105 u_locbund_clone(const ULocaleBundle *bundle) 114 result->fLocale = (char*) uprv_malloc(strlen(bundle->fLocale) + 1); 120 strcpy(result->fLocale, bundle->fLocale ); 125 result->fNumberFormat[styleIdx] = unum_clone(bundle->fNumberFormat[styleIdx], &status); 134 result->fDateFormat = (bundle->fDateFormat == 0 ? 0 : 135 udat_clone(bundle->fDateFormat, &status)); 136 result->fTimeFormat = (bundle->fTimeFormat == 0 ? 0 : 137 udat_clone(bundle->fTimeFormat, &status)); 143 u_locbund_close(ULocaleBundle *bundle) argument 147 uprv_free(bundle 160 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) argument [all...] |
/external/curl/lib/ |
H A D | conncache.c | 44 data->bundle = NULL; 79 /* Add a connection to a bundle */ 86 conn->bundle = cb_ptr; 92 /* Remove a connection from a bundle */ 103 conn->bundle = NULL; 130 /* returns an allocated key to find a bundle for this connection */ 147 /* Look up the bundle with all the connections to the same host this 152 struct connectbundle *bundle = NULL; local 156 bundle = Curl_hash_pick(&connc->hash, key, strlen(key)); 161 return bundle; 164 conncache_add_bundle(struct conncache *connc, char *key, struct connectbundle *bundle) argument 173 conncache_remove_bundle(struct conncache *connc, struct connectbundle *bundle) argument 201 struct connectbundle *bundle; local 249 struct connectbundle *bundle = conn->bundle; local 290 struct connectbundle *bundle; local 315 struct connectbundle *bundle; local [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/ |
H A D | BundlePage.java | 24 * Page showing coverage information for a bundle. The page contains a table 25 * with all packages of the bundle. 31 private IBundleCoverage bundle; field in class:BundlePage 36 * @param bundle 37 * coverage date for the bundle 43 * base folder for this bundle 47 public BundlePage(final IBundleCoverage bundle, final ReportPage parent, argument 50 super(bundle.getPlainCopy(), parent, folder, context); 51 this.bundle = bundle; [all...] |
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
H A D | PlayerBufferPeriodActivity.java | 39 Bundle bundle = getIntent().getExtras(); 42 int[] bufferData = bundle.getIntArray("playerBufferPeriodArray"); 43 int bufferDataMax = bundle.getInt("playerBufferPeriodMax");
|
H A D | RecorderBufferPeriodActivity.java | 41 Bundle bundle = getIntent().getExtras(); 44 int[] bufferData = bundle.getIntArray("recorderBufferPeriodArray"); 45 int bufferDataMax = bundle.getInt("recorderBufferPeriodMax");
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/ |
H A D | Sample30_ResHello.java | 22 UResourceBundle bundle = 27 System.out.println(bundle.getString("hello"));
|
/external/icu/icu4c/source/tools/genrb/ |
H A D | reslist.h | 69 /* Resource bundle root table */ 123 void bundle_write_java(struct SRBRoot *bundle, const char *outputDir, const char* outputEnc, char *writtenFilename, 128 void bundle_write_xml(struct SRBRoot *bundle, const char *outputDir,const char* outputEnc, const char* rbname, 135 * for use in non-error cases when no resource is to be added to the bundle. 144 TableResource *table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status); 146 ArrayResource *array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status); 148 struct SResource *string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); 150 struct SResource *alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorCode *status); 152 IntVectorResource *intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status); 154 struct SResource *int_open(struct SRBRoot *bundle, cons 228 ContainerResource(SRBRoot *bundle, const char *tag, int8_t type, const UString* comment, UErrorCode &errorCode) argument 249 TableResource(SRBRoot *bundle, const char *tag, const UString* comment, UErrorCode &errorCode) argument 267 ArrayResource(SRBRoot *bundle, const char *tag, const UString* comment, UErrorCode &errorCode) argument 288 PseudoListResource(SRBRoot *bundle, UErrorCode &errorCode) argument 319 StringResource(SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const UString* comment, UErrorCode &errorCode) argument 324 StringResource(SRBRoot *bundle, const icu::UnicodeString &value, UErrorCode &errorCode) argument 358 AliasResource(SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const UString* comment, UErrorCode &errorCode) argument [all...] |
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
H A D | BundleCoverageImplTest.java | 40 BundleCoverageImpl bundle = new BundleCoverageImpl("testbundle", 42 assertEquals(ICoverageNode.ElementType.BUNDLE, bundle.getElementType()); 43 assertEquals("testbundle", bundle.getName()); 44 assertEquals(packages, bundle.getPackages()); 71 BundleCoverageImpl bundle = new BundleCoverageImpl("testbundle", 73 assertEquals(CounterImpl.getInstance(2, 0), bundle.getClassCounter()); 74 assertEquals(CounterImpl.getInstance(4, 0), bundle.getMethodCounter()); 75 assertEquals(CounterImpl.getInstance(6, 0), bundle.getBranchCounter()); 77 bundle.getInstructionCounter()); 78 assertEquals(CounterImpl.getInstance(10, 0), bundle [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/ |
H A D | XMLGroupVisitor.java | 48 protected void handleBundle(final IBundleCoverage bundle, argument 50 final XMLElement child = createChild(bundle.getName()); 51 XMLCoverageWriter.writeBundle(bundle, child);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | ICUResourceTableAccess.java | 22 * Utility to fetch locale display data from resource bundle tables. Convenience 27 ICUResourceBundle bundle = (ICUResourceBundle) UResourceBundle. 29 return getTableString(bundle, tableName, null, itemName, defaultValue); 33 * Utility to fetch locale display data from resource bundle tables. Uses fallback 36 public static String getTableString(ICUResourceBundle bundle, String tableName, argument 41 ICUResourceBundle table = bundle.findWithFallback(tableName); 87 bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance( 88 bundle.getBaseName(), fallbackLocale);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUResourceTableAccess.java | 20 * Utility to fetch locale display data from resource bundle tables. Convenience 25 ICUResourceBundle bundle = (ICUResourceBundle) UResourceBundle. 27 return getTableString(bundle, tableName, null, itemName, defaultValue); 31 * Utility to fetch locale display data from resource bundle tables. Uses fallback 34 public static String getTableString(ICUResourceBundle bundle, String tableName, argument 39 ICUResourceBundle table = bundle.findWithFallback(tableName); 85 bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance( 86 bundle.getBaseName(), fallbackLocale);
|
/external/autotest/server/site_tests/cheets_CTS/ |
H A D | control.arm.android.core.tests.libcore.package.com | 27 bundle='arm',
|
H A D | control.x86.android.core.tests.libcore.package.com | 27 bundle='x86',
|
/external/libchrome/base/mac/ |
H A D | bundle_locations.h | 29 // - "Outer Bundle" - This is the main bundle for Chrome; it's what 32 // - "Main Bundle" - This is the bundle from which Chrome was launched. 33 // This will be the same as the outer bundle except when Chrome is launched 35 // bundle rather than the main Chrome bundle. 37 // - "Framework Bundle" - This is the bundle corresponding to the Chrome 41 // - To access a resource, the Framework bundle should be used. 43 // carefully. Most often the Outer bundle will be the right choice, but for 45 // bundle is probably the one to use. 55 // Set the bundle tha [all...] |
/external/jacoco/org.jacoco.report/src/org/jacoco/report/ |
H A D | IReportGroupVisitor.java | 38 * Called to add a bundle to the the report. 40 * @param bundle 41 * a bundle to include in the report 43 * source locator for this bundle 47 void visitBundle(IBundleCoverage bundle, ISourceFileLocator locator) argument
|