HomeSort by relevance Sort by last modified time
    Searched refs:Resource (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium/third_party/icu/source/common/
uresdata.h 15 * 06/24/02 weiv Added support for resource sharing
26 * A Resource is a 32-bit value that has 2 bit fields:
30 typedef uint32_t Resource;
38 /* get signed and unsigned integer values directly from the Resource handle */
42 /* indexes[] value names; indexes are generally 32-bit (Resource) indexes */
64 * If set, then this resource bundle is a standalone bundle.
74 * File format for .res resource bundle files (formatVersion=1.2)
76 * An ICU4C resource bundle file (.res) is a binary, memory-mappable file
80 * Resource root; -- 32-bit Resource item, root item for this bundle's tree
    [all...]
uresdata.c 19 * 06/24/02 weiv Added support for resource sharing
35 * Resource access helpers
44 * the resource is of the expected type.
51 static Resource
52 _res_getArrayItem(Resource *pRoot, Resource res, int32_t indexR) {
55 return ((const Resource *)(p))[1+indexR];
67 * In order to 4-align the Resource item values, there is a padding
75 _res_getTableKey(const Resource *pRoot, const Resource res, int32_t indexS)
    [all...]
uresimp.h 49 UResourceDataEntry *fParent; /*next resource in fallback chain*/
52 uint32_t fCountExisting; /* how much is this resource used */
66 char *fResPath; /* full path to the resource: "zh_TW/CollationElements/Sequence" */
70 Resource fRes;
78 /*const UResourceBundle *fParentRes;*/ /* needed to get the actual locale for a child resource */
96 * Returns a resource that can be located using the pathToResource argument. One needs optional package, locale
102 * syntax that delineates between package/tree and resource.
104 * @param pathToResource a path that will lead to the requested resource
116 * Returns a sub resource that can be located using the pathToResource argument. One needs a path inside
117 * the supplied resource, for example, if you have "en_US" resource bundle opened, you might ask fo
    [all...]
uresbund.c 18 * 06/24/02 weiv Added support for resource sharing
39 Static cache for already opened resource bundles - mostly for keeping fallback info
99 * Internal function. Tries to find a resource in given Resource
102 static const ResourceData *getFallbackData(const UResourceBundle* resBundle, const char* * resTag, UResourceDataEntry* *realData, Resource *res, UErrorCode *status) {
108 if(resB->fBogus == U_ZERO_ERROR) { /* if this resource is real, */
122 if(*res != RES_BOGUS) { /* If the resource is found in parents, we need to adjust the error */
132 } else { /* If resource is not found, we need to give an error */
186 /* some resource bundles are still open somewhere. */
237 /** INTERNAL: sets the name (locale) of the resource bundle to given name *
    [all...]
  /external/icu4c/common/
uresdata.h 15 * 06/24/02 weiv Added support for resource sharing
27 * Numeric constants for internal-only types of resource items.
36 /** Resource type constant for tables with 32-bit count, key offsets and values. */
40 * Resource type constant for tables with 16-bit count, key offsets and values.
45 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
49 * Resource type constant for arrays with 16-bit count and values.
56 * A Resource is a 32-bit value that has 2 bit fields:
60 typedef uint32_t Resource;
68 /* get signed and unsigned integer values directly from the Resource handle */
76 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offset)
    [all...]
uresdata.c 19 * 06/24/02 weiv Added support for resource sharing
37 * Resource access helpers
53 /* empty resources, returned when the resource offset is 0 */
64 * the resource is of the expected type.
156 /* get the root resource */
158 pResData->rootRes=(Resource)*pResData->pRoot;
290 res_getPublicType(Resource res) {
295 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength) {
330 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) {
349 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength)
    [all...]
uresimp.h 56 UResourceDataEntry *fParent; /*next resource in fallback chain*/
61 uint32_t fCountExisting; /* how much is this resource used */
75 char *fResPath; /* full path to the resource: "zh_TW/CollationElements/Sequence" */
79 Resource fRes;
87 /*const UResourceBundle *fParentRes;*/ /* needed to get the actual locale for a child resource */
110 * Returns a resource that can be located using the pathToResource argument. One needs optional package, locale
116 * syntax that delineates between package/tree and resource.
118 * @param pathToResource a path that will lead to the requested resource
130 * Returns a sub resource that can be located using the pathToResource argument. One needs a path inside
131 * the supplied resource, for example, if you have "en_US" resource bundle opened, you might ask fo
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/manager/
Resource.java 22 * Base class for file system resource items (Folders, Files).
24 public abstract class Resource {
ResourceFile.java 27 * Represents a Resource file (a file under $Project/res/)
29 public abstract class ResourceFile extends Resource {
41 * @see com.android.ide.eclipse.editors.resources.manager.Resource#getConfiguration()
63 * Returns whether the resource is a framework resource.
75 * Returns whether the file generated a resource of a specific type.
84 * @param projectResources The global Project Resource object, allowing the implementation to
93 * Returns the value of a resource generated by this file by {@link ResourceType} and name.
94 * <p/>If no resource match, <code>null</code> is returned.
95 * @param type the type of the resource
    [all...]
ProjectResources.java 49 * for the alternate resource types. For a compiled view use CompiledResources.
111 * @param type The resource type.
112 * @param config The resource configuration.
118 // get the list for the resource type
157 // get the list of folders for the resource type.
170 // we now need to invalidate this resource type.
184 // level items (the list of generated resource types) is not cached
236 // If not, we look for the actual content to give us the resource type.
243 // one type of resource (drawable for instance, can be created from drawable/ and
249 // there isn't a single resource type out of this folder, so we look for al
    [all...]
ResourceFolder.java 33 * Resource Folder class. Contains list of {@link ResourceFile}s,
36 public final class ResourceFolder extends Resource {
112 * Returns whether the folder is a framework resource folder.
145 * @see com.android.ide.eclipse.editors.resources.manager.Resource#getConfiguration()
214 * Returns whether a file in the folder is generating a resource of a specified type.
218 // Check if the folder type is able to generate resource of the type that was asked.
247 * @param projectResources The global Project Resource object, allowing the implementation to
  /external/webkit/WebCore/inspector/front-end/
Resource.js 29 WebInspector.Resource = function(identifier, url)
40 WebInspector.Resource.StatusText = {
98 WebInspector.Resource.Type = {
135 WebInspector.Resource.prototype = {
382 case WebInspector.Resource.Type.Document:
385 case WebInspector.Resource.Type.Stylesheet:
388 case WebInspector.Resource.Type.Script:
391 case WebInspector.Resource.Type.Image:
394 case WebInspector.Resource.Type.Font:
397 case WebInspector.Resource.Type.XHR
    [all...]
Database.js 75 return WebInspector.Resource.prototype.__lookupGetter__("displayDomain").call(this);
ResourcesPanel.js 39 this.viewsContainerElement.id = "resource-views";
128 var panelEnablerHeading = WebInspector.UIString("You need to enable resource tracking to use this panel.");
129 var panelEnablerDisclaimer = WebInspector.UIString("Enabling resource tracking will reload the page and make page loading slower.");
130 var panelEnablerButton = WebInspector.UIString("Enable resource tracking");
143 this.largerResourcesButton = new WebInspector.StatusBarButton(WebInspector.UIString("Use small resource rows."), "resources-larger-resources-status-bar-item");
206 var resource = this._resources[i];
207 var view = resource._resourcesView;
224 var resource = this._resources[i];
225 if (!resource._itemsTreeElement)
227 var resourceView = this.resourceViewForResource(resource);
    [all...]
AuditRules.js 42 304: true // Underlying resource is cacheable
70 var resource = resources[i];
71 if (types && types.indexOf(resource.type) === -1)
73 var match = resource.url.match(regexp);
82 domainResources.push(needFullResources ? resource : resource.url);
108 var resource = resources[i];
109 if (this._shouldCompress(resource)) {
110 var size = resource.contentLength;
112 if (this._isCompressed(resource)) {
    [all...]
ResourceView.js 30 WebInspector.ResourceView = function(resource)
34 this.element.addStyleClass("resource-view");
36 this.resource = resource;
53 this.headersElement.className = "resource-view-headers";
57 this.contentElement.className = "resource-view-content";
112 resource.addEventListener("url changed", this._refreshURL, this);
113 resource.addEventListener("requestHeaders changed", this._refreshRequestHeaders, this);
114 resource.addEventListener("responseHeaders changed", this._refreshResponseHeaders, this);
115 resource.addEventListener("finished", this._refreshHTTPInformation, this)
    [all...]
  /external/v8/test/cctest/
test-strings.cc 51 class Resource: public v8::String::ExternalStringResource,
54 explicit Resource(Vector<const uc16> string): data_(string.start()) {
120 Resource* resource = new Resource(Vector<const uc16>(buf, len)); local
121 building_blocks[i] = Factory::NewExternalStringFromTwoByte(resource);
383 Resource* resource = new Resource(Vector<const uc16>(non_ascii, i)); local
385 v8::String::NewExternal(resource);
    [all...]
  /external/chromium/third_party/icu/source/tools/genrb/
derb.c 62 static void printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status);
361 reportError(pname, &status, "opening resource file");
471 derb_getString(const ResourceData *pResData, const Resource res, int32_t *pLength) {
487 derb_getTableKey(const Resource *pRoot, const Resource res, uint16_t indexS) {
496 static Resource
497 derb_getArrayItem(Resource *pRoot, Resource res, int32_t indexR) {
500 return ((Resource *)(p))[1+indexR];
506 static Resource
    [all...]
  /external/chromium/third_party/icu/source/tools/toolutil/
pkgitems.cpp 140 // get dependencies from resource bundles ---------------------------------- ***
147 * Enumerate one resource item and its children and extract dependencies from
154 const Resource *inBundle, int32_t length,
155 Resource res, const char *inKey, const char *parentKey, int32_t depth,
158 const Resource *p;
170 udata_printError(ds, "icupkg/ures_enumDependencies(%s res=%08x) resource offset exceeds bundle length %d\n",
235 break; // the resource does not fit into the bundle, print error below
326 Resource item;
353 break; // the resource does not fit into the bundle, print error below
378 Resource item
    [all...]
  /external/icu4c/samples/ufortune/
fortunedefs.mk 4 # mode of resource bundle -
20 # Resource shortname
  /frameworks/base/tools/aapt/
Android.mk 22 Resource.cpp \
  /external/chromium/third_party/icu/source/test/testdata/
testdata.mak 73 # Inference rule for creating resource bundles
74 # Some test data resource bundles are known to have warnings and bad data.
77 @echo Making Test Resource Bundle files $<
81 @echo Making Test Resource Bundle file with encoding ISCII,version=0
85 @echo Making Test Resource Bundle file for IDNA reference implementation
92 # testtable32 resource file
  /cts/tests/
Android.mk 30 # Resource unit tests use a private locale and some densities
  /external/icu4c/tools/toolutil/
pkgitems.cpp 217 // get dependencies from resource bundles ---------------------------------- ***
222 * Check for the alias from the string or alias resource res.
226 Resource res, const UChar *alias, int32_t length, UBool useResSuffix,
279 * Enumerate one resource item and its children and extract dependencies from
285 Resource res, const char *inKey, const char *parentKey, int32_t depth,
326 Resource item=res_getTableItemByIndex(pResData, res, i, &itemKey);
346 Resource item=res_getArrayItem(pResData, res, i);
405 // We cannot work with a bundle if its pool resource is missing.
593 * Swap the resource bundle (if necessary) so that we can use
  /external/icu4c/test/testdata/
testdata.mak 75 # Inference rule for creating resource bundles
76 # Some test data resource bundles are known to have warnings and bad data.
79 @echo Making Test Resource Bundle files $<
83 @echo Making Test Resource Bundle file with encoding ISCII,version=0
87 @echo Making Test Resource Bundle file for IDNA reference implementation
94 # testtable32 resource file

Completed in 548 milliseconds

1 2