Home
last modified time | relevance | path

Searched refs:resourceName (Results 1 – 25 of 30) sorted by relevance

12

/external/jsilver/src/com/google/clearsilver/jsilver/exceptions/
DJSilverBadSyntaxException.java24 private final String resourceName; field in JSilverBadSyntaxException
48 public JSilverBadSyntaxException(String message, String lineContent, String resourceName, in JSilverBadSyntaxException() argument
50 super(makeMessage(message, lineContent, resourceName, line, column), cause); in JSilverBadSyntaxException()
51 this.resourceName = resourceName; in JSilverBadSyntaxException()
56 private static String makeMessage(String message, String lineContent, String resourceName, in makeMessage() argument
59 if (resourceName != null) { in makeMessage()
60 result.append(" resource=").append(resourceName); in makeMessage()
78 return resourceName; in getResourceName()
DJSilverAutoEscapingException.java37 private static String createMessage(String message, String resourceName, int line, int column) { in createMessage() argument
39 if (resourceName != null) { in createMessage()
40 result.append(" resource=").append(resourceName); in createMessage()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/
DFileURLConnectionTest.java33 String resourceName = "org/apache/harmony/luni/tests/" + fileName; in getContentType() local
34 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in getContentType()
35 assertNotNull("Cannot find test resource " + resourceName, url); in getContentType()
52 String resourceName = "org/apache/harmony/luni/tests/" + "test.rtf"; in testGetInputStream() local
53 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testGetInputStream()
55 assertNotNull("Cannot find test resource " + resourceName, anchorUrl); in testGetInputStream()
69 String resourceName = "org/apache/harmony/luni/tests/"; //folder name in testHeaderFunctions() local
70 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testHeaderFunctions()
75 resourceName = "org/apache/harmony/luni/tests/" + "test.rtf";; //folder name in testHeaderFunctions()
76 url = ClassLoader.getSystemClassLoader().getResource(resourceName); in testHeaderFunctions()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/
DAutoEscapeContext.java113 private String resourceName; field in AutoEscapeContext
135 public AutoEscapeContext(EscapeMode mode, String resourceName) { in AutoEscapeContext() argument
136 this.resourceName = resourceName; in AutoEscapeContext()
147 autoEscapeContext.resourceName = resourceName; in cloneCurrentEscapeContext()
168 return resourceName; in getResourceName()
241 "Attempting to start HTML parser in unsupported mode" + mode, resourceName); in createHtmlParser()
257 + mode, resourceName); in createHtmlParser()
272 throw new JSilverAutoEscapingException("Error in HtmlParser: " + e, resourceName); in parseData()
287 throw new JSilverAutoEscapingException("Error during insertText(): " + e, resourceName, in insertText()
379 + state.toString(), resourceName, htmlParser.getLineNumber(), htmlParser.getColumnNumber()); in getCurrentState()
[all …]
/external/guava/src/com/google/common/io/
DResources.java145 public static URL getResource(String resourceName) {
146 URL url = Resources.class.getClassLoader().getResource(resourceName);
147 checkArgument(url != null, "resource %s not found.", resourceName);
157 public static URL getResource(Class<?> contextClass, String resourceName) {
158 URL url = contextClass.getResource(resourceName);
160 resourceName, contextClass.getName());
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpServer.java222 String resourceName = ""; in run() local
232 resourceName = line.substring(start, end); in run()
265 if (resourceName.equals(CHUNKEDTEST)) { in run()
267 } else if (resourceName.equals(CONTENTTEST)) { in run()
269 } else if (resourceName.equals(AUTHTEST)) { in run()
271 } else if (resourceName.startsWith(REDIRECTTEST)) { in run()
272 redirectTest(resourceName); in run()
274 && resourceName.equals(PORTREDIRTEST)) { in run()
276 } else if (resourceName.equals(OTHERTEST)) { in run()
278 } else if (resourceName.equals(HEADERSTEST)) { in run()
[all …]
/external/svox/pico/lib/
Dpicorsrc.c172 picorsrc_resource_name_t resourceName[PICO_MAX_NUM_RSRC_PER_VOICE]; member
259 static pico_status_t findResource(picorsrc_ResourceManager this, picoos_char * resourceName, picors… in findResource() argument
265 while (NULL != r && (0 != picoos_strcmp(r->name,resourceName))) { in findResource()
272 static picoos_uint8 isResourceLoaded(picorsrc_ResourceManager this, picoos_char * resourceName) { in isResourceLoaded() argument
275 if (PICO_OK == findResource(this, resourceName,&res)){ in isResourceLoaded()
815 picoos_char * voiceName, picoos_char * resourceName) in picorsrc_addResourceToVoiceDefinition() argument
827 if (picoos_strlcpy(vdef->resourceName[vdef->numResources++], resourceName, in picorsrc_addResourceToVoiceDefinition()
829 PICODBG_DEBUG(("vdef added resource '%s' to voice '%s'",resourceName,voiceName)); in picorsrc_addResourceToVoiceDefinition()
832 PICODBG_ERROR(("illegal name (%s)",resourceName)); in picorsrc_addResourceToVoiceDefinition()
833 …oos_emRaiseException(this->common->em,PICO_EXC_NAME_ILLEGAL,NULL,(picoos_char *)"%s",resourceName); in picorsrc_addResourceToVoiceDefinition()
[all …]
Dpicoapi.c441 const pico_Char *resourceName in pico_addResourceToVoiceDefinition() argument
452 } else if (resourceName == NULL) { in pico_addResourceToVoiceDefinition()
454 } else if (picoos_strlen((picoos_char *) resourceName) == 0) { in pico_addResourceToVoiceDefinition()
458 …_addResourceToVoiceDefinition(system->rm, (picoos_char *) voiceName, (picoos_char *) resourceName); in pico_addResourceToVoiceDefinition()
Dpicorsrc.h145 picoos_char * voiceName, picoos_char * resourceName);
Dpicoapi.h330 const pico_Char *resourceName
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DOutputPropertiesFactory.java346 final String resourceName, in loadPropertiesFile() argument
369 .getResourceAsStream(resourceName); in loadPropertiesFile()
377 .getResourceAsStream(resourceName); in loadPropertiesFile()
394 new Object[] { resourceName }), in loadPropertiesFile()
411 new Object[] { resourceName }), in loadPropertiesFile()
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
DXResourceBundle.java67 String resourceName = className + suffix; in loadResourceBundle() local
68 return (XResourceBundle) ResourceBundle.getBundle(resourceName, locale); in loadResourceBundle()
/external/oauth/core/src/main/java/net/oauth/
DConsumerProperties.java59 public ConsumerProperties(String resourceName, ClassLoader loader) in ConsumerProperties() argument
61 this(getProperties(getResource(resourceName, loader))); in ConsumerProperties()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DJarExecTest.java241 private static byte[] getResource(File tempDir, String resourceName) throws IOException { in getResource() argument
242 Support_Resources.copyFile(tempDir, null, resourceName); in getResource()
243 File resourceFile = new File(tempDir, resourceName); in getResource()
DZipExecTest.java251 private static byte[] getResource(File tempDir, String resourceName) throws IOException { in getResource() argument
252 Support_Resources.copyFile(tempDir, null, resourceName); in getResource()
253 File resourceFile = new File(tempDir, resourceName); in getResource()
/external/apache-http/src/org/apache/commons/logging/impl/
DLogFactoryImpl.java989 String resourceName = logAdapterClassName.replace('.', '/') + ".class"; in createLogFromClass() local
991 url = currentCL.getResource(resourceName ); in createLogFromClass()
993 url = ClassLoader.getSystemResource(resourceName + ".class"); in createLogFromClass()
997 … logDiagnostic("Class '" + logAdapterClassName + "' [" + resourceName + "] cannot be found."); in createLogFromClass()
/external/webkit/Source/WebCore/platform/mac/
DCursorMac.mm60 NSString* resourceName = [[NSString alloc] initWithUTF8String:name];
63 pathForResource:resourceName ofType:@"png"]];
64 [resourceName release];
/external/webkit/Source/WebCore/bindings/v8/
DV8DOMWindowShell.cpp122 v8::Handle<v8::Value> resourceName = message->GetScriptResourceName(); in v8UncaughtExceptionHandler() local
123 bool useURL = resourceName.IsEmpty() || !resourceName->IsString(); in v8UncaughtExceptionHandler()
125 String resourceNameString = useURL ? document->url() : toWebCoreString(resourceName); in v8UncaughtExceptionHandler()
/external/chromium/base/mac/
Dfoundation_util.h49 FilePath PathForMainAppBundleResource(CFStringRef resourceName);
/external/chromium/chrome/browser/resources/touch_ntp/
Dnewtab.js310 function getThemeUrl(resourceName) { argument
314 var u = themeUrlMapper(resourceName);
318 return 'chrome://theme/' + resourceName;
/external/webkit/Source/WebCore/platform/audio/
DHRTFElevation.cpp101 …String resourceName = String::format("IRC_%s_C_R0195_T%03d_P%03d", subjectName.utf8().data(), azim… in calculateKernelsForAzimuthElevation() local
103 …OwnPtr<AudioBus> impulseResponse(AudioBus::loadPlatformResource(resourceName.utf8().data(), sample… in calculateKernelsForAzimuthElevation()
/external/chromium/chrome/browser/resources/touch_ntp/standalone/
Dstandalone_hack.js361 function themeUrlMapper(resourceName) { argument
362 if (resourceName == 'IDR_WEBSTORE_ICON') {
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java81 String resourceName = "org/apache/harmony/luni/tests/" + fileName;
82 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName);
83 assertNotNull("Cannot find test resource " + resourceName, url);
/external/webkit/Source/WebCore/websockets/
DWebSocketHandshake.cpp62 static String resourceName(const KURL& url) in resourceName() function
223 builder.append(resourceName(m_url)); in clientLocation()
233 builder.append(resourceName(m_url)); in clientHandshakeMessage()
/external/chromium/chrome/browser/resources/ntp4/
Dnew_tab.js306 function getThemeUrl(resourceName) { argument
307 return 'chrome://theme/' + resourceName;

12