Searched +refs:format +refs:decode (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.10/Heimdal-398.1.2/appl/ftp/ftp/
H A Dsecurity.h56 int (*decode)(void *, void*, int, int); member in struct:sec_client_mech
67 int (*decode)(void *, void*, int, int); member in struct:sec_server_mech
102 __attribute__ ((format (printf, 2,3)));
108 __attribute__ ((format (printf, 2,0)));
110 __attribute__ ((format (printf, 2,3)));
112 __attribute__ ((format (printf, 2,0)));
/macosx-10.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_cfpropertylist.py13 dta = CFPropertyListCreateXMLData(None, {b"key".decode('ascii'): 42, b"key2".decode('ascii'): 1})
23 v = CFPropertyListCreateDeepCopy(None, {b"key".decode('ascii'): 42, b"key2".decode('ascii'): True}, 0)
29 valid = CFPropertyListIsValid({b"key".decode('ascii'): 42, b"key2".decode('ascii'): True}, kCFPropertyListBinaryFormat_v1_0)
37 value = {b'key1'.decode('ascii'): 42, b'key2'.decode('ascii'): 1}
59 res, format, errorString = CFPropertyListCreateFromStream(None, stream, 0, 0, None, None)
60 self.assertEqual(format, kCFPropertyListXMLFormat_v1_
[all...]
/macosx-10.10/WebKit2-7600.1.25/Shared/mac/
H A DObjCObjectGraphCoders.mm102 [NSException raise:NSInvalidArgumentException format:@"Can not encode objects of class type '%@'", static_cast<NSString *>(NSStringFromClass([m_root class]))];
171 if (!decoder.decode(typeAsUInt32))
179 if (!IPC::decode(decoder, string))
186 if (!decoder.decode(size))
193 if (!decoder.decode(messageCoder))
204 if (!decoder.decode(size))
209 // Try to decode the key name.
212 if (!decoder.decode(keyMessageCoder))
217 if (!decoder.decode(valueMessageCoder))
228 if (!IPC::decode(decode
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/opensslUtils/
H A DopensslAsn1.cpp20 * opensslAsn1.h - ANS1 encode/decode of openssl object, libssnasn1 version
164 #pragma mark *** RSA key encode/decode ***
167 * DER encode/decode RSA keys in various formats.
182 PRErrorCode perr = coder.decode(p, length,
185 logAsnErr("decode(RSAPublicKeyPKCS1)", perr);
241 perr = coder.decode(p, length, kSecAsn1SubjectPublicKeyInfoTemplate,
244 logAsnErr("decode(RSA SubjectPublicKeyInfo)", perr);
263 /* decode the raw bits */
322 * RSA private key, PKCS1 format, used by openssl.
334 perr = coder.decode(
491 RSAPublicKeyDecode( RSA *openKey, CSSM_KEYBLOB_FORMAT format, void *p, size_t length) argument
514 RSAPublicKeyEncode( RSA *openKey, CSSM_KEYBLOB_FORMAT format, const CssmData &descData, CssmOwnedData &encodedKey) argument
537 RSAPrivateKeyDecode( RSA *openKey, CSSM_KEYBLOB_FORMAT format, void *p, size_t length) argument
558 RSAPrivateKeyEncode( RSA *openKey, CSSM_KEYBLOB_FORMAT format, const CssmData &descData, CssmOwnedData &encodedKey) argument
1165 DSAPublicKeyDecode( DSA *openKey, CSSM_KEYBLOB_FORMAT format, void *p, size_t length) argument
1186 DSAPublicKeyEncode( DSA *openKey, CSSM_KEYBLOB_FORMAT format, const CssmData &descData, CssmOwnedData &encodedKey) argument
1209 DSAPrivateKeyDecode( DSA *openKey, CSSM_KEYBLOB_FORMAT format, void *p, size_t length) argument
1230 DSAPrivateKeyEncode( DSA *openKey, CSSM_KEYBLOB_FORMAT format, const CssmData &descData, CssmOwnedData &encodedKey) argument
1669 DHPrivateKeyDecode( DH *openKey, CSSM_KEYBLOB_FORMAT format, unsigned char *p, unsigned length) argument
1688 DHPrivateKeyEncode( DH *openKey, CSSM_KEYBLOB_FORMAT format, CssmOwnedData &encodedKey) argument
1706 DHPublicKeyDecode( DH *openKey, CSSM_KEYBLOB_FORMAT format, unsigned char *p, unsigned length) argument
1725 DHPublicKeyEncode( DH *openKey, CSSM_KEYBLOB_FORMAT format, CssmOwnedData &encodedKey) argument
[all...]
/macosx-10.10/JavaScriptCore-7600.1.17/ftl/
H A DFTLExitValue.h129 static ExitValue recovery(RecoveryOpcode opcode, unsigned leftArgument, unsigned rightArgument, ValueFormat format) argument
136 result.u.recovery.format = format;
181 return static_cast<ValueFormat>(u.recovery.format);
193 return JSValue::decode(u.constant);
211 // If it's in the JSStack somehow, this will tell you what format it's in, in a manner
212 // that is compatible with exitArgument().format(). If it's a constant or it's dead, it
214 // format.
229 return exitArgument().format();
261 uint16_t format; member in struct:JSC::FTL::ExitValue::__anon2583::__anon2584
[all...]
/macosx-10.10/CPANInternal-159.1/JSON-XS-3.01/bin/
H A Djson_xs16 The default input format is C<json> and the default output format is
29 Read a file in the given format from STDIN.
45 =item clzf - L<Compress::LZF> format (requires that module to be installed)
51 =item string - do not attempt to decode the file data
59 Write the file in the given format to STDOUT.
75 =item storable - a L<Storable> frozen value in network format
77 =item storable-file - a L<Storable> file in network format (Storable has two incompatible formats)
81 =item clzf - L<Compress::LZF> format
178 JSON::XS->new->decode (decod
[all...]
/macosx-10.10/CPANInternal-159.1/JSON-PP-2.27203/bin/
H A Djson_pp41 $json->decode( $_ );
100 The default input format is json and the default output format is json with pretty option.
108 Reads a data in the given format from STDIN.
126 Writes a data in the given format to STDOUT.
/macosx-10.10/WebCore-7600.1.25/platform/image-decoders/webp/
H A DWEBPImageDecoder.cpp90 decode(true);
107 decode(false);
128 // The input image pixels are RGBA format.
129 qcms_data_type format = QCMS_DATA_RGBA_8; local
131 m_transform = qcms_transform_create(inputProfile, format, deviceProfile, QCMS_DATA_RGBA_8, QCMS_INTENT_PERCEPTUAL);
199 bool WEBPImageDecoder::decode(bool onlySize) function in class:WebCore::WEBPImageDecoder
/macosx-10.10/Heimdal-398.1.2/lib/asn1/
H A Dasn1-template.h43 #define HEIMDAL_PRINTF_ATTRIBUTE(x) __attribute__((format x))
113 asn1_type_decode decode; member in struct:asn1_type_func
/macosx-10.10/cxxfilt-11/cxxfilt/include/
H A Dxtensa-isa-internal.h56 const char *name; /* Instruction format name. */
66 const char *format; member in struct:xtensa_slot_internal_struct
84 xtensa_immed_decode_fn decode; /* Decode the value from the field. */ member in struct:xtensa_operand_internal_struct
/macosx-10.10/WebCore-7600.1.25/Modules/indexeddb/
H A DIDBKeyData.cpp164 bool IDBKeyData::decode(KeyedDecoder& decoder, IDBKeyData& result) function in class:WebCore::IDBKeyData
202 return decode(decoder, result);
277 return String::format("Date type - %f", numberValue);
279 return String::format("<number> - %f", numberValue);
/macosx-10.10/WebCore-7600.1.25/platform/win/
H A DClipboardUtilitiesWin.cpp76 static bool getDataMapItem(const DragDataMap* dataObject, FORMATETC* format, String& item) argument
78 DragDataMap::const_iterator found = dataObject->find(format->cfFormat);
221 String cfhtml(UTF8Encoding().decode(data, dataSize));
250 // Documentation for the CF_HTML format is available at http://msdn.microsoft.com/workshop/networking/clipboard/htmlclipboard.asp
699 FORMATETC* format; member in struct:WebCore::ClipboardDataItem
701 ClipboardDataItem(FORMATETC* format, GetStringFunction getString, SetStringFunction setString): format(format), getString(getString), setString(setString) { } argument
708 template<typename T> void getStringData(IDataObject* data, FORMATETC* format, Vector<String>& dataStrings) argument
711 if (FAILED(data->GetData(format,
718 getUtf8Data(IDataObject* data, FORMATETC* format, Vector<String>& dataStrings) argument
729 getCFData(IDataObject* data, FORMATETC* format, Vector<String>& dataStrings) argument
754 setUCharData(IDataObject* data, FORMATETC* format, const Vector<String>& dataStrings) argument
766 setUtf8Data(IDataObject* data, FORMATETC* format, const Vector<String>& dataStrings) argument
785 setCFData(IDataObject* data, FORMATETC* format, const Vector<String>& dataStrings) argument
825 getClipboardData(IDataObject* dataObject, FORMATETC* format, Vector<String>& dataStrings) argument
834 setClipboardData(IDataObject* dataObject, UINT format, const Vector<String>& dataStrings) argument
[all...]
H A DPasteboardWin.cpp245 static void addMimeTypesForFormat(ListHashSet<String>& results, const FORMATETC& format) argument
248 if (format.cfFormat == urlFormat()->cfFormat || format.cfFormat == urlWFormat()->cfFormat) {
253 if (format.cfFormat == plainTextWFormat()->cfFormat || format.cfFormat == plainTextFormat()->cfFormat) {
454 // Put CF_HTML format on the pasteboard
706 // write to clipboard in format com.apple.safari.bookmarkdata to be able to paste into the bookmarks view with appropriate title
714 // write to clipboard in format CF_HTML to be able to paste into contenteditable areas as a link
815 String cfhtml(UTF8Encoding().decode(static_cast<char*>(GlobalLock(cbData)), dataSize));
/macosx-10.10/CPANInternal-159.1/JSON-PP-2.27203/lib/JSON/
H A DPP.pm109 sub decode_json { # decode
110 ($JSON ||= __PACKAGE__->new->utf8)->decode(@_);
147 sub decode { subroutine
367 if ( OLD_PERL ) { utf8::decode($k) } # key for Perl 5.6 / be optimized
669 sprintf("attempted decode of JSON text of %s bytes size, but max_size is set to %s"
752 utf8::decode($s) if($is_utf8);
1452 utf8::decode( $self->{incr_text} ) ;
1621 $perl_scalar = $json->decode( $json_text );
1706 $perl_scalar = JSON::PP->new->utf8->decode($json_text)
1745 my $perl_scalar = $json->decode(
[all...]
/macosx-10.10/CPANInternal-159.1/JSON-XS-3.01/
H A DXS.pm24 $perl_scalar = $coder->decode ($unicode_json_text);
92 You can choose between the most compact guaranteed-single-line format
93 possible (nice for simple line-based protocols), a pure-ASCII format
95 Unicode range), or a pretty-printed format (for when you want to read that
142 $perl_scalar = JSON::XS->new->utf8->decode ($json_text)
229 in a faster and more compact format.
248 latin1-encoded JSON text or a native Unicode string. The C<decode> method
249 will not be affected in any way by this flag, as C<decode> by default
275 C<decode> method expects to be handled an UTF-8-encoded string. Please
282 string as a (non-encoded) Unicode string, while C<decode> expect
[all...]
/macosx-10.10/Security-57031.1.35/Security/include/security_cryptkit/
H A DCryptKitDER.cpp439 * Encode/decode the two FEE signature types. We malloc returned data via
532 PRErrorCode perr = coder.decode(encodedSig, encodedSigLen,
567 PRErrorCode perr = coder.decode(encodedSig, encodedSigLen,
593 * Encode/decode the FEE private and public keys. We malloc returned data via
687 PRErrorCode perr = coder.decode(keyBlob, keyBlobLen,
728 PRErrorCode perr = coder.decode(keyBlob, keyBlobLen,
845 #pragma mark --- ECDSA public key, X.509 format ---
848 * Encode/decode public key in X.509 format.
905 perr = coder.decode(x509Blo
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cryptkit/lib/
H A DCryptKitDER.cpp439 * Encode/decode the two FEE signature types. We malloc returned data via
532 PRErrorCode perr = coder.decode(encodedSig, encodedSigLen,
567 PRErrorCode perr = coder.decode(encodedSig, encodedSigLen,
593 * Encode/decode the FEE private and public keys. We malloc returned data via
687 PRErrorCode perr = coder.decode(keyBlob, keyBlobLen,
728 PRErrorCode perr = coder.decode(keyBlob, keyBlobLen,
845 #pragma mark --- ECDSA public key, X.509 format ---
848 * Encode/decode public key in X.509 format.
905 perr = coder.decode(x509Blo
[all...]
/macosx-10.10/postfix-255/
H A Dchunking.pl264 $challenge = APR::Base64::decode($challenge);
462 $challenge = APR::Base64::decode($challenge);
623 my $format = $formats[$r];
628 smtp_send_data("mail from: $dtag$format\r\n");
673 my ($message, $cleaned, $rawsections, $cleansections, $fetchable) = message($format, $dtag);
756 failif(scalar($format =~ /binarymime/i), "DATA with BINARYMIME");
1082 print STDERR "Fail: Fetched data does not match delivered message.\nFormat: $format\nOriginal:\n$message\nExpected:\n$cleaned\nGot:\n$verify\n";
1107 my $format = shift;
1147 if ($format =~ /binarymime/) {
1161 my ($fullpart, $cleanpart, $rawsectionspart, $cleansectionspart, $fetchablepart) = $body_func->($format,
[all...]
/macosx-10.10/emacs-93/emacs/lisp/gnus/
H A Dnntp.el208 (list :format "%v"
212 (cons :format "%v"
213 (const :format "" "login")
214 (string :format "Login: %v"))
215 (cons :format "%v"
216 (const :format "" "password")
217 (string :format "Password: %v")))))))
241 (defvar nntp-process-decode nil)
309 (insert (format-time-string "%Y%m%dT%H%M%S" time)
310 "." (format "
[all...]
/macosx-10.10/WebCore-7600.1.25/fileapi/
H A DFileReaderLoader.cpp92 request.setHTTPHeaderField(HTTPHeaderName::Range, String::format("bytes=%d-%d", m_rangeStart, m_rangeEnd));
323 m_stringResult = m_decoder->decode(static_cast<const char*>(m_rawData->data()), m_bytesLoaded);
/macosx-10.10/CPANInternal-159.1/Template-Toolkit-2.25/lib/Template/
H A DProvider.pm1019 my $format = " %-16s => %s\n";
1022 $output .= sprintf($format, 'INCLUDE_PATH',
1024 $output .= sprintf($format, 'CACHE_SIZE', $size);
1028 $output .= sprintf($format, $key, $self->{ $key });
1030 $output .= sprintf($format, 'PARSER', $parser);
1036 sprintf(" $format", $_, defined $lookup->{ $_ }
1042 $output .= sprintf($format, LOOKUP => $lookup);
1108 # decode it and hand it back
1109 return Encode::decode($enc, substr($string, length($bom)), 1);
1114 ? Encode::decode(
[all...]
/macosx-10.10/WebKit2-7600.1.25/Platform/IPC/
H A DConnection.cpp309 if (!decoder->decode(syncRequestID) || !syncRequestID) {
636 CString messageName = String::format("<message length: %zu bytes>", message->length()).utf8();
761 if (!decoder.decode(syncRequestID) || !syncRequestID) {
/macosx-10.10/WebKit2-7600.1.25/UIProcess/
H A DWebContext.cpp800 String sampleLogFilePath = String::format("WebProcess%llupid%d", static_cast<unsigned long long>(now), process->processIdentifier());
1108 if (!decoder.decode(messageName))
1110 if (!decoder.decode(messageBodyDecoder))
1129 // FIXME: We should probably encode something in the case that the arguments do not decode correctly.
1136 if (!decoder.decode(messageName))
1138 if (!decoder.decode(messageBodyDecoder))
1169 String sampleLogFilePath = String::format("WebProcess%llu", static_cast<unsigned long long>(now));
/macosx-10.10/llvmCore-3425.0.34/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.c39 * attributes and returns the appropriate decode context.
51 * the ModR/M byte is required to decode a particular instruction.
91 * decode - Reads the appropriate instruction table to obtain the unique ID of
100 static InstrUID decode(OpcodeType type, function
155 * decode(); specifierForUID will not check bounds.
236 * @param format - See printf().
240 const char* format,
248 va_start(ap, format);
249 (void)vsnprintf(buffer, sizeof(buffer), format, ap);
676 *instructionID = decode(ins
239 dbgprintf(struct InternalInstruction* insn, const char* format, ...) argument
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_apple_x509_cl/lib/
H A DclNssUtils.cpp19 * clNssUtils.cpp - support for libnssasn1-based ASN1 encode/decode
320 * Copy CSSM_X509_ALGORITHM_IDENTIFIER, same format (NSS and CSSM).
344 #pragma mark ----- CSSM_X509_TIME <--> NSS format -----
397 * Same format (NSS and CSSM), EXCEPT:
403 * Caller tells us which format (bits or bytes)
449 * anywhere, e.g., what's the format of an RSA public key in a cert?
494 * field is in the NSS_native BITSTRING format, i.e.,
559 * CSSM key must be in raw format and with a specific blob format.
576 /* algorithm and format dependen
[all...]

Completed in 369 milliseconds

12