Searched refs:decoded (Results 1 - 25 of 56) sorted by relevance

123

/macosx-10.10.1/curl-83.1.2/curl/tests/unit/
H A Dunit1302.c47 unsigned char *decoded; variable
83 rc = Curl_base64_decode("aWlpaQ==", &decoded, &size);
86 verify_memory(decoded, "iiii", 4);
87 Curl_safefree(decoded); variable
89 rc = Curl_base64_decode("aWlp", &decoded, &size);
92 verify_memory(decoded, "iii", 3);
93 Curl_safefree(decoded); variable
95 rc = Curl_base64_decode("aWk=", &decoded, &size);
98 verify_memory(decoded, "ii", 2);
99 Curl_safefree(decoded); variable
105 Curl_safefree(decoded); variable
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/utilities/Regressions/
H A Dsu-12-cfboolean-der.c63 CFBooleanRef decoded = NULL; local
65 &decoded, NULL, encoded, buffer_end);
68 ok((decoded != NULL) && CFEqual(decoded, value));
75 ok((decoded != NULL) && CFEqual(decoded_type, value));
80 CFReleaseNull(decoded);
H A Dsu-13-cfnumber-der.c83 CFNumberRef decoded = NULL; local
86 &decoded, NULL, encoded, buffer_end);
89 ok((decoded != NULL) && CFEqual(decoded, initialValue), "Didn't make equal value.");
97 ok((decoded != NULL) && CFEqual(decoded_type, initialValue), "Didn't make equal value.");
102 CFReleaseNull(decoded);
H A Dsu-14-cfarray-der.c84 CFArrayRef decoded = NULL; local
87 &decoded, NULL, encoded, buffer_end);
90 ok((decoded != NULL) && CFEqual(decoded, testValue), "Didn't make equal value.");
98 ok((decoded != NULL) && CFEqual(decoded_type, testValue), "Didn't make equal value.");
103 CFReleaseNull(decoded);
H A Dsu-10-cfstring-der.c64 CFStringRef decoded = NULL; local
67 &decoded, NULL, encoded, buffer_end);
70 ok((decoded != NULL) && CFEqual(decoded, thisCase->str));
89 CFReleaseNull(decoded);
H A Dsu-16-cfdate-der.c104 static bool ok_date_equals(int testnumber, CFDateRef decoded, CFDateRef expected) { argument
105 CFAbsoluteTime t1 = CFDateGetAbsoluteTime(decoded);
109 return ok((decoded != NULL) && fabs(t1 - t2) < 7e-18, "[%d] Delta too big %g %a != %a (%g != %g).", testnumber, fabs(t1 - t2), t1, t2, t1, t2);
111 return ok((decoded != NULL) && CFEqual(decoded, expected), "[%d] Didn't make equal value %a != %a (%g != %g).", testnumber, t1, t2, t1, t2);
142 CFDateRef decoded = NULL; local
144 &decoded, &error, encoded, buffer_end);
149 ok_date_equals(testnumber, decoded, initialValue);
159 ok_date_equals(testnumber, decoded, initialValue);
165 CFReleaseNull(decoded);
[all...]
H A Dsu-15-cfdictionary-der.c84 CFDictionaryRef decoded = NULL; local
87 &decoded, NULL, encoded, buffer_end);
90 ok((decoded != NULL) && CFEqual(decoded, testValue), "Didn't make equal value.");
98 ok((decoded != NULL) && CFEqual(decoded_type, testValue), "Didn't make equal value.");
103 CFReleaseNull(decoded);
H A Dsu-11-cfdata-der.c122 CFDataRef decoded = NULL; local
124 &decoded, NULL, encoded, buffer_end);
127 ok((decoded != NULL) && CFEqual(decoded, start));
134 ok((decoded != NULL) && CFEqual(decoded_type, start));
140 CFReleaseNull(decoded);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/libDER/libDER/
H A DDER_Decode.c65 DERDecodedInfo *decoded) /* RETURNED */
106 decoded->tag = ((DERTag)(tag1 & 0xE0) << ((sizeof(DERTag) - 1) * 8)) | tagNumber;
130 decoded->content.data = derPtr;
131 decoded->content.length = longLen;
139 decoded->content.data = derPtr;
140 decoded->content.length = len1;
217 DERDecodedInfo decoded; local
220 drtn = DERDecodeItem(der, &decoded);
224 *tag = decoded.tag;
225 switch(decoded
63 DERDecodeItem( const DERItem *der, DERDecodedInfo *decoded) argument
251 DERDecodeSeqNext( DERSequence *derSeq, DERDecodedInfo *decoded) argument
[all...]
H A DDER_Decode.h60 DERDecodedInfo *decoded); /* RETURNED */
88 /* state representing a sequence or set being decoded */
115 * the top-level tag and content have already been decoded.
121 /* obtain the next decoded item in a sequence or set */
124 DERDecodedInfo *decoded); /* RETURNED */
/macosx-10.10.1/ruby-106/ruby/test/openssl/
H A Dtest_pkcs12.rb77 decoded = OpenSSL::PKCS12.new(pkcs12.to_der)
78 assert_cert @mycert, decoded.certificate
107 decoded = OpenSSL::PKCS12.new(pkcs12.to_der, passwd)
108 assert_equal chain.size, decoded.ca_certs.size
109 assert_include_cert @cacert, decoded.ca_certs
110 assert_include_cert @inter_cacert, decoded.ca_certs
111 assert_cert @mycert, decoded.certificate
112 assert_equal TEST_KEY_RSA1024.to_der, decoded.key.to_der
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/ControlPanel/
H A DConfigPropertySheet.cpp203 CConfigPropertySheet::DecodeDomainName( const char * raw, CString & decoded )
240 err = UTF8StringToStringObject( decodedDomainString, decoded );
262 CString decoded; local
282 err = self->DecodeDomainName( replyDomain, decoded );
287 decoded.TrimRight( '.' );
291 self->m_browseDomains.push_back( decoded );
295 self->m_browseDomains.remove( decoded );
H A DConfigPropertySheet.h76 DecodeDomainName( const char * raw, CString & decoded );
/macosx-10.10.1/bootp-298/bootplib/
H A Dhost_identifier.c121 * so to get the approximate decoded length,
191 void * decoded; local
199 decoded = identifierFromString(argv[1], &type, &decoded_len);
200 if (decoded == NULL) {
204 printf("%s is decoded into type %x and a buf with length %d\n",
206 printData(decoded, decoded_len);
208 str = identifierToString(type, decoded, decoded_len);
221 free(decoded);
/macosx-10.10.1/ruby-106/ruby/lib/xmlrpc/
H A Dbase64.rb18 # string +str+ is not in base64 format (perhaps already decoded),
32 # Returns the decoded internal string.
33 def decoded method in class:XMLRPC.Base64
/macosx-10.10.1/postfix-255/postfix/src/xsasl/
H A Dxsasl_cyrus_server.c147 VSTRING *decoded; /* decoded challenge or response */ member in struct:__anon11679
335 server->decoded = vstring_alloc(20);
429 vstring_free(server->decoded);
514 VSTRING_RESET(server->decoded); /* Fix 200512 */
515 VSTRING_SPACE(server->decoded, reply_len);
517 dec_buffer = STR(server->decoded),
518 vstring_avail(server->decoded),
524 msg_info("%s: decoded initial response %s", myname, dec_buffer);
561 VSTRING_RESET(server->decoded); /* Fi
[all...]
H A Dxsasl_cyrus_client.c140 VSTRING *decoded; /* decoded server challenge */ member in struct:__anon11678
369 client->decoded = vstring_alloc(20);
474 escape(client->decoded, clientout, clientoutlen);
476 myname, STR(client->decoded));
516 VSTRING_RESET(client->decoded); /* Fix 200512 */
517 VSTRING_SPACE(client->decoded, serverinlen);
519 STR(client->decoded),
520 vstring_avail(client->decoded),
526 msg_info("%s: decoded challeng
[all...]
/macosx-10.10.1/cups-408/cups/examples/
H A Dppdx.c62 decoded[PPDX_MAX_CHUNK + 1]; local
110 len = sizeof(decoded);
111 if (!httpDecode64_2(decoded, &len, attr->value) || len == 0)
120 decomp.next_in = decoded;
/macosx-10.10.1/CPANInternal-159.1/JSON-XS-3.01/XS/
H A DBoolean.pm13 (by other modules such as Storable) that was decoded by JSON::XS versions
/macosx-10.10.1/emacs-93/emacs/lisp/gnus/
H A Dmm-uu.el177 (defvar mm-uu-text-plain-type '("text/plain" (charset . gnus-decoded))
179 `gnus-decoded' is a fake charset, which means no further decoding.")
269 '("application/emacs-lisp" (charset . gnus-decoded))
285 '("text/x-patch" (charset . gnus-decoded))))
296 '("message/rfc822" (charset . gnus-decoded))))
560 (defun mm-uu-dissect-text-parts (handle &optional decoded)
562 Assume text has been decoded if DECODED is non-nil."
566 (mm-uu-dissect-text-parts elem decoded)))
580 ((or decoded
584 'gnus-decoded))
[all...]
/macosx-10.10.1/Security-57031.1.35/SecurityTool/
H A Dtrusted_cert_utils.c361 unsigned char *decoded = NULL; local
369 if(pemDecode(cp, len, &decoded, &decodedLen)) {
374 certData.Data = decoded;
383 if(decoded) {
384 free(decoded);
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/base64/
H A Dascii85.tcl167 # The decoded value.
179 set decoded {}
192 append decoded \x00\x00\x00\x00
217 return -code error "error decoding data: decoded group overflow"
219 append decoded [binary format I $val]
239 append decoded [string range \
246 return $decoded
257 return -code error "error decoding data: decoded group overflow"
/macosx-10.10.1/Security-57031.1.35/Security/include/security_pkcs12/
H A Dpkcs7Templates.h120 #pragma mark ---- decoded ContentInfo -----
124 * drops one of these into the decoded struct. Thus, higher level
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/libDER/libDERUtils/
H A DprintFields.c354 DERDecodedInfo decoded; local
357 drtn = DERDecodeItem(derItem, &decoded);
362 printItem(label, IT_Leaf, 0, decoded.tag, &decoded.content);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_pkcs12/lib/
H A Dpkcs7Templates.h120 #pragma mark ---- decoded ContentInfo -----
124 * drops one of these into the decoded struct. Thus, higher level

Completed in 157 milliseconds

123