Home
last modified time | relevance | path

Searched refs:bundle (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DBundleTest.java22 private Bundle bundle; field in BundleTest
25 bundle = new Bundle(); in setUp()
30 assertFalse(bundle.containsKey("foo")); in testContainsKey()
31 bundle.putString("foo", "bar"); in testContainsKey()
32 assertTrue(bundle.containsKey("foo")); in testContainsKey()
37 bundle.putInt("foo", 5); in testInt()
38 assertEquals(5,bundle.getInt("foo")); in testInt()
39 assertEquals(0,bundle.getInt("bar")); in testInt()
40 assertEquals(7, bundle.getInt("bar", 7)); in testInt()
45 assertEquals(0, bundle.size()); in testSize()
[all …]
/external/curl/lib/
Dconncache.c46 data->bundle = NULL; in conn_llist_dtor()
88 conn->bundle = cb_ptr; in bundle_add_conn()
105 conn->bundle = NULL; in bundle_remove_conn()
145 struct connectbundle *bundle = NULL; in Curl_conncache_find_bundle() local
149 bundle = Curl_hash_pick(&connc->hash, key, strlen(key)); in Curl_conncache_find_bundle()
154 return bundle; in Curl_conncache_find_bundle()
159 struct connectbundle *bundle) in conncache_add_bundle() argument
161 void *p = Curl_hash_add(&connc->hash, key, strlen(key), bundle); in conncache_add_bundle()
167 struct connectbundle *bundle) in conncache_remove_bundle() argument
179 if(he->ptr == bundle) { in conncache_remove_bundle()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dreslist.h121 void bundle_write_java(struct SRBRoot *bundle, const char *outputDir, const char* outputEnc, char *…
126 void bundle_write_xml(struct SRBRoot *bundle, const char *outputDir,const char* outputEnc, const ch…
142 TableResource *table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, U…
144 ArrayResource *array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, U…
146 struct SResource *string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t …
148 struct SResource *alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, co…
150 IntVectorResource *intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* c…
152 struct SResource *int_open(struct SRBRoot *bundle, const char *tag, int32_t value, const struct USt…
154 struct SResource *bin_open(struct SRBRoot *bundle, const char *tag, uint32_t length, uint8_t *data,…
160 SResource(SRBRoot *bundle, const char *tag, int8_t type, const UString* comment,
[all …]
Dreslist.cpp148 SResource::SResource(SRBRoot *bundle, const char *tag, int8_t type, const UString* comment, in SResource() argument
151 fKey(bundle != NULL ? bundle->addTag(tag, errorCode) : -1), fKey16(-1), in SResource()
262 StringBaseResource::StringBaseResource(SRBRoot *bundle, const char *tag, int8_t type, in StringBaseResource() argument
265 : SResource(bundle, tag, type, comment, errorCode) { in StringBaseResource()
279 StringBaseResource::StringBaseResource(SRBRoot *bundle, int8_t type, in StringBaseResource() argument
281 : SResource(bundle, NULL, type, NULL, errorCode), fString(value) { in StringBaseResource()
321 IntResource::IntResource(SRBRoot *bundle, const char *tag, int32_t value, in IntResource() argument
323 : SResource(bundle, tag, URES_INT, comment, errorCode) { in IntResource()
331 IntVectorResource::IntVectorResource(SRBRoot *bundle, const char *tag, in IntVectorResource() argument
333 : SResource(bundle, tag, URES_INT_VECTOR, comment, errorCode), in IntVectorResource()
[all …]
/external/autotest/client/site_tests/hardware_VideoDecodeCapable/src/
Dvaapimodule.cc33 DisplayBundle* bundle = (DisplayBundle*) PyCapsule_GetPointer(object, NULL); in destroy_display_bundle() local
34 vaTerminate(bundle->va_display); in destroy_display_bundle()
36 XCloseDisplay(bundle->x11_display); in destroy_display_bundle()
38 close(bundle->drm_fd); in destroy_display_bundle()
40 delete bundle; in destroy_display_bundle()
83 DisplayBundle* bundle = new DisplayBundle(); in va_create_display() local
85 bundle->x11_display = x11_display; in va_create_display()
87 bundle->drm_fd = drm_fd; in va_create_display()
89 bundle->va_display = va_display; in va_create_display()
91 return PyCapsule_New(bundle, NULL, destroy_display_bundle); in va_create_display()
[all …]
/external/ltrace/sysdeps/linux-gnu/ia64/
Dbreakpoint.c34 extract_bit_field(char *bundle, int from, int len) { in extract_bit_field() argument
39 unsigned char *b = (unsigned char *)bundle; in extract_bit_field()
66 replace_bit_field(char *bundle, long long val, int from, int len) { in replace_bit_field() argument
70 unsigned char *b = (unsigned char *)bundle; in replace_bit_field()
112 slotN_contents(char *bundle, int slotnum) { in slotN_contents() argument
113 return extract_bit_field(bundle, 5 + 41 * slotnum, 41); in slotN_contents()
119 replace_slotN_contents(char *bundle, long long instr, int slotnum) { in replace_slotN_contents() argument
120 replace_bit_field(bundle, instr, 5 + 41 * slotnum, 41); in replace_slotN_contents()
179 union bundle_t bundle; in arch_enable_breakpoint() local
189 bundle.ubundle[0] = ptrace(PTRACE_PEEKTEXT, pid, addr, 0); in arch_enable_breakpoint()
[all …]
Dtrace.c89 union bundle_t bundle; in syscall_p() local
98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0); in syscall_p()
99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0); in syscall_p()
101 unsigned long bot = 0UL | bundle.bitmap.word0.bot_slot1; in syscall_p()
102 unsigned long top = 0UL | bundle.bitmap.word1.top_slot1; in syscall_p()
108 insn = bundle.bitmap.word1.slot2; in syscall_p()
111 insn = bundle.bitmap.word0.slot0; in syscall_p()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUResourceBundleTest.java87 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() local
88 Object o = bundle.getObject("holidays"); in TestResourceBundleWrapper()
95 bundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper()
96 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper()
103 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper()
104 if(bundle!=null){ in TestResourceBundleWrapper()
117 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance("com/ibm/icu/dev/data… in TestJB3879() local
118 if(bundle==null){ in TestJB3879()
127 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU… in TestOpen() local
129 if(bundle==null){ in TestOpen()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUResourceBundleTest.java91 …UResourceBundle bundle = UResourceBundle.getBundleInstance("android.icu.impl.data.HolidayBundle", … in TestResourceBundleWrapper() local
92 Object o = bundle.getObject("holidays"); in TestResourceBundleWrapper()
99 bundle = UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_BASE_NAME, "bogus"); in TestResourceBundleWrapper()
100 if(bundle instanceof UResourceBundle && bundle.getULocale().getName().equals("en_US")){ in TestResourceBundleWrapper()
107 bundle = UResourceBundle.getBundleInstance("bogus", "bogus"); in TestResourceBundleWrapper()
108 if(bundle!=null){ in TestResourceBundleWrapper()
121 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance("android/icu/dev/data… in TestJB3879() local
122 if(bundle==null){ in TestJB3879()
131 …UResourceBundle bundle = (UResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU… in TestOpen() local
133 if(bundle==null){ in TestOpen()
[all …]
DICUResourceBundleCollationTest.java96 ICUResourceBundle bundle = null; in TestGetWithFallback() local
99bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BAS… in TestGetWithFallback()
101 if(!bundle.getULocale().getName().equals("de")){ in TestGetWithFallback()
104 key = bundle.getStringWithFallback("collations/collation/default"); in TestGetWithFallback()
114bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BAS… in TestGetWithFallback()
115 key = bundle.getStringWithFallback("collations/default"); in TestGetWithFallback()
150 …UResourceBundle bundle = (UResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_… in TestOpen() local
151 if(bundle==null){ in TestOpen()
/external/jacoco/org.jacoco.ant/META-INF/
DMANIFEST.MF8 Require-Bundle: org.apache.ant;bundle-version="[1.7.0,2.0.0)"
9 Import-Package: org.jacoco.agent;bundle-version="[0.7.5,0.7.6)",
10 org.jacoco.core.analysis;bundle-version="[0.7.5,0.7.6)",
11 org.jacoco.core.data;bundle-version="[0.7.5,0.7.6)",
12 org.jacoco.core.instr;bundle-version="[0.7.5,0.7.6)",
13 org.jacoco.core.runtime;bundle-version="[0.7.5,0.7.6)",
14 org.jacoco.core.tools;bundle-version="[0.7.5,0.7.6)",
15 org.jacoco.report;bundle-version="[0.7.5,0.7.6)",
16 org.jacoco.report.check;bundle-version="[0.7.5,0.7.6)",
17 org.jacoco.report.csv;bundle-version="[0.7.5,0.7.6)",
[all …]
/external/icu/icu4c/source/io/
Dlocbund.cpp141 u_locbund_close(ULocaleBundle *bundle) in u_locbund_close() argument
145 uprv_free(bundle->fLocale); in u_locbund_close()
148 if (bundle->fNumberFormat[styleIdx]) { in u_locbund_close()
149 unum_close(bundle->fNumberFormat[styleIdx]); in u_locbund_close()
153 uprv_memset(bundle, 0, sizeof(ULocaleBundle)); in u_locbund_close()
158 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) in u_locbund_getNumberFormat() argument
162 formatAlias = bundle->fNumberFormat[style-1]; in u_locbund_getNumberFormat()
164 if (bundle->isInvariantLocale) { in u_locbund_getNumberFormat()
165 formatAlias = copyInvariantFormatter(bundle, style); in u_locbund_getNumberFormat()
169 formatAlias = unum_open(style, NULL, 0, bundle->fLocale, NULL, &status); in u_locbund_getNumberFormat()
[all …]
/external/libchrome/base/mac/
Dbundle_locations.mm24 NSBundle* bundle = MainBundle();
25 return NSStringToFilePath([bundle bundlePath]);
35 NSBundle* bundle = OuterBundle();
36 return NSStringToFilePath([bundle bundlePath]);
46 NSBundle* bundle = FrameworkBundle();
47 return NSStringToFilePath([bundle bundlePath]);
62 DCHECK(new_bundle) << "Failed to load the bundle at " << file_path.value();
66 void SetOverrideOuterBundle(NSBundle* bundle) {
67 AssignOverrideBundle(bundle, &g_override_outer_bundle);
70 void SetOverrideFrameworkBundle(NSBundle* bundle) {
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DBundleCoverageImplTest.java40 BundleCoverageImpl bundle = new BundleCoverageImpl("testbundle", in testProperties() local
42 assertEquals(ICoverageNode.ElementType.BUNDLE, bundle.getElementType()); in testProperties()
43 assertEquals("testbundle", bundle.getName()); in testProperties()
44 assertEquals(packages, bundle.getPackages()); in testProperties()
71 BundleCoverageImpl bundle = new BundleCoverageImpl("testbundle", in testCounters() local
73 assertEquals(CounterImpl.getInstance(2, 0), bundle.getClassCounter()); in testCounters()
74 assertEquals(CounterImpl.getInstance(4, 0), bundle.getMethodCounter()); in testCounters()
75 assertEquals(CounterImpl.getInstance(6, 0), bundle.getBranchCounter()); in testCounters()
77 bundle.getInstructionCounter()); in testCounters()
78 assertEquals(CounterImpl.getInstance(10, 0), bundle.getLineCounter()); in testCounters()
[all …]
/external/jacoco/org.jacoco.examples/META-INF/
DMANIFEST.MF8 Import-Package: org.jacoco.core.analysis;bundle-version="[0.7.5,0.7.6)",
9 org.jacoco.core.data;bundle-version="[0.7.5,0.7.6)",
10 org.jacoco.core.instr;bundle-version="[0.7.5,0.7.6)",
11 org.jacoco.core.runtime;bundle-version="[0.7.5,0.7.6)",
12 org.jacoco.core.tools;bundle-version="[0.7.5,0.7.6)",
13 org.jacoco.report;bundle-version="[0.7.5,0.7.6)",
14 org.jacoco.report.html;bundle-version="[0.7.5,0.7.6)",
/external/llvm/test/tools/dsymutil/X86/
Dbasic-linking-bundle.test1 RUN: rm -rf %T/basic-linking-bundle
2 RUN: mkdir -p %T/basic-linking-bundle/dsymdest
3 RUN: cat %p/../Inputs/basic.macho.x86_64 > %T/basic-linking-bundle/basic.macho.x86_64
5 RUN: llvm-dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64
6 RUN: llvm-dwarfdump %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Resources/DWARF/basic.…
7 RUN: FileCheck %s --input-file %T/basic-linking-bundle/basic.macho.x86_64.dSYM/Contents/Info.plist
9 …dsymutil -oso-prepend-path=%p/.. %T/basic-linking-bundle/basic.macho.x86_64 -o %T/basic-linking-bu…
10 RUN: llvm-dwarfdump %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/Resources/DWA…
11 RUN: FileCheck %s --input-file %T/basic-linking-bundle/dsymdest/basic.macho.x86_64.dSYM/Contents/In…
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DBundlePage.java31 private IBundleCoverage bundle; field in BundlePage
47 public BundlePage(final IBundleCoverage bundle, final ReportPage parent, in BundlePage() argument
50 super(bundle.getPlainCopy(), parent, folder, context); in BundlePage()
51 this.bundle = bundle; in BundlePage()
60 bundle = null; in render()
64 for (final IPackageCoverage p : bundle.getPackages()) { in renderPackages()
/external/jetty/src/java/org/eclipse/jetty/util/
DLoader.java131 ResourceBundle bundle =null; in getResourceBundle() local
133 while (bundle==null && loader!=null ) in getResourceBundle()
135 try { bundle=ResourceBundle.getBundle(name, locale, loader); } in getResourceBundle()
137 loader=(bundle==null&&checkParents)?loader.getParent():null; in getResourceBundle()
141 while (bundle==null && loader!=null ) in getResourceBundle()
143 try { bundle=ResourceBundle.getBundle(name, locale, loader); } in getResourceBundle()
145 loader=(bundle==null&&checkParents)?loader.getParent():null; in getResourceBundle()
148 if (bundle==null) in getResourceBundle()
150 try { bundle=ResourceBundle.getBundle(name, locale); } in getResourceBundle()
154 if (bundle!=null) in getResourceBundle()
[all …]
/external/valgrind/
Ddarwin14.supp535 obj:*RawCamera.bundle*RawCamera*
574 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
575 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
576 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
581 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
582 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
583 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
590 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
591 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
597 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
[all …]
Ddarwin15.supp594 obj:*RawCamera.bundle*RawCamera*
633 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
634 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
635 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
640 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
641 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
642 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
649 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
650 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
656 obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver*
[all …]
/external/icu/icu4c/source/test/intltest/
Dnptrans.cpp51 bundle = NULL; in NamePrepTransform()
60 bundle = ures_openDirect(testDataName,"idna_rules",&status); in NamePrepTransform()
62 if(bundle != NULL && U_SUCCESS(status)){ in NamePrepTransform()
65 const UChar* ruleUChar = ures_getStringByKey(bundle, "MapNFKC",&ruleLen, &status); in NamePrepTransform()
67 …const UChar *mapRuleUChar = ures_getStringByKey(bundle, "MapNoNormalization", &mapRuleLen, &status… in NamePrepTransform()
79 const UChar* pattern = ures_getStringByKey(bundle,"UnassignedSet",&patternLen, &status); in NamePrepTransform()
84 pattern = ures_getStringByKey(bundle,"ProhibitedSet",&patternLen, &status); in NamePrepTransform()
108 pattern = ures_getStringByKey(bundle,"LabelSeparatorSet",&patternLen, &status); in NamePrepTransform()
117 ures_close(bundle); in NamePrepTransform()
119 bundle = NULL; in NamePrepTransform()
[all …]
/external/jacoco/jacoco-maven-plugin/src/org/jacoco/maven/
DBundleCreator.java81 final IBundleCoverage bundle = builder in createBundle() local
83 logBundleInfo(bundle, builder.getNoMatchClasses()); in createBundle()
85 return bundle; in createBundle()
88 private void logBundleInfo(final IBundleCoverage bundle, in logBundleInfo() argument
91 bundle.getName(), in logBundleInfo()
92 Integer.valueOf(bundle.getClassCounter().getTotalCount()))); in logBundleInfo()
97 bundle.getName())); in logBundleInfo()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUResourceBundleIterator.java38 private UResourceBundle bundle; field in UResourceBundleIterator
48 bundle = bndl; in UResourceBundleIterator()
49 size = bundle.getSize(); in UResourceBundleIterator()
59 return bundle.get(index++); in next()
71 return bundle.getString(index++); in nextString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUResourceBundleIterator.java37 private UResourceBundle bundle; field in UResourceBundleIterator
48 bundle = bndl; in UResourceBundleIterator()
49 size = bundle.getSize(); in UResourceBundleIterator()
60 return bundle.get(index++); in next()
73 return bundle.getString(index++); in nextString()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/
DICUResourceBundleCollationTest.java92 ICUResourceBundle bundle = null; in TestGetWithFallback() local
95bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BAS… in TestGetWithFallback()
97 if(!bundle.getULocale().getName().equals("de")){ in TestGetWithFallback()
100 key = bundle.getStringWithFallback("collations/collation/default"); in TestGetWithFallback()
110bundle = (ICUResourceBundle) UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_COLLATION_BAS… in TestGetWithFallback()
111 key = bundle.getStringWithFallback("collations/default"); in TestGetWithFallback()
146 …UResourceBundle bundle = (UResourceBundle)UResourceBundle.getBundleInstance(ICUResourceBundle.ICU_… in TestOpen() local
147 if(bundle==null){ in TestOpen()

12345678910>>...20