Searched defs:resource (Results 1 - 25 of 721) sorted by last modified time

1234567891011>>

/external/webrtc/src/modules/audio_processing/test/testsupport/
H A Dfileutils_unittest.cc75 // Clean up all resource files written
176 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); local
177 ASSERT_GT(resource.find(kTestName), 0u);
178 ASSERT_GT(resource.find(kExtension), 0u);
/external/webrtc/test/testsupport/
H A Dfileutils_unittest.cc75 // Clean up all resource files written
176 std::string resource = webrtc::test::ResourcePath(kTestName, kExtension); local
177 ASSERT_GT(resource.find(kTestName), 0u);
178 ASSERT_GT(resource.find(kExtension), 0u);
/external/valgrind/main/coregrind/
H A Dm_libcproc.c399 Int VG_(getrlimit) (Int resource, struct vki_rlimit *rlim) argument
402 /* res = getrlimit( resource, rlim ); */
404 res = VG_(do_syscall2)(__NR_ugetrlimit, resource, (UWord)rlim);
407 res = VG_(do_syscall2)(__NR_getrlimit, resource, (UWord)rlim);
413 Int VG_(setrlimit) (Int resource, const struct vki_rlimit *rlim) argument
416 /* res = setrlimit( resource, rlim ); */
417 res = VG_(do_syscall2)(__NR_setrlimit, resource, (UWord)rlim);
/external/svox/pico/lib/
H A Dpicoapi.c304 * pico_loadResource : Loads a resource file into the Pico system
306 * @param *lingwareFileName : lingware resource file name
307 * @param *outLingware : pointer to receive the loaded lingware resource memory area address
326 PICODBG_DEBUG(("memory usage before resource loading"));
330 PICODBG_DEBUG(("memory used to load resource %s", lingwareFileName));
338 * pico_unloadResource : unLoads a resource file from the Pico system
340 * @param *inoutLingware : pointer to the loaded lingware resource memory area address
360 PICODBG_DEBUG(("memory usage before resource unloading"));
364 PICODBG_DEBUG(("memory released by resource unloading"));
373 * pico_getResourceName : Gets a resource nam
382 pico_getResourceName( pico_System system, pico_Resource resource, pico_Retstring outName) argument
[all...]
H A Dpicorsrc.c62 /* next connects all active resources of a resource manager and the garbaged resources of the manager's free list */
66 picoos_int8 lockCount; /* count of current subscribers of this resource */
86 * Returns non-zero if 'this' is a valid resource handle, zero otherwise.
225 picorsrc_Resource * resource */);
508 /* currently we consider a kb mentioned in resource but with offset 0 (no knowledge) as
533 /* load resource file. the type of resource file etc. are in the header,
537 picoos_char * fileName, picorsrc_Resource * resource)
545 if (resource == NULL) {
548 *resource
536 picorsrc_loadResource(picorsrc_ResourceManager this, picoos_char * fileName, picorsrc_Resource * resource) argument
689 picorsrc_unloadResource(picorsrc_ResourceManager this, picorsrc_Resource * resource) argument
[all...]
/external/skia/src/gpu/
H A DGrContext.cpp245 GrCacheable* resource = fResourceCache->find(resourceKey); local
246 SkSafeRef(resource);
247 return static_cast<GrTexture*>(resource);
271 GrCacheable* resource = fResourceCache->find(resourceKey); local
272 return static_cast<GrStencilBuffer*>(resource);
406 // Adding a resource could put us overbudget. Try to free up the
425 // Adding a resource could put us overbudget. Try to free up the
428 // Make the resource exclusive so future 'find' calls don't return it
459 GrCacheable* resource = NULL; local
466 resource
1897 addResourceToCache(const GrResourceKey& resourceKey, GrCacheable* resource) argument
1903 GrCacheable* resource = fResourceCache->find(resourceKey); local
[all...]
H A DGrResourceCache.cpp41 GrCacheable* resource)
44 fResource(resource),
45 fCachedSize(resource->gpuMemorySize()),
47 // we assume ownership of the resource, and will unref it when we die
48 SkASSERT(resource);
49 resource->ref();
196 return entry->resource()->unique();
220 // Make this resource MRU
229 GrCacheable* resource,
231 SkASSERT(NULL == resource
39 GrResourceCacheEntry(GrResourceCache* resourceCache, const GrResourceKey& key, GrCacheable* resource) argument
228 addResource(const GrResourceKey& key, GrCacheable* resource, uint32_t ownershipFlags) argument
[all...]
H A DGrResourceCache.h33 across resource types. */
42 /** Creates a key for resource */
121 GrCacheable* resource() const { return fResource; } function in class:GrResourceCacheEntry
133 * Update the cached size for this entry and inform the resource cache that
142 GrCacheable* resource);
163 * resource. Multiple resources can map to same GrResourceKey.
182 * Return the current resource cache limits.
192 * Specify the resource cache limits. If the current cache exceeds either
197 * @param maxBytes The maximum number of bytes of resource memory that
231 // For a found or added resource t
[all...]
/external/skia/src/pdf/
H A DSkPDFTypes.cpp49 void SkPDFObject::AddResourceHelper(SkPDFObject* resource, argument
51 list->push(resource);
52 resource->ref();
/external/skia/tests/
H A DResourceCacheTest.cpp93 void setDeleteWhenDestroyed(GrResourceCache* cache, TestResource* resource) { argument
95 fToDelete = resource;
129 // Add a third independent resource also with the same key.
249 // Test changing the size of an exclusively-held resource.
269 // Internal resource cache validation will test the detached size (debug mode only).
277 // Internal resource cache validation will test the detached size (debug mode only).
/external/skia/tools/
H A DResources.cpp15 SkString GetResourcePath(const char* resource) { argument
16 return SkOSPath::SkPathJoin(FLAGS_resourcePath[0], resource);
H A Dskdiff_html.cpp181 static void print_diff_resource_cell(SkFILEWStream* stream, DiffResource& resource, argument
183 if (resource.fBitmap.empty()) {
184 if (DiffResource::kCouldNotDecode_Status == resource.fStatus) {
185 if (local && !resource.fFilename.isEmpty()) {
186 print_link_cell(stream, resource.fFilename, "N/A");
189 if (!resource.fFullPath.isEmpty()) {
190 if (!resource.fFullPath.startsWith(PATH_DIV_STR)) {
191 resource.fFullPath.prepend(relativePath);
193 print_link_cell(stream, resource.fFullPath, "N/A");
201 int height = compute_image_height(resource
[all...]
H A Dskdiff_main.cpp297 static void get_bounds(DiffResource& resource, const char* name) { argument
298 if (resource.fBitmap.empty() && !DiffResource::isStatusFailed(resource.fStatus)) {
299 SkAutoDataUnref fileBits(read_file(resource.fFullPath.c_str()));
301 SkDebugf("WARNING: couldn't read %s file <%s>\n", name, resource.fFullPath.c_str());
302 resource.fStatus = DiffResource::kCouldNotRead_Status;
304 get_bitmap(fileBits, resource, SkImageDecoder::kDecodeBounds_Mode);
H A Dskdiff_utils.cpp51 bool get_bitmap(SkData* fileBits, DiffResource& resource, SkImageDecoder::Mode mode) { argument
56 SkDebugf("ERROR: no codec found for <%s>\n", resource.fFullPath.c_str());
57 resource.fStatus = DiffResource::kCouldNotDecode_Status;
66 if (!codec->decode(&stream, &resource.fBitmap, kN32_SkColorType, mode)) {
67 SkDebugf("ERROR: codec failed for basePath <%s>\n", resource.fFullPath.c_str());
68 resource.fStatus = DiffResource::kCouldNotDecode_Status;
72 resource.fStatus = DiffResource::kDecoded_Status;
/external/smack/src/org/jivesoftware/smack/
H A DBOSHConnection.java304 public void login(String username, String password, String resource) argument
320 response = saslAuthentication.authenticate(username, password, resource);
322 response = saslAuthentication.authenticate(username, resource, config.getCallbackHandler());
326 response = new NonSASLAuthentication(this).authenticate(username, password, resource);
336 if (resource != null) {
337 this.user += "/" + resource;
363 config.setLoginInfo(username, password, resource);
H A DConnection.java271 * username@server/resource.
395 * @param resource the resource.
400 public abstract void login(String username, String password, String resource) throws XMPPException; argument
H A DConnectionConfiguration.java90 private String resource; field in class:ConnectionConfiguration
746 * Returns the resource to use when trying to reconnect to the server.
748 * @return the resource to use when trying to reconnect to the server.
751 return resource;
771 void setLoginInfo(String username, String password, String resource) { argument
774 this.resource = resource;
H A DNonSASLAuthentication.java47 public String authenticate(String username, String resource, CallbackHandler cbh) throws XMPPException { argument
52 return authenticate(username, String.valueOf(pcb.getPassword()),resource);
58 public String authenticate(String username, String password, String resource) throws argument
98 auth.setResource(resource);
H A DSASLAuthentication.java36 * <p>This class is responsible authenticating the user using SASL, binding the resource
50 * <p>Once the user has been authenticated with SASL, it is necessary to bind a resource for
51 * the connection. If no resource is passed in {@link #authenticate(String, String, String)}
52 * then the server will assign a resource for the connection. In case a resource is passed
53 * then the server will receive the desired resource but may assign a modified resource for
56 * <p>Once a resource has been binded and if the server supports sessions then Smack will establish
204 * then resource binding and session establishment will be performed. This method will return
205 * the full JID provided by the server while binding a resource t
216 authenticate(String username, String resource, CallbackHandler cbh) argument
298 authenticate(String username, String password, String resource) argument
423 bindResourceAndEstablishSession(String resource) argument
[all...]
H A DUserAuthentication.java37 * the server. The server may assign a full JID with a username and resource different than
44 * @param resource the requested resource.
47 * @return the full JID provided by the server while binding a resource for the connection.
50 String authenticate(String username, String resource, CallbackHandler cbh) throws argument
55 * the server. The server may assign a full JID with a username and resource different than
63 * @param resource the desired resource.
64 * @return the full JID provided by the server while binding a resource for the connection.
67 String authenticate(String username, String password, String resource) throw argument
[all...]
H A DXMPPConnection.java205 public synchronized void login(String username, String password, String resource) throws XMPPException { argument
220 response = saslAuthentication.authenticate(username, password, resource);
224 .authenticate(username, resource, config.getCallbackHandler());
229 response = new NonSASLAuthentication(this).authenticate(username, password, resource);
240 if (resource != null) {
241 this.user += "/" + resource;
273 config.setLoginInfo(username, password, resource);
/external/smack/src/org/jivesoftware/smack/packet/
H A DAuthentication.java34 private String resource = null; field in class:Authentication
131 * Returns the resource or <tt>null</tt> if the resource hasn't been set.
133 * @return the resource.
136 return resource;
140 * Sets the resource.
142 * @param resource the resource.
144 public void setResource(String resource) { argument
145 this.resource
[all...]
H A DBind.java24 * IQ packet used by Smack to bind a resource and to obtain the jid assigned by the server.
25 * There are two ways to bind a resource. One is simply sending an empty Bind packet where the
26 * server will assign a new resource for this connection. The other option is to set a desired
27 * resource but the server may return a modified version of the sent resource.<p>
36 private String resource = null; field in class:Bind
44 return resource;
47 public void setResource(String resource) { argument
48 this.resource = resource;
[all...]
/external/smali/baksmali/src/test/java/org/jf/baksmali/
H A DAnalysisTest.java114 private File findResource(String resource) throws URISyntaxException { argument
115 URL resUrl = Resources.getResource(resource);
120 private String readResource(String resource) throws URISyntaxException, IOException { argument
121 URL url = Resources.getResource(resource);
/external/skia/bench/
H A DGrResourceCacheBench.cpp94 GrCacheable* resource = SkNEW_ARGS(StencilResource, (i)); local
95 cache->purgeAsNeeded(1, resource->gpuMemorySize());
96 cache->addResource(key, resource);
97 resource->unref();
104 GrCacheable* resource = SkNEW_ARGS(TextureResource, (i)); local
105 cache->purgeAsNeeded(1, resource->gpuMemorySize());
106 cache->addResource(key, resource);
107 resource->unref();

Completed in 684 milliseconds

1234567891011>>