/macosx-10.10.1/ruby-106/ruby/ext/tk/sample/tkextlib/iwidgets/sample/ |
H A D | dialogshell.rb | 5 ds = Tk::Iwidgets::Dialogshell.new(:modality=>:none) 7 ds.add('OK', :text=>'OK', :command=>proc{puts 'OK'; ds.deactivate}) 8 ds.add('Cancel', :text=>'Cancel', :command=>proc{puts 'Cancel'; ds.deactivate}) 9 ds.default('OK') 12 :command=>proc{puts ds.activate}).pack(:padx=>10, :pady=>10)
|
/macosx-10.10.1/apr-32/apr-util/apr-util/misc/ |
H A D | apr_date.c | 147 apr_time_exp_t ds; local 178 ds.tm_year = ((date[7] - '0') * 10 + (date[8] - '0') - 19) * 100; 179 if (ds.tm_year < 0) 182 ds.tm_year += ((date[9] - '0') * 10) + (date[10] - '0'); 184 ds.tm_mday = ((date[0] - '0') * 10) + (date[1] - '0'); 191 ds.tm_year = ((date[7] - '0') * 10) + (date[8] - '0'); 192 if (ds.tm_year < 70) 193 ds.tm_year += 100; 195 ds.tm_mday = ((date[0] - '0') * 10) + (date[1] - '0'); 202 ds 321 apr_time_exp_t ds; local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/struct/graph/ |
H A D | global.h | 8 #include <ds.h>
|
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/SecureObjectSync/ |
H A D | SOSDataSource.h | 101 typedef void (^SOSDataSourceNotifyBlock)(SOSDataSourceRef ds, SOSTransactionRef txn, SOSDataSourceTransactionPhase phase, SOSDataSourceTransactionSource source, struct SOSDigestVector *removals, struct SOSDigestVector *additions); variable 109 CFStringRef (*dsGetName)(SOSDataSourceRef ds); 110 void (*dsSetNotifyPhaseBlock)(SOSDataSourceRef ds, SOSDataSourceNotifyBlock notifyBlock); 111 SOSManifestRef (*dsCopyManifest)(SOSDataSourceRef ds, CFErrorRef *error); 112 bool (*dsForEachObject)(SOSDataSourceRef ds, SOSManifestRef manifest, CFErrorRef *error, void (^handleObject)(CFDataRef key, SOSObjectRef object, bool *stop)); 113 CFDataRef (*dsCopyStateWithKey)(SOSDataSourceRef ds, CFStringRef key, CFStringRef pdmn, CFErrorRef *error); 114 bool (*dsWith)(SOSDataSourceRef ds, CFErrorRef *error, SOSDataSourceTransactionSource source, void(^transaction)(SOSTransactionRef txn, bool *commit)); 115 bool (*dsRelease)(SOSDataSourceRef ds, CFErrorRef *error); // Destructor 119 bool (*dsSetStateWithKey)(SOSDataSourceRef ds, SOSTransactionRef txn, CFStringRef pdmn, CFStringRef key, CFDataRef state, CFErrorRef *error); 133 static inline SOSEngineRef SOSDataSourceGetSharedEngine(SOSDataSourceRef ds, CFErrorRe argument 137 SOSDataSourceGetName(SOSDataSourceRef ds) argument 141 SOSDataSourceSetNotifyPhaseBlock(SOSDataSourceRef ds, SOSDataSourceNotifyBlock notifyBlock) argument 145 SOSDataSourceCopyManifest(SOSDataSourceRef ds, CFErrorRef *error) argument 149 SOSDataSourceForEachObject(SOSDataSourceRef ds, SOSManifestRef manifest, CFErrorRef *error, void (^handleObject)(CFDataRef digest, SOSObjectRef object, bool *stop)) argument 153 SOSDataSourceWith(SOSDataSourceRef ds, CFErrorRef *error, void(^transaction)(SOSTransactionRef txn, bool *commit)) argument 158 SOSDataSourceWithAPI(SOSDataSourceRef ds, bool isAPI, CFErrorRef *error, void(^transaction)(SOSTransactionRef txn, bool *commit)) argument 163 SOSDataSourceCopyStateWithKey(SOSDataSourceRef ds, CFStringRef key, CFStringRef pdmn, CFErrorRef *error) argument 168 SOSDataSourceRelease(SOSDataSourceRef ds, CFErrorRef *error) argument 175 SOSDataSourceMergeObject(SOSDataSourceRef ds, SOSTransactionRef txn, SOSObjectRef peersObject, SOSObjectRef *createdObject, CFErrorRef *error) argument 179 SOSDataSourceSetStateWithKey(SOSDataSourceRef ds, SOSTransactionRef txn, CFStringRef key, CFStringRef pdmn, CFDataRef state, CFErrorRef *error) argument 188 SOSObjectCopyDigest(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument 192 SOSObjectCopyPrimaryKey(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument 196 SOSObjectCreateWithPropertyList(SOSDataSourceRef ds, CFDictionaryRef plist, CFErrorRef *error) argument 200 SOSObjectCopyPropertyList(SOSDataSourceRef ds, SOSObjectRef object, CFErrorRef *error) argument 204 SOSObjectCopyBackup(SOSDataSourceRef ds, SOSObjectRef object, uint64_t handle, CFErrorRef *error) argument 208 SOSObjectRestoreObject(SOSDataSourceRef ds, SOSTransactionRef txn, uint64_t handle, CFDictionaryRef item, CFErrorRef *error) argument 219 SOSDataSourceRef ds = factory->create_datasource(factory, dataSourceName, error); local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/struct/queue/ |
H A D | q.h | 9 #include <ds.h>
|
/macosx-10.10.1/ICU-531.30/icuSources/common/ |
H A D | ucol_swp.cpp | 34 utrie_swap(const UDataSwapper *ds, argument 45 if(ds==NULL || inData==NULL || (length>=0 && outData==NULL)) { 57 trie.signature=ds->readUInt32(inTrie->signature); 58 trie.options=ds->readUInt32(inTrie->options); 59 trie.indexLength=udata_readInt32(ds, inTrie->indexLength); 60 trie.dataLength=udata_readInt32(ds, inTrie->dataLength); 89 ds->swapArray32(ds, inTrie, sizeof(UTrieHeader), outTrie, pErrorCode); 93 ds->swapArray16(ds, inTri 107 ucol_looksLikeCollationBinary(const UDataSwapper *ds, const void *inData, int32_t length) argument 163 swapFormatVersion3(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 378 swapFormatVersion4(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode &errorCode) argument 550 ucol_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 599 ucol_swapInverseUCA(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument [all...] |
H A D | rbbidata.cpp | 276 ubrk_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, argument 282 if(ds==NULL || inData==NULL || length<-1 || (length>0 && outData==NULL)) { 297 udata_printError(ds, "ubrk_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized\n", 311 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, status); 324 if (ds->readUInt32(rbbiDH->fMagic) != 0xb1a0 || 326 ds->readUInt32(rbbiDH->fLength) < sizeof(RBBIDataHeader)) 328 udata_printError(ds, "ubrk_swap(): RBBI Data header is invalid.\n"); 336 int32_t breakDataLength = ds->readUInt32(rbbiDH->fLength); 346 udata_printError(ds, "ubrk_swap(): too few bytes (%d after ICU Data header) for break data.\n", 380 tableStartOffset = ds [all...] |
H A D | ucol_swp.h | 33 ucol_looksLikeCollationBinary(const UDataSwapper *ds, 41 ucol_swap(const UDataSwapper *ds, 50 ucol_swapInverseUCA(const UDataSwapper *ds,
|
H A D | udataswp.c | 31 uprv_swapArray16(const UDataSwapper *ds, argument 42 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { 61 uprv_copyArray16(const UDataSwapper *ds, argument 67 if(ds==NULL || inData==NULL || length<0 || (length&1)!=0 || outData==NULL) { 79 uprv_swapArray32(const UDataSwapper *ds, argument 90 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { 109 uprv_copyArray32(const UDataSwapper *ds, argument 115 if(ds==NULL || inData==NULL || length<0 || (length&3)!=0 || outData==NULL) { 127 uprv_swapArray64(const UDataSwapper *ds, argument 137 if(ds 158 uprv_copyArray64(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 216 udata_readInt16(const UDataSwapper *ds, int16_t x) argument 221 udata_readInt32(const UDataSwapper *ds, int32_t x) argument 231 udata_swapInvStringBlock(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 269 udata_printError(const UDataSwapper *ds, const char *fmt, ...) argument 284 udata_swapDataHeader(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 469 udata_closeSwapper(UDataSwapper *ds) argument [all...] |
H A D | udataswp.h | 67 * @param ds Pointer to UDataSwapper containing global data about the 88 UDataSwapFn(const UDataSwapper *ds, 131 UDataCompareInvChars(const UDataSwapper *ds, 218 udata_closeSwapper(UDataSwapper *ds); 230 udata_swapDataHeader(const UDataSwapper *ds, 239 udata_readInt16(const UDataSwapper *ds, int16_t x); 246 udata_readInt32(const UDataSwapper *ds, int32_t x); 254 udata_swapInvStringBlock(const UDataSwapper *ds, 259 udata_printError(const UDataSwapper *ds, 272 uprv_ebcdicFromAscii(const UDataSwapper *ds, [all...] |
/macosx-10.10.1/Security-57031.1.35/Security/sec/SOSCircle/Regressions/ |
H A D | SOSTestDataSource.c | 43 struct SOSDataSource ds; member in struct:SOSTestDataSource 68 struct SOSTestDataSource *ds = (struct SOSTestDataSource *)data_source; local 69 ds->cm_count++; 71 CFDictionaryForEach(ds->d2database, ^(const void *key, const void *value) { 77 ccdigest(ccsha1_di(), SOSManifestGetSize(manifest), SOSManifestGetBytePtr(manifest), ds->manifest_digest); 78 ds->clean = true; 84 struct SOSTestDataSource *ds = (struct SOSTestDataSource *)data_source; local 85 ds->co_count++; 88 handle_object(key, (SOSObjectRef)CFDictionaryGetValue(ds->d2database, key), stop); 94 struct SOSTestDataSource *ds local 233 SOSTestDataSourceRef ds = (SOSTestDataSourceRef)txn; local 271 dsGetName(SOSDataSourceRef ds) argument 275 dsSetNotifyPhaseBlock(SOSDataSourceRef ds, SOSDataSourceNotifyBlock notifyBlock) argument 279 dsCopyStateWithKey(SOSDataSourceRef ds, CFStringRef key, CFStringRef pdmn, CFErrorRef *error) argument 287 dsWith(SOSDataSourceRef ds, CFErrorRef *error, SOSDataSourceTransactionSource source, void(^transaction)(SOSTransactionRef txn, bool *commit)) argument 299 dsSetStateWithKey(SOSDataSourceRef ds, SOSTransactionRef txn, CFStringRef pdmn, CFStringRef key, CFDataRef state, CFErrorRef *error) argument 320 SOSTestDataSourceRef ds = calloc(1, sizeof(struct SOSTestDataSource)); local 385 do_nothing(SOSDataSourceRef ds, CFErrorRef *error) argument 389 SOSTestDataSourceFactoryAddDataSource(SOSDataSourceFactoryRef factory, CFStringRef name, SOSDataSourceRef ds) argument 401 struct SOSTestDataSource *ds = (struct SOSTestDataSource *)data_source; local 442 struct SOSTestDataSource *ds = (struct SOSTestDataSource *)data_source; local 447 SOSDataSourceCreateGenericItemWithData(SOSDataSourceRef ds, CFStringRef account, CFStringRef service, bool is_tomb, CFDataRef data) argument 479 SOSDataSourceCreateGenericItem(SOSDataSourceRef ds, CFStringRef account, CFStringRef service) argument 483 SOSDataSourceCopyObject(SOSDataSourceRef ds, SOSObjectRef match, CFErrorRef *error) argument [all...] |
H A D | SOSTestDataSource.h | 54 void SOSTestDataSourceFactoryAddDataSource(SOSDataSourceFactoryRef factory, CFStringRef name, SOSDataSourceRef ds); 56 SOSObjectRef SOSDataSourceCreateGenericItemWithData(SOSDataSourceRef ds, CFStringRef account, CFStringRef service, bool is_tomb, CFDataRef data); 57 SOSObjectRef SOSDataSourceCreateGenericItem(SOSDataSourceRef ds, CFStringRef account, CFStringRef service); 59 SOSObjectRef SOSDataSourceCopyObject(SOSDataSourceRef ds, SOSObjectRef match, CFErrorRef *error);
|
/macosx-10.10.1/ICU-531.30/icuSources/tools/toolutil/ |
H A D | swapimpl.h | 39 udata_swap(const UDataSwapper *ds,
|
H A D | swapimpl.cpp | 75 upname_swap(const UDataSwapper *ds, argument 79 int32_t headerSize=udata_swapDataHeader(ds, inData, length, outData, pErrorCode); 95 udata_printError(ds, "upname_swap(): data format %02x.%02x.%02x.%02x (format version %02x) is not recognized as pnames.icu\n", 110 udata_printError(ds, "upname_swap(): too few bytes (%d after header) for pnames.icu\n", 118 int32_t totalSize=udata_readInt32(ds, inIndexes[PropNameData::IX_TOTAL_SIZE]); 121 udata_printError(ds, "upname_swap(): too few bytes (%d after header, should be %d) " 129 udata_readInt32(ds, inIndexes[PropNameData::IX_BYTE_TRIES_OFFSET]); 132 ds->swapArray32(ds, inBytes, numBytesIndexesAndValueMaps, outBytes, pErrorCode); 160 uprops_swap(const UDataSwapper *ds, argument 308 ucase_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 410 ubidi_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 518 unorm_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 642 test_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument 748 udata_swap(const UDataSwapper *ds, const void *inData, int32_t length, void *outData, UErrorCode *pErrorCode) argument [all...] |
/macosx-10.10.1/tcl-105/tk/tk/win/ |
H A D | tkWinClipboard.c | 55 Tcl_DString ds; 79 Tcl_DStringInit(&ds); 81 Tcl_UniCharLen((Tcl_UniChar *)data), &ds); 100 Tcl_DStringInit(&ds); 101 Tcl_DStringAppend(&ds, "cp######", -1); 111 Tcl_DStringValue(&ds)+2, Tcl_DStringLength(&ds)-2); 114 encoding = Tcl_GetEncoding(NULL, Tcl_DStringValue(&ds)); 115 Tcl_DStringFree(&ds); 133 Tcl_ExternalToUtfDString(encoding, data, -1, &ds); 54 Tcl_DString ds; local 246 Tcl_DString ds; local [all...] |
/macosx-10.10.1/tcl-105/tk84/tk/win/ |
H A D | tkWinClipboard.c | 56 Tcl_DString ds; 80 Tcl_DStringInit(&ds); 82 Tcl_UniCharLen((Tcl_UniChar *)data), &ds); 101 Tcl_DStringInit(&ds); 102 Tcl_DStringAppend(&ds, "cp######", -1); 114 Tcl_DStringValue(&ds)+2, Tcl_DStringLength(&ds)-2); 117 encoding = Tcl_GetEncoding(NULL, Tcl_DStringValue(&ds)); 118 Tcl_DStringFree(&ds); 136 Tcl_ExternalToUtfDString(encoding, data, -1, &ds); 55 Tcl_DString ds; local 252 Tcl_DString ds; local [all...] |
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/struct/stack/ |
H A D | s.h | 9 #include <ds.h>
|
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/rdata/generic/ |
H A D | ds_43.c | 31 #include <dns/ds.h> 215 dns_rdata_ds_t *ds = source; local 219 REQUIRE(ds->common.rdtype == type); 220 REQUIRE(ds->common.rdclass == rdclass); 221 switch (ds->digest_type) { 223 REQUIRE(ds->length == ISC_SHA1_DIGESTLENGTH); 226 REQUIRE(ds->length == ISC_SHA256_DIGESTLENGTH); 229 REQUIRE(ds->length == ISC_GOST_DIGESTLENGTH); 236 RETERR(uint16_tobuffer(ds->key_tag, target)); 237 RETERR(uint8_tobuffer(ds 245 dns_rdata_ds_t *ds = target; local 276 dns_rdata_ds_t *ds = source; local [all...] |
/macosx-10.10.1/tcl-105/tcl/tcl/win/ |
H A D | tclWinLoad.c | 70 Tcl_DString ds; 73 nativeName = Tcl_WinUtfToTChar(fileName, -1, &ds); 76 Tcl_DStringFree(&ds); 174 Tcl_DString ds; 176 Tcl_DStringInit(&ds); 177 Tcl_DStringAppend(&ds, "_", 1); 178 symbol = Tcl_DStringAppend(&ds, symbol, -1); 180 Tcl_DStringFree(&ds); 69 Tcl_DString ds; local 172 Tcl_DString ds; local
|
/macosx-10.10.1/tcl-105/tcl84/tcl/win/ |
H A D | tclWinLoad.c | 67 Tcl_DString ds; 69 nativeName = Tcl_WinUtfToTChar(fileName, -1, &ds); 71 Tcl_DStringFree(&ds); 163 Tcl_DString ds; 164 Tcl_DStringInit(&ds); 165 Tcl_DStringAppend(&ds, "_", 1); 166 symbol = Tcl_DStringAppend(&ds, symbol, -1); 168 Tcl_DStringFree(&ds); 66 Tcl_DString ds; local 161 Tcl_DString ds; local
|
H A D | tclWinInit.c | 186 Tcl_DString ds; 191 Tcl_DStringInit(&ds); 279 path = Tcl_JoinPath(pathc - 1, pathv, &ds); 281 objPtr = Tcl_NewStringObj(path, Tcl_DStringLength(&ds)); 283 Tcl_DStringFree(&ds); 288 path = Tcl_JoinPath(pathc - 2, pathv, &ds); 290 objPtr = Tcl_NewStringObj(path, Tcl_DStringLength(&ds)); 292 Tcl_DStringFree(&ds); 297 path = Tcl_JoinPath(pathc - 1, pathv, &ds); 299 objPtr = Tcl_NewStringObj(path, Tcl_DStringLength(&ds)); 184 Tcl_DString ds; local 365 Tcl_DString ds; local 595 Tcl_DString ds; local 650 Tcl_DString ds; local [all...] |
/macosx-10.10.1/tcl-105/tcl/tcl/unix/ |
H A D | tclLoadDl.c | 87 Tcl_DString ds; 90 native = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds); 92 Tcl_DStringFree(&ds); 137 Tcl_DString newName, ds; 147 native = Tcl_UtfToExternalDString(NULL, symbol, -1, &ds); 158 Tcl_DStringFree(&ds); 86 Tcl_DString ds; local 135 Tcl_DString newName, ds; local
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/ |
H A D | dyn-string.c | 108 dyn_string_delete (dyn_string_t ds) argument 110 free (ds->s); 111 free (ds); 119 dyn_string_release (dyn_string_t ds) argument 122 char* result = ds->s; 124 ds->s = NULL; 126 free (ds); 139 dyn_string_resize (dyn_string_t ds, int space) argument 141 int new_allocated = ds->allocated; 150 if (new_allocated != ds 172 dyn_string_clear(dyn_string_t ds) argument [all...] |
/macosx-10.10.1/OpenSSL098-52/src/ssl/ |
H A D | d1_enc.c | 140 EVP_CIPHER_CTX *ds; local 153 ds=s->enc_write_ctx; 164 else if ( EVP_CIPHER_block_size(ds->cipher) > 1) 166 if (RAND_bytes(rec->input, EVP_CIPHER_block_size(ds->cipher)) <= 0) 178 ds=s->enc_read_ctx; 190 if ((s->session == NULL) || (ds == NULL) || 199 bs=EVP_CIPHER_block_size(ds->cipher); 223 printf("EVP_Cipher(ds=%p,rec->data=%p,rec->input=%p,l=%ld) ==>\n", 224 (void *)ds,rec->data,rec->input,l); 226 ds [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/ |
H A D | ds.c | 18 /* $Id: ds.c,v 1.13 2010/12/23 23:47:08 tbox Exp $ */ 32 #include <dns/ds.h> 58 dns_rdata_ds_t ds; local 125 ds.mctx = NULL; 126 ds.common.rdclass = key->rdclass; 127 ds.common.rdtype = dns_rdatatype_ds; 128 ds.algorithm = r.base[3]; 129 ds.key_tag = dst_region_computeid(&r, ds.algorithm); 130 ds [all...] |