/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/lib/ |
H A D | mapper.c | 64 * Type for mapping scheme. 122 map_scheme_t **scheme; local 135 for (scheme = (map_scheme_t **)standard_map_schemes; 136 *scheme != NULL; scheme++) { 137 r = idn__strhash_put(scheme_hash, (*scheme)->prefix, *scheme); 228 map_scheme_t *scheme; local 233 char *buffer = static_buffer; local 252 buffer 442 map_scheme_t *scheme = NULL; local [all...] |
H A D | checker.c | 62 * Type for checking scheme. 150 check_scheme_t **scheme; local 164 for (scheme = (check_scheme_t **)standard_check_schemes; 165 *scheme != NULL; scheme++) { 166 r = idn__strhash_put(scheme_hash, (*scheme)->prefix, *scheme); 258 check_scheme_t *scheme; local 262 char *buffer = NULL; local 281 buffer 411 check_scheme_t *scheme = NULL; local [all...] |
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/contrib/slapd-modules/passwd/ |
H A D | netscape.c | 25 static const struct berval scheme = BER_BVC("{NS-MTA-MD5}"); variable in typeref:struct:berval 29 const struct berval *scheme, 36 char buffer[LUTIL_MD5_BYTES*2]; local 70 buffer[i+i] = "0123456789abcdef"[(MD5digest[i]>>4) & 0x0F]; 71 buffer[i+i+1] = "0123456789abcdef"[ MD5digest[i] & 0x0F]; 76 (char *)buffer, sizeof(buffer)) ? LUTIL_PASSWD_ERR : LUTIL_PASSWD_OK; 80 return lutil_passwd_add( (struct berval *)&scheme, chk_ns_mta_md5, NULL ); 28 chk_ns_mta_md5( const struct berval *scheme, const struct berval *passwd, const struct berval *cred, const char **text ) argument
|
/macosx-10.9.5/cups-372.4/cups/backend/ |
H A D | testbackend.c | 77 char scheme[255], /* Scheme in URI == backend */ local 157 * Extract the scheme from the device-uri - that's the program we want to 161 if (sscanf(argv[first_arg], "%254[^:]", scheme) != 1) 167 if (!access(scheme, X_OK)) 168 strlcpy(backend, scheme, sizeof(backend)); 174 snprintf(backend, sizeof(backend), "%s/backend/%s", serverbin, scheme); 177 fprintf(stderr, "testbackend: Unknown device scheme \"%s\"!\n", scheme); 263 char buffer[1024]; /* Output buffer */ local 352 char buffer[1024]; /* Buffer for response data */ local 519 char buffer[2049]; /* Buffer for reponse */ local [all...] |
H A D | socket.c | 65 char scheme[255], /* Scheme in URI */ local 93 char buffer[1024]; /* Initial print buffer */ local 175 httpSeparateURI(HTTP_URI_CODING_ALL, device_uri, scheme, sizeof(scheme), 315 else if ((bytes = read(0, buffer, sizeof(buffer))) <= 0) 418 tbytes += write(device_fd, buffer, bytes); 489 char buffer[1024]; /* Back-channel buffer */ local [all...] |
/macosx-10.9.5/cups-372.4/cups/cups/ |
H A D | http-support.c | 78 typedef struct _http_uribuf_s /* URI buffer */ 83 char *buffer; /* Pointer to buffer */ member in struct:_http_uribuf_s 84 size_t bufsize; /* Size of buffer */ 175 char *uri, /* I - URI buffer */ 176 int urilen, /* I - Size of URI buffer */ 177 const char *scheme, /* I - Scheme name */ 183 char *ptr, /* Pointer into URI buffer */ 184 *end; /* End of URI buffer */ 191 if (!uri || urilen < 1 || !scheme || por 173 httpAssembleURI( http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resource) argument 453 httpAssembleURIf( http_uri_coding_t encoding, char *uri, int urilen, const char *scheme, const char *username, const char *host, int port, const char *resourcef, ...) argument 513 httpAssembleUUID(const char *server, int port, const char *name, int number, char *buffer, size_t bufsize) argument 556 _httpAssembleUUID(const char *server, int port, const char *name, int number, char *buffer, size_t bufsize) argument 921 httpSeparate(const char *uri, char *scheme, char *username, char *host, int *port, char *resource) argument 945 httpSeparate2(const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument 969 httpSeparateURI( http_uri_coding_t decoding, const char *uri, char *scheme, int schemelen, char *username, int usernamelen, char *host, int hostlen, int *port, char *resource, int resourcelen) argument 1495 char scheme[32], /* URI components... */ local 2019 const char *scheme, /* URI scheme */ local 2214 const char *scheme, /* URI scheme */ local [all...] |
H A D | testhttp.c | 33 *scheme, /* Scheme string */ member in struct:uri_test_s 126 /* Missing scheme */ 134 /* Unknown scheme */ 152 /* Bad scheme */ 222 char buffer[8192]; /* Input buffer */ local 228 char scheme[HTTP_MAX_URI], /* Scheme from URI */ local 271 strlcpy(buffer, httpGetDateString(start), sizeof(buffer)); 272 current = httpGetDateTime(buffer); [all...] |
H A D | localize.c | 243 * text or URI from the attribute value. If "scheme" is NULL or "text", 247 * If no value of the requested scheme can be found, NULL is returned. 256 const char *scheme, /* I - URI scheme or NULL for text */ 257 char *buffer, /* I - Value buffer */ 258 size_t bufsize) /* I - Size of value buffer */ 263 *bufptr, /* Pointer into buffer */ 264 *bufend, /* Pointer to end of buffer */ 267 schemelen; /* Length of scheme nam 253 ppdLocalizeIPPReason( ppd_file_t *ppd, const char *reason, const char *scheme, char *buffer, size_t bufsize) argument [all...] |
H A D | dest-localization.c | 40 static int cups_read_strings(cups_file_t *fp, char *buffer, size_t bufsize, 42 static char *cups_scan_strings(char *buffer); 139 char scheme[32], /* URI scheme */ local 179 scheme, sizeof(scheme), userpass, sizeof(userpass), 205 if (!strcmp(scheme, "https")) 243 char buffer[8192], /* Message buffer */ local 250 while (cups_read_strings(temp, buffer, sizeo 294 cups_read_strings(cups_file_t *strings, char *buffer, size_t bufsize, char **id, char **str) argument 342 cups_scan_strings(char *buffer) argument [all...] |
H A D | util.c | 809 * The returned filename is stored in a static buffer and is overwritten with 841 * The returned filename is stored in a static buffer and is overwritten with 874 * The "buffer" parameter contains the local PPD filename. If it contains 893 char *buffer, /* I - Filename buffer */ 894 size_t bufsize) /* I - Size of filename buffer */ 914 DEBUG_printf(("cupsGetPPD3(http=%p, name=\"%s\", modtime=%p(%d), buffer=%p, " 916 modtime ? (int)*modtime : 0, buffer, (int)bufsize)); 930 if (!buffer || bufsize <= 1) 932 _cupsSetError(IPP_STATUS_ERROR_INTERNAL, _("Bad filename buffer"), 890 cupsGetPPD3(http_t *http, const char *name, time_t *modtime, char *buffer, size_t bufsize) argument 1447 char buffer[8192]; /* Copy buffer */ local 1641 scheme[HTTP_MAX_URI], /* Scheme name */ local [all...] |
/macosx-10.9.5/IOStorageFamily-172/ |
H A D | IOFilterScheme.cpp | 100 IOMemoryDescriptor * buffer, 106 // specified buffer, asynchronously. When the read completes, the caller 109 // The buffer will be retained for the duration of the read. 125 IOStorage::read( client, byteStart, buffer, attributes, completion ); 132 getProvider( )->read( this, byteStart, buffer, attributes, completion ); 137 IOMemoryDescriptor * buffer, 143 // specified buffer, asynchronously. When the write completes, the caller 146 // The buffer will be retained for the duration of the write. 162 IOStorage::write( client, byteStart, buffer, attributes, completion ); 169 getProvider( )->write( this, byteStart, buffer, attribute 98 read(IOService * client, UInt64 byteStart, IOMemoryDescriptor * buffer, IOStorageAttributes * attributes, IOStorageCompletion * completion) argument 135 write(IOService * client, UInt64 byteStart, IOMemoryDescriptor * buffer, IOStorageAttributes * attributes, IOStorageCompletion * completion) argument 261 _ZN14IOFilterScheme4readEP9IOServiceyP18IOMemoryDescriptor19IOStorageCompletion( IOFilterScheme * scheme, IOService * client, UInt64 byteStart, IOMemoryDescriptor * buffer, IOStorageCompletion completion ) argument 266 _ZN14IOFilterScheme5writeEP9IOServiceyP18IOMemoryDescriptor19IOStorageCompletion( IOFilterScheme * scheme, IOService * client, UInt64 byteStart, IOMemoryDescriptor * buffer, IOStorageCompletion completion ) argument [all...] |
/macosx-10.9.5/cups-372.4/cups/scheduler/ |
H A D | cups-driverd.cxx | 115 scheme[128]; /* PPD scheme */ member in struct:__anon7224 182 const char *scheme); 197 const char *subdir, char *buffer, 205 const char *scheme, struct stat *fileinfo, 270 const char *scheme) /* I - PPD scheme */ 309 strlcpy(ppd->record.scheme, scheme, sizeof(ppd->record.scheme)); 258 add_ppd(const char *filename, const char *name, const char *language, const char *make, const char *make_and_model, const char *device_id, const char *product, const char *psversion, time_t mtime, size_t size, int model_number, int type, const char *scheme) argument 349 scheme[32], // URI scheme ("drv") local 463 char scheme[256], /* Scheme from PPD name */ local 636 buffer[8192]; /* Copy buffer */ local 863 get_file(const char *name, int request_id, const char *subdir, char *buffer, size_t bufsize, char **subfile) argument 1739 *scheme, /* Scheme for this driver */ local 1972 load_ppd(const char *filename, const char *name, const char *scheme, struct stat *fileinfo, ppd_info_t *ppd, cups_file_t *fp, off_t end) argument [all...] |
/macosx-10.9.5/WebKit-7537.78.2/mac/Misc/ |
H A D | WebNSURLExtras.mm | 196 UInt8 *buffer = static_buffer; 197 CFIndex bytesFilled = CFURLGetBytes((CFURLRef)self, buffer, URL_BYTES_BUFFER_LENGTH); 200 buffer = static_cast<UInt8 *>(malloc(bytesToAllocate)); 201 bytesFilled = CFURLGetBytes((CFURLRef)self, buffer, bytesToAllocate); 208 char c = buffer[range.location + i]; 211 buffer[range.location + i] = lower; 217 ? (NSURL *)HardAutorelease(CFURLCreateAbsoluteURLWithBytes(NULL, buffer, bytesFilled, kCFStringEncodingUTF8, nil, YES)) 220 if (buffer != static_buffer) { 221 free(buffer); 257 NSData *scheme [all...] |
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | url.cpp | 45 char buffer[2048]; local 46 if (CFStringGetCString(str, buffer, sizeof(buffer), kCFStringEncodingUTF8)) 47 return buffer; 90 string URL::scheme() const function in class:Security::Network::URL
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | url.cpp | 45 char buffer[2048]; local 46 if (CFStringGetCString(str, buffer, sizeof(buffer), kCFStringEncodingUTF8)) 47 return buffer; 90 string URL::scheme() const function in class:Security::Network::URL
|
/macosx-10.9.5/WebCore-7537.78.1/platform/ |
H A D | KURL.cpp | 263 // ASCII. The destination buffer must be large enough. Null characters are allowed 280 static void appendASCII(const String& base, const char* rel, size_t len, CharBuffer& buffer) argument 282 buffer.resize(base.length() + len + 1); 283 copyASCII(base, buffer.data()); 284 memcpy(buffer.data() + base.length(), rel, len); 285 buffer[buffer.size() - 1] = '\0'; 404 // scheme, meaning that it will have a colon before the first 405 // non-scheme element. 866 static void appendEscapedChar(char*& buffer, unsigne argument 872 appendEscapingBadChars(char*& buffer, const char* strStart, size_t length) argument 892 escapeAndAppendNonHierarchicalPart(char*& buffer, const char* strStart, size_t length) argument 1009 isDefaultPortForScheme(const char* port, size_t portLength, const char* scheme, size_t schemeLength) argument 1037 isNonFileHierarchicalScheme(const char* scheme, size_t schemeLength) argument 1054 isCanonicalHostnameLowercaseForScheme(const char* scheme, size_t schemeLength) argument 1482 appendEncodedHostname(UCharBuffer& buffer, const UChar* str, unsigned strLen) argument [all...] |
/macosx-10.9.5/Heimdal-323.92.1/lib/gssapi/cf/ |
H A D | credential.c | 377 CFStringRef scheme = CFURLCopyScheme(url); local 380 if (scheme == NULL) 381 scheme = CFSTR(""); 382 hn = CFStringCreateWithFormat(NULL, NULL, CFSTR("%@-%@"), host, scheme); 389 CFRelease(scheme); 508 * Create a GSS name from a buffer and type. 510 * @param name name buffer describing a credential, can be either a CFDataRef or CFStringRef of a name. 523 gss_buffer_desc buffer; local 531 buffer.value = rk_cfstring2cstring(name); 532 if (buffer 616 gss_buffer_desc buffer; local [all...] |
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-WebKit/Examples/PyDocURLProtocol/ |
H A D | PyDocURLProtocol.py | 10 if request.URL().scheme() == PYDOCSCHEME: 50 buffer(data),
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-WebKit/Examples/PyDocURLProtocol/ |
H A D | PyDocURLProtocol.py | 10 if request.URL().scheme() == PYDOCSCHEME: 50 buffer(data),
|
/macosx-10.9.5/libxml2-26/libxml2/ |
H A D | buf.h | 3 * Description: this module describes most of the new xmlBuf buffer 27 xmlBufferAllocationScheme scheme); 60 xmlBufPtr xmlBufFromBuffer(xmlBufferPtr buffer); 62 int xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer);
|
H A D | buf.c | 4 * new buffer structures and entry points to simplify the maintainance 37 * A buffer structure. The base of the structure is somehow compatible 39 * directly the input->buf->buffer structures. 43 xmlChar *content; /* The buffer content UTF8 */ 48 size_t use; /* The buffer size used */ 49 size_t size; /* The buffer size */ 50 xmlBufferPtr buffer; /* wrapper for an old buffer */ member in struct:_xmlBuf 102 * Handle a buffer overflow error 117 * routine to create an XML buffer 287 xmlBufSetAllocationScheme(xmlBufPtr buf, xmlBufferAllocationScheme scheme) argument 1126 xmlBufFromBuffer(xmlBufferPtr buffer) argument 1216 xmlBufMergeBuffer(xmlBufPtr buf, xmlBufferPtr buffer) argument [all...] |
/macosx-10.9.5/CF-855.17/ |
H A D | CFPriv.h | 92 CF_EXPORT Boolean _CFURLGetWideFileSystemRepresentation(CFURLRef url, Boolean resolveAgainstBase, wchar_t *buffer, CFIndex bufferLength); 113 CFStringRef scheme; member in struct:__anon476 118 CFStringRef scheme; member in struct:__anon477 131 CFStringRef scheme; member in struct:__anon478 156 CF_EXPORT Boolean _CFStringGetFileSystemRepresentation(CFStringRef string, UInt8 *buffer, CFIndex maxBufLen); 323 UniChar *bufPtr = buf->buffer; 326 CFStringGetCharacters(buf->theString, CFRangeMake(location, length), buf->buffer); 330 return buf->buffer + (desiredRange.location - buf->bufferedRangeStart); 343 memmove(outBuf, buf->buffer + (desiredRange.location - buf->bufferedRangeStart), bufLen * sizeof(UniChar)); 350 memmove(outBuf + desiredRange.length, buf->buffer, (desiredRangeMa 383 UniChar buffer[__kCFStringAppendBufferLength]; member in struct:__anon481 500 CFCharacterSetInlineBufferIsLongCharacterMember(CFCharacterSetInlineBuffer *buffer, UTF32Char character) argument [all...] |
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/mac/ |
H A D | WebContextMac.mm | 304 for (NSString *scheme in [WKBrowsingContextController customSchemes]) 305 parameters.urlSchemesRegisteredForCustomProtocols.append(scheme); 321 for (NSString *scheme in [WKBrowsingContextController customSchemes]) 322 parameters.urlSchemesRegisteredForCustomProtocols.append(scheme); 397 RefPtr<SharedBuffer> buffer = PlatformPasteboard(pasteboardName).bufferForType(pasteboardType); 398 if (!buffer) 400 size = buffer->size(); 402 memcpy(sharedMemoryBuffer->data(), buffer->data(), size); 458 RefPtr<SharedBuffer> buffer = SharedBuffer::create(static_cast<unsigned char *>(sharedMemoryBuffer->data()), size); 459 PlatformPasteboard(pasteboardName).setBufferForType(buffer, pasteboardTyp [all...] |
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/ |
H A D | tif_jbig.c | 77 static int JBIGDecode(TIFF* tif, tidata_t buffer, tsize_t size, tsample_t s) argument 125 _TIFFmemcpy(buffer, pImage, jbg_dec_getsize(&decoder)); 169 static void JBIGOutputBie(unsigned char* buffer, size_t len, void *userData) argument 175 TIFFReverseBits(buffer, len); 178 JBIGCopyEncodedData(tif, buffer, len, 0); 181 static int JBIGEncode(TIFF* tif, tidata_t buffer, tsize_t size, tsample_t s) argument 192 &buffer, 314 int TIFFInitJBIG(TIFF* tif, int scheme) argument 318 assert(scheme == COMPRESSION_JBIG);
|
/macosx-10.9.5/IOKitUser-907.100.13/ |
H A D | IOCFURLAccess.c | 93 CFStringRef scheme = CFURLCopyScheme(url); local 95 if (!scheme) { 102 if (CFStringCompare(scheme, CFSTR("file"), 0) == kCFCompareEqualTo) { 110 CFRelease(scheme); 116 char buffer[CFMaxPathSize]; local 119 if (!CFURLGetFileSystemRepresentation(url, TRUE, buffer, CFMaxPathSize)) { 137 if (!_IOReadBytesFromFile(alloc, buffer, &bytes, &length, 0)) { 159 CFStringRef scheme = CFURLCopyScheme(url); local 160 if (!scheme) { 163 } else if (CFStringCompare(scheme, CFST 196 CFTypeRef buffer[16]; local [all...] |