Searched refs:bundle (Results 1 - 25 of 335) sorted by relevance

1234567891011>>

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DBundleTest.java22 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...]
/external/chromium_org/native_client_sdk/src/build_tools/sdk_tools/command/
H A Dlist.py9 for bundle in remote_manifest.GetBundles():
10 local_bundle = local_manifest.GetBundle(bundle.name)
11 needs_update = local_bundle and local_manifest.BundleNeedsUpdate(bundle)
15 _PrintBundle(local_bundle, bundle, needs_update, display_revisions)
29 def _PrintBundle(local_bundle, bundle, needs_update, display_revisions):
31 # If bundle is None, there is no longer a remote bundle with this name.
32 if bundle is None:
33 bundle = local_bundle
37 revision = ' (r%s -> r%s)' % (local_bundle.revision, bundle
[all...]
H A Dcommand_common.py6 valid_bundles = [bundle.name for bundle in manifest.GetBundles()]
H A Dinfo.py13 logging.warn('Unknown bundle(s): %s\n' % (', '.join(invalid_bundles)))
20 bundle = manifest.GetBundle(bundle_name)
22 print bundle.name
23 for key in sorted(bundle.iterkeys()):
24 value = bundle[key]
26 for archive in bundle.GetArchives():
/external/chromium_org/tools/gyp/test/mac/type_envvars/
H A Dtest_bundle_loadable_module.sh9 test $PRODUCT_TYPE = com.apple.product-type.bundle
11 test $FULL_PRODUCT_NAME = bundle_loadable_module.bundle
15 "bundle_loadable_module.bundle/Contents/MacOS/bundle_loadable_module"
16 test $WRAPPER_NAME = bundle_loadable_module.bundle
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCBundle.cpp36 // Set the path for a bundle by supplying a
42 // Release our old bundle and URL
61 CFBundleRef bundle = get(); local
62 if (bundle)
64 CFCReleaser<CFURLRef> bundle_url (CFBundleCopyBundleURL (bundle));
77 CFBundleRef bundle = get(); local
78 if (bundle != NULL)
79 return ::CFBundleGetIdentifier (bundle);
86 CFBundleRef bundle = get(); local
87 if (bundle !
95 CFBundleRef bundle = get(); local
[all...]
/external/chromium_org/components/policy/core/common/
H A Dmock_configuration_policy_provider.cc24 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
25 bundle->Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
27 UpdatePolicy(bundle.Pass());
38 scoped_ptr<PolicyBundle> bundle(new PolicyBundle);
39 bundle->CopyFrom(policies());
40 UpdatePolicy(bundle.Pass());
H A Dproxy_policy_provider.cc47 // current bundle should be served instead. This also does the right thing
49 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
50 bundle->CopyFrom(policies());
51 UpdatePolicy(bundle.Pass());
58 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
59 bundle->CopyFrom(delegate_->policies());
60 UpdatePolicy(bundle.Pass());
H A Dpolicy_bundle_unittest.cc76 // Returns true if |bundle| is empty.
77 bool IsEmpty(const PolicyBundle& bundle) { argument
78 return bundle.begin() == bundle.end();
84 PolicyBundle bundle; local
85 EXPECT_TRUE(IsEmpty(bundle));
87 AddTestPolicies(&bundle.Get(
89 EXPECT_FALSE(IsEmpty(bundle));
93 EXPECT_TRUE(bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME,
96 PolicyBundle::const_iterator it = bundle
241 PolicyBundle bundle; local
[all...]
H A Dproxy_policy_provider_unittest.cc37 static scoped_ptr<PolicyBundle> CopyBundle(const PolicyBundle& bundle) { argument
39 copy->CopyFrom(bundle);
52 PolicyBundle bundle; local
53 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
59 mock_provider_.UpdatePolicy(CopyBundle(bundle));
64 EXPECT_TRUE(bundle.Equals(proxy_provider_.policies()));
67 bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()))
73 mock_provider_.UpdatePolicy(CopyBundle(bundle));
75 EXPECT_TRUE(bundle.Equals(proxy_provider_.policies()));
H A Dforwarding_policy_provider.cc82 scoped_ptr<PolicyBundle> bundle(new PolicyBundle());
84 bundle->CopyFrom(delegate_->policies());
85 schema_map()->FilterBundle(bundle.get());
90 bundle->Get(chrome_ns).CopyFrom(delegate_->policies().Get(chrome_ns));
93 UpdatePolicy(bundle.Pass());
H A Dconfiguration_policy_provider.cc44 scoped_ptr<PolicyBundle> bundle) {
45 if (bundle.get())
46 policy_bundle_.Swap(bundle.get());
43 UpdatePolicy( scoped_ptr<PolicyBundle> bundle) argument
/external/lldb/tools/debugserver/source/MacOSX/
H A DCFBundle.cpp56 // Set the path for a bundle by supplying a
62 // Release our old bundle and ULR
83 CFBundleRef bundle = get(); local
84 if (bundle != NULL)
85 return ::CFBundleGetIdentifier (bundle);
93 CFBundleRef bundle = get(); local
94 if (bundle != NULL)
95 return CFBundleCopyExecutableURL(bundle);
/external/icu/icu4c/source/tools/genrb/
H A Dreslist.c33 * Align binary data at a 16-byte offset from the start of the resource bundle,
56 * for use in non-error cases when no resource is to be added to the bundle.
104 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status);
118 res_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet,
126 res_write16(struct SRBRoot *bundle, struct SResource *res,
140 * before actually writing the bundle contents to the file,
145 struct SRBRoot *bundle, struct SResource *res,
155 struct SRBRoot *bundle, struct SResource *res,
159 string_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet, argument
168 if (bundle
189 array_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet, UErrorCode *status) argument
202 table_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet, UErrorCode *status) argument
215 res_preflightStrings(struct SRBRoot *bundle, struct SResource *res, UHashtable *stringSet, UErrorCode *status) argument
245 reserve16BitUnits(struct SRBRoot *bundle, int32_t length, UErrorCode *status) argument
286 mapKey(struct SRBRoot *bundle, int32_t oldpos) argument
306 makeKey16(struct SRBRoot *bundle, int32_t key) argument
320 string_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
331 array_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
363 table_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
437 res_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
473 string_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
482 bin_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
497 array_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
513 table_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
536 res_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
590 string_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
601 alias_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
610 array_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
632 intvector_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
643 bin_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
662 table_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
701 res_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
746 bundle_write(struct SRBRoot *bundle, const char *outputDir, const char *outputPkg, char *writtenFilename, int writtenFilenameLen, UErrorCode *status) argument
934 res_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode* status) argument
966 table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
976 array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
1001 stringbase_open(struct SRBRoot *bundle, const char *tag, int8_t type, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status) argument
1029 string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status) argument
1033 alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorCode *status) argument
1038 intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
1055 int_open(struct SRBRoot *bundle, const char *tag, int32_t value, const struct UString* comment, UErrorCode *status) argument
1067 bin_open(struct SRBRoot *bundle, const char *tag, uint32_t length, uint8_t *data, const char* fileName, const struct UString* comment, UErrorCode *status) argument
1103 struct SRBRoot *bundle; local
1256 bundle_close(struct SRBRoot *bundle, UErrorCode *status) argument
1364 bundle_setlocale(struct SRBRoot *bundle, UChar *locale, UErrorCode *status) argument
1387 getKeyString(const struct SRBRoot *bundle, int32_t key) argument
1396 res_getKeyString(const struct SRBRoot *bundle, const struct SResource *res, char temp[8]) argument
1404 bundle_getKeyBytes(struct SRBRoot *bundle, int32_t *pLength) argument
1410 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status) argument
1442 bundle_addtag(struct SRBRoot *bundle, const char *tag, UErrorCode *status) argument
1478 const struct SRBRoot *bundle=(const struct SRBRoot *)context; local
1515 bundle_compactKeys(struct SRBRoot *bundle, UErrorCode *status) argument
1669 string_writeUTF16v2(struct SRBRoot *bundle, struct SResource *res, int32_t utf16Length) argument
1698 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status) argument
[all...]
H A Dreslist.h39 /* Resource bundle root table */
67 void bundle_write(struct SRBRoot *bundle, const char *outputDir, const char *outputPkg, char *writtenFilename, int writtenFilenameLen, UErrorCode *status);
70 void bundle_write_java(struct SRBRoot *bundle, const char *outputDir, const char* outputEnc, char *writtenFilename,
75 /* void bundle_write_xml(struct SRBRoot *bundle, const char *outputDir,const char* outputEnc,
79 void bundle_write_xml(struct SRBRoot *bundle, const char *outputDir,const char* outputEnc, const char* rbname,
82 void bundle_close(struct SRBRoot *bundle, UErrorCode *status);
83 void bundle_setlocale(struct SRBRoot *bundle, UChar *locale, UErrorCode *status);
84 int32_t bundle_addtag(struct SRBRoot *bundle, const char *tag, UErrorCode *status);
87 bundle_getKeyBytes(struct SRBRoot *bundle, int32_t *pLength);
90 bundle_addKeyBytes(struct SRBRoot *bundle, cons
[all...]
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dreslist.c32 * Align binary data at a 16-byte offset from the start of the resource bundle,
55 * for use in non-error cases when no resource is to be added to the bundle.
103 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status);
112 res_write16(struct SRBRoot *bundle, struct SResource *res,
126 * before actually writing the bundle contents to the file,
131 struct SRBRoot *bundle, struct SResource *res,
141 struct SRBRoot *bundle, struct SResource *res,
145 reserve16BitUnits(struct SRBRoot *bundle, int32_t length, UErrorCode *status) { argument
149 if ((bundle->f16BitUnitsLength + length) > bundle
186 mapKey(struct SRBRoot *bundle, int32_t oldpos) argument
206 makeKey16(struct SRBRoot *bundle, int32_t key) argument
220 string_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
234 array_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
266 table_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
340 res_write16(struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
376 string_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
385 bin_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
400 array_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
416 table_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
439 res_preWrite(uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
493 string_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
504 alias_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
513 array_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
535 intvector_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
546 bin_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
565 table_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
604 res_write(UNewDataMemory *mem, uint32_t *byteOffset, struct SRBRoot *bundle, struct SResource *res, UErrorCode *status) argument
649 bundle_write(struct SRBRoot *bundle, const char *outputDir, const char *outputPkg, char *writtenFilename, int writtenFilenameLen, UErrorCode *status) argument
837 res_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode* status) argument
869 table_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
879 array_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
903 string_open(struct SRBRoot *bundle, const char *tag, const UChar *value, int32_t len, const struct UString* comment, UErrorCode *status) argument
971 alias_open(struct SRBRoot *bundle, const char *tag, UChar *value, int32_t len, const struct UString* comment, UErrorCode *status) argument
996 intvector_open(struct SRBRoot *bundle, const char *tag, const struct UString* comment, UErrorCode *status) argument
1013 int_open(struct SRBRoot *bundle, const char *tag, int32_t value, const struct UString* comment, UErrorCode *status) argument
1025 bin_open(struct SRBRoot *bundle, const char *tag, uint32_t length, uint8_t *data, const char* fileName, const struct UString* comment, UErrorCode *status) argument
1061 struct SRBRoot *bundle; local
1216 bundle_close(struct SRBRoot *bundle, UErrorCode *status) argument
1226 bundle_closeString(struct SRBRoot *bundle, struct SResource *string) argument
1332 bundle_setlocale(struct SRBRoot *bundle, UChar *locale, UErrorCode *status) argument
1355 getKeyString(const struct SRBRoot *bundle, int32_t key) argument
1364 res_getKeyString(const struct SRBRoot *bundle, const struct SResource *res, char temp[8]) argument
1372 bundle_getKeyBytes(struct SRBRoot *bundle, int32_t *pLength) argument
1378 bundle_addKeyBytes(struct SRBRoot *bundle, const char *keyBytes, int32_t length, UErrorCode *status) argument
1410 bundle_addtag(struct SRBRoot *bundle, const char *tag, UErrorCode *status) argument
1446 const struct SRBRoot *bundle=(const struct SRBRoot *)context; local
1483 bundle_compactKeys(struct SRBRoot *bundle, UErrorCode *status) argument
1637 string_writeUTF16v2(struct SRBRoot *bundle, struct SResource *res, int32_t utf16Length) argument
1666 bundle_compactStrings(struct SRBRoot *bundle, UErrorCode *status) argument
[all...]
/external/chromium_org/third_party/icu/source/io/
H A Dlocbund.h57 * @param bundle The ULocaleBundle to clone.
61 u_locbund_clone(const ULocaleBundle *bundle);*/
65 * @param bundle The ULocaleBundle to delete
68 u_locbund_close(ULocaleBundle *bundle);
72 * @param bundle The ULocaleBundle to use
76 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style);
H A Dlocbund.cpp103 u_locbund_clone(const ULocaleBundle *bundle)
112 result->fLocale = (char*) uprv_malloc(strlen(bundle->fLocale) + 1);
118 strcpy(result->fLocale, bundle->fLocale );
123 result->fNumberFormat[styleIdx] = unum_clone(bundle->fNumberFormat[styleIdx], &status);
132 result->fDateFormat = (bundle->fDateFormat == 0 ? 0 :
133 udat_clone(bundle->fDateFormat, &status));
134 result->fTimeFormat = (bundle->fTimeFormat == 0 ? 0 :
135 udat_clone(bundle->fTimeFormat, &status));
141 u_locbund_close(ULocaleBundle *bundle) argument
145 uprv_free(bundle
158 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) argument
[all...]
/external/icu/icu4c/source/io/
H A Dlocbund.h57 * @param bundle The ULocaleBundle to clone.
61 u_locbund_clone(const ULocaleBundle *bundle);*/
65 * @param bundle The ULocaleBundle to delete
68 u_locbund_close(ULocaleBundle *bundle);
72 * @param bundle The ULocaleBundle to use
76 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style);
H A Dlocbund.cpp103 u_locbund_clone(const ULocaleBundle *bundle)
112 result->fLocale = (char*) uprv_malloc(strlen(bundle->fLocale) + 1);
118 strcpy(result->fLocale, bundle->fLocale );
123 result->fNumberFormat[styleIdx] = unum_clone(bundle->fNumberFormat[styleIdx], &status);
132 result->fDateFormat = (bundle->fDateFormat == 0 ? 0 :
133 udat_clone(bundle->fDateFormat, &status));
134 result->fTimeFormat = (bundle->fTimeFormat == 0 ? 0 :
135 udat_clone(bundle->fTimeFormat, &status));
141 u_locbund_close(ULocaleBundle *bundle) argument
145 uprv_free(bundle
158 u_locbund_getNumberFormat(ULocaleBundle *bundle, UNumberFormatStyle style) argument
[all...]
/external/chromium_org/remoting/host/installer/mac/tools/
H A Dksunregister.sh7 KSADMIN=/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/MacOS/ksadmin
/external/chromium_org/ash/system/tray/
H A Dtray_popup_header_button.cc26 ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance(); local
28 bundle.GetImageNamed(enabled_resource_id).ToImageSkia());
30 bundle.GetImageNamed(disabled_resource_id).ToImageSkia());
32 bundle.GetImageNamed(enabled_resource_id_hover).ToImageSkia());
34 bundle.GetImageNamed(disabled_resource_id_hover).ToImageSkia());
37 SetAccessibleName(bundle.GetLocalizedString(accessible_name_id));
/external/ltrace/sysdeps/linux-gnu/ia64/
H A Dbreakpoint.c34 extract_bit_field(char *bundle, int from, int len) { argument
39 unsigned char *b = (unsigned char *)bundle;
64 /* Replace the specified bits in an instruction bundle */
66 replace_bit_field(char *bundle, long long val, int from, int len) { argument
70 unsigned char *b = (unsigned char *)bundle;
110 and instruction bundle */
112 slotN_contents(char *bundle, int slotnum) { argument
113 return extract_bit_field(bundle, 5 + 41 * slotnum, 41);
116 /* Store an instruction in an instruction bundle */
119 replace_slotN_contents(char *bundle, lon argument
179 union bundle_t bundle; local
216 union bundle_t bundle; local
[all...]
H A Dtrace.c40 /* What we think of as a bundle, ptrace thinks of it as two unsigned
43 /* An IA64 instruction bundle has a 5 bit header describing the
44 * type of bundle, then 3 41 bit instructions
89 union bundle_t bundle; local
93 * broke was in the previous bundle, so wind back the
98 bundle.code[0] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip, 0);
99 bundle.code[1] = ptrace(PTRACE_PEEKTEXT, proc->pid, ip + 8, 0);
101 unsigned long bot = 0UL | bundle.bitmap.word0.bot_slot1;
102 unsigned long top = 0UL | bundle.bitmap.word1.top_slot1;
108 insn = bundle
[all...]
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dmanifest_util.py27 # Valid values for bundle.stability field
31 # Valid values for bundle-recommended field.
205 """A placeholder for sdk bundle information. We derive Bundle from
209 """ Create a new bundle with the given bundle name."""
215 def MergeWithBundle(self, bundle):
216 """Merge this bundle with |bundle|.
218 Merges dict in |bundle| with this one in such a way that keys are not
219 duplicated: the values of the keys in |bundle| tak
[all...]

Completed in 9333 milliseconds

1234567891011>>