Searched refs:utf8 (Results 1 - 25 of 459) sorted by relevance

1234567891011>>

/macosx-10.10/CPANInternal-159.1/JSON-PP-2.27203/t/
H A D108_decode.t18 no utf8;
23 is($json->decode(q|"��"|), "��"); # utf8
25 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
27 my $str = '���'; # Japanese 'a' in utf8
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
36 my $utf8 = $json->decode(q|"\ud808\udf45"|); # chr 12345
38 utf8::encode($utf8); # UTf-8 flaged off
40 is($utf8, "\xf0\x92\x8d\x85");
/macosx-10.10/ruby-106/ruby/test/json/
H A Dtest_json_unicode.rb17 utf8 = [ "�� ��� ���! \01" ]
19 assert_equal json, utf8.to_json(:ascii_only => false)
20 assert_equal utf8, parse(json)
22 assert_equal json, utf8.to_json(:ascii_only => true)
23 assert_equal utf8, parse(json)
24 utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
26 assert_equal utf8, parse(json)
27 assert_equal json, utf8.to_json(:ascii_only => false)
28 utf8 = ["\343\201\202\343\201\204\343\201\206\343\201\210\343\201\212"]
29 assert_equal utf8, pars
[all...]
/macosx-10.10/WebCore-7600.1.25/bindings/gobject/
H A DConvertToUTF8String.cpp32 return g_strdup(s.utf8().data());
37 return g_strdup(s.string().utf8().data());
H A DGObjectXPathNSResolver.cpp33 return String::fromUTF8(webkit_dom_xpath_ns_resolver_lookup_namespace_uri(m_resolver.get(), prefix.utf8().data()));
/macosx-10.10/WebKit2-7600.1.25/Platform/gtk/
H A DModuleGtk.cpp38 m_handle = g_module_open(m_path.utf8().data(), G_MODULE_BIND_LAZY);
40 WTFLogAlways("Error loading module '%s': %s", m_path.utf8().data(), g_module_error());
/macosx-10.10/pcre-7/pcre/
H A Dpcre_newline.c70 utf8 TRUE if in utf8 mode
76 _pcre_is_newline(USPTR ptr, int type, USPTR endptr, int *lenptr, BOOL utf8) argument
79 if (utf8) { GETCHAR(c, ptr); } else c = *ptr;
98 case 0x0085: *lenptr = utf8? 2 : 1; return TRUE; /* NEL */
119 utf8 TRUE if in utf8 mode
125 _pcre_was_newline(USPTR ptr, int type, USPTR startptr, int *lenptr, BOOL utf8) argument
130 if (utf8)
155 case 0x0085: *lenptr = utf8
[all...]
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/efl/tests/UnitTestUtils/
H A DEWK2UnitTestEnvironment.cpp53 return makeString("file://" TEST_RESOURCES_DIR "/", resource).utf8();
61 return builder.toString().utf8();
69 return builder.toString().utf8();
/macosx-10.10/WebCore-7600.1.25/platform/graphics/gtk/
H A DIconGtk.cpp77 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
80 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
83 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
86 if(gtk_icon_theme_has_icon(iconTheme, iconName.utf8().data()))
99 if (!g_path_skip_root(filenames[0].utf8().data()))
106 icon->m_icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), iconName.utf8().data(), 16, GTK_ICON_LOOKUP_USE_BUILTIN, 0);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/InjectedBundle/efl/
H A DInjectedBundleEfl.cpp39 m_platformBundle = eina_module_new(m_path.utf8().data());
45 EINA_LOG_CRIT("Error loading the injected bundle from %s: %s", m_path.utf8().data(), eina_error_msg_get(eina_error_get()));
/macosx-10.10/dtrace-147/test/tst/common/aggs/
H A Dtst.aggencoding.d17 #pragma D option encoding=utf8
/macosx-10.10/CPANInternal-159.1/Data-Dump-1.21/t/
H A Dquote-unicode.t27 ok(utf8::is_utf8($a));
30 ok(utf8::is_utf8($a));
/macosx-10.10/WebCore-7600.1.25/platform/efl/
H A DEflInspectorUtilities.cpp32 if (access(inspectorResourcePath.utf8().data(), R_OK))
H A DFileSystemEfl.cpp57 char* filename = g_uri_unescape_string(path.utf8().data(), 0);
62 return path.utf8();
88 CString cfilter = filter.utf8();
91 Eina_Iterator* it = eina_file_ls(path.utf8().data());
/macosx-10.10/WebKit2-7600.1.25/Platform/efl/
H A DModuleEfl.cpp29 m_module = EflUniquePtr<Eina_Module>(eina_module_new(m_path.utf8().data()));
/macosx-10.10/WebCore-7600.1.25/platform/network/soup/
H A DResourceRequestSoup.cpp56 soup_message_headers_append(soupHeaders, it->key.utf8().data(), it->value.utf8().data());
73 g_object_set(soupMessage, SOUP_MESSAGE_METHOD, httpMethod().utf8().data(), NULL);
83 SoupMessage* soupMessage = soup_message_new(httpMethod().utf8().data(), url().string().utf8().data());
156 return GUniquePtr<SoupURI>(soup_uri_new(urlString.utf8().data()));
163 soupURI.reset(soup_uri_new(url.string().utf8().data()));
174 soup_uri_set_user(soupURI.get(), urlUser.utf8().data());
175 soup_uri_set_password(soupURI.get(), urlPass.utf8().data());
/macosx-10.10/WebCore-7600.1.25/platform/
H A DLogging.cpp50 WTFLogChannel* channel = WTFLogChannelByName(logChannels, logChannelCount, name.utf8().data());
63 WTFInitializeLogChannelStatesFromString(logChannels, logChannelCount, logLevelString().utf8().data());
/macosx-10.10/WebKit2-7600.1.25/UIProcess/API/gtk/
H A DWebKitLoaderClient.cpp57 GUniquePtr<GError> webError(g_error_new_literal(g_quark_from_string(resourceError.domain().utf8().data()),
58 toWebKitError(resourceError.errorCode()), resourceError.localizedDescription().utf8().data()));
60 webkitWebViewLoadFailedWithTLSErrors(WEBKIT_WEB_VIEW(clientInfo), resourceError.failingURL().utf8().data(), webError.get(),
63 webkitWebViewLoadFailed(WEBKIT_WEB_VIEW(clientInfo), WEBKIT_LOAD_STARTED, resourceError.failingURL().utf8().data(), webError.get());
88 GUniquePtr<GError> webError(g_error_new_literal(g_quark_from_string(resourceError.domain().utf8().data()),
89 toWebKitError(resourceError.errorCode()), resourceError.localizedDescription().utf8().data()));
91 resourceError.failingURL().utf8().data(), webError.get());
107 webkitWebViewSetTitle(WEBKIT_WEB_VIEW(clientInfo), toImpl(titleRef)->string().utf8());
/macosx-10.10/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/include/idn/
H A Ducs4.h73 idn_ucs4_utf8toucs4(const char *utf8, unsigned long *ucs4, size_t tolen);
76 idn_ucs4_ucs4toutf8(const unsigned long *ucs4, char *utf8, size_t tolen);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_transform/lib/
H A Dmisc.h45 extern char *utf8(CFStringRef s);
/macosx-10.10/WebCore-7600.1.25/platform/audio/efl/
H A DAudioBusEfl.cpp37 return createBusFromAudioFile(absoluteFilename.utf8().data(), false, sampleRate);
/macosx-10.10/CPANInternal-159.1/JSON-XS-3.01/eg/
H A Dbench30 use utf8;
35 my $xs2 = JSON::XS->new->utf8->pretty->canonical;
36 my $xs3 = JSON::XS->new->utf8->shrink;
46 #srand 0; $json = JSON::XS->new->utf8(1)->ascii(0)->encode ([join "", map +(chr rand 255), 0..2047]);
/macosx-10.10/tcl-105/tcl_ext/ffidl/ffidl/demos/
H A Datol.tcl11 ffidl-proc atol {pointer-utf8} long [ffidl-symbol [ffidl-find-lib c] atol]
12 ffidl-proc _strtol {pointer-utf8 pointer-var int} long [ffidl-symbol [ffidl-find-lib c] strtol]
13 ffidl-proc _strtoul {pointer-utf8 pointer-var int} {unsigned long} [ffidl-symbol [ffidl-find-lib c] strtoul]
/macosx-10.10/ruby-106/ruby/test/psych/
H A Dtest_encoding.rb30 @utf8 = Encoding.find('UTF-8')
57 # If the external encoding isn't utf8, utf16le, or utf16be, we cannot
95 t = Tempfile.new(['utf8', 'yml'])
147 assert_encodings @utf8, @handler.strings
166 assert_encodings @utf8, @handler.strings
183 assert_encodings @utf8, @handler.strings
200 assert_equal @utf8, str.encoding
211 assert_encodings @utf8, @handler.strings
226 assert_encodings @utf8, @handler.strings
233 assert_encodings @utf8,
[all...]
/macosx-10.10/WebKit2-7600.1.25/Shared/
H A DWebMemorySampler.cpp86 printf("Started memory sampler for process %s %d", processName().utf8().data(), getpid());
91 printf("; Sampler log file stored at: %s\n", m_sampleLogFilePath.utf8().data());
102 printf("Stopped memory sampler for process %s %d\n", processName().utf8().data(), getpid());
139 String processDetails = String::format("Process: %s Pid: %d\n", processName().utf8().data(), getpid());
141 CString utf8String = processDetails.utf8();
153 utf8String = header.toString().utf8();
186 CString utf8String = statString.toString().utf8();
/macosx-10.10/WebCore-7600.1.25/platform/network/cf/
H A DResourceHandleCFURLConnectionDelegateWithOperationQueue.cpp103 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::willSendRequest(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
127 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didReceiveResponse(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
160 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didReceiveData(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
176 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didFinishLoading(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
188 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didFail(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
207 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::willCacheResponse(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
221 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didReceiveChallenge(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
237 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didSendBodyData(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
259 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::canRespondToProtectionSpace(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
283 LOG(Network, "CFNet - ResourceHandleCFURLConnectionDelegateWithOperationQueue::didSendBodyData(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8()
[all...]

Completed in 411 milliseconds

1234567891011>>