| /PHP_5_5/ext/standard/ |
| H A D | crypt_sha256.c | 73 uint32_t buflen; member in struct:sha256_ctx 221 ctx->buflen = 0; 232 uint32_t bytes = ctx->buflen; 265 if (ctx->buflen != 0) { 266 size_t left_over = ctx->buflen; 270 ctx->buflen += add; 272 if (ctx->buflen > 64) { 273 sha256_process_block(ctx->buffer, ctx->buflen & ~63, ctx); 274 ctx->buflen &= 63; 276 memcpy(ctx->buffer, &ctx->buffer[(left_over + add) & ~63], ctx->buflen); 340 php_sha256_crypt_r(const char *key, const char *salt, char *buffer, int buflen) argument 607 static int buflen; local [all...] |
| H A D | crypt_sha512.c | 67 uint64_t buflen; member in struct:sha512_ctx 248 ctx->buflen = 0; 259 uint64_t bytes = ctx->buflen; 292 if (ctx->buflen != 0) { 293 size_t left_over = (size_t)ctx->buflen; 297 ctx->buflen += add; 299 if (ctx->buflen > 128) { 300 sha512_process_block(ctx->buffer, ctx->buflen & ~127, ctx); 302 ctx->buflen &= 127; 305 (size_t)ctx->buflen); 375 php_sha512_crypt_r(const char *key, const char *salt, char *buffer, int buflen) argument 653 static int buflen; local [all...] |
| H A D | exec.c | 67 size_t buflen, bufl = 0; local 89 buflen = EXEC_INPUT_BUF; 97 if (buflen < (bufl + (b - buf) + EXEC_INPUT_BUF)) { 99 buflen = bufl + EXEC_INPUT_BUF; 100 buf = erealloc(buf, buflen);
|
| /PHP_5_5/ext/xmlrpc/libxmlrpc/ |
| H A D | xml_element.c | 449 int buflen = el->text.len; local 452 escaped_str = xml_elem_entity_escape(el->text.str, buflen, &buflen, options->escaping ); 462 xml_elem_writefunc(fptr, escaped_str, data, buflen);
|
| /PHP_5_5/ext/intl/locale/ |
| H A D | locale_methods.c | 260 int32_t buflen = 512; local 305 tag_value = erealloc( tag_value , buflen ); 306 tag_value_len = buflen; 309 buflen = uloc_getScript ( mod_loc_name ,tag_value , tag_value_len , &status); 312 buflen = uloc_getLanguage ( mod_loc_name ,tag_value , tag_value_len , &status); 315 buflen = uloc_getCountry ( mod_loc_name ,tag_value , tag_value_len , &status); 318 buflen = uloc_getVariant ( mod_loc_name ,tag_value , tag_value_len , &status); 321 buflen = uloc_canonicalize ( mod_loc_name ,tag_value , tag_value_len , &status); 340 } while( buflen > tag_value_len ); 342 if( buflen 477 int32_t buflen = 512; local [all...] |
| /PHP_5_5/ext/mysqli/ |
| H A D | php_mysqli_structs.h | 102 ulong buflen; member in struct:__anon122
|
| /PHP_5_5/ext/pdo_odbc/ |
| H A D | odbc_stmt.c | 61 unsigned long buflen, unsigned long *outlen) 64 if (is_unicode && buflen) { 68 ret = MultiByteToWideChar(CP_UTF8, 0, buf, buflen, NULL, 0); 70 /*printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__, GetLastError(), buflen, buflen, buf);*/ 81 ret = MultiByteToWideChar(CP_UTF8, 0, buf, buflen, (LPWSTR)S->convbuf, S->convbufsize / sizeof(WCHAR)); 83 /*printf("%s:%d %d [%d] %.*s\n", __FILE__, __LINE__, GetLastError(), buflen, buflen, buf);*/ 96 unsigned long buflen, unsigned long *outlen) 99 if (is_unicode && buflen) { 60 pdo_odbc_utf82ucs2(pdo_stmt_t *stmt, int is_unicode, const char *buf, unsigned long buflen, unsigned long *outlen) argument 95 pdo_odbc_ucs22utf8(pdo_stmt_t *stmt, int is_unicode, const char *buf, unsigned long buflen, unsigned long *outlen) argument [all...] |
| /PHP_5_5/ext/posix/ |
| H A D | posix.c | 727 long buflen; local 745 buflen = sysconf(_SC_TTY_NAME_MAX); 746 if (buflen < 1) { 749 p = emalloc(buflen); 751 if (ttyname_r(fd, p, buflen)) { 998 long buflen; local 1007 buflen = sysconf(_SC_GETGR_R_SIZE_MAX); 1008 if (buflen < 1) { 1011 buf = emalloc(buflen); 1014 if (getgrnam_r(name, g, buf, buflen, 1117 long buflen; local [all...] |
| /PHP_5_5/main/streams/ |
| H A D | filter.c | 73 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent TSRMLS_DC) argument 88 bucket->buf = pemalloc(buflen, 1); 95 memcpy(bucket->buf, buf, buflen); 96 bucket->buflen = buflen; 100 bucket->buflen = buflen; 130 retval->buf = pemalloc(retval->buflen, retval->is_persistent); 131 memcpy(retval->buf, bucket->buf, retval->buflen); 151 (*left)->buflen [all...] |
| H A D | php_stream_filter_api.h | 49 size_t buflen; member in struct:_php_stream_bucket 70 PHPAPI php_stream_bucket *php_stream_bucket_new(php_stream *stream, char *buf, size_t buflen, int own_buf, int buf_persistent TSRMLS_DC);
|
| H A D | php_stream_transport.h | 103 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, 109 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, 150 size_t buflen; member in struct:_php_stream_xport_param::__anon296
|
| H A D | transports.c | 397 PHPAPI int php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, argument 408 return php_stream_read(stream, buf, buflen); 423 if (recvd_len > buflen) { 424 recvd_len = buflen; 429 buflen -= recvd_len; 432 if (buflen == 0) { 446 param.inputs.buflen = buflen; 467 PHPAPI int php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, argument 476 return php_stream_write(stream, buf, buflen); [all...] |
| H A D | xp_socket.c | 233 static inline int sock_sendto(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, argument 239 ret = sendto(sock->socket, buf, buflen, flags, addr, addrlen); 242 return ((ret = send(sock->socket, buf, buflen, flags)) == SOCK_CONN_ERR) ? -1 : ret; 245 static inline int sock_recvfrom(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, argument 256 ret = recvfrom(sock->socket, buf, buflen, flags, (struct sockaddr*)&sa, &sl); 261 ret = recv(sock->socket, buf, buflen, flags); 354 xparam->inputs.buf, xparam->inputs.buflen, 375 xparam->inputs.buf, xparam->inputs.buflen,
|
| /PHP_5_5/ext/mysqlnd/ |
| H A D | mysqlnd_loaddata.c | 163 unsigned int buflen = 4096; local 182 buf = (zend_uchar *) mnd_ecalloc(1, buflen); 200 while ((bufsize = infile.local_infile_read (info, buf + MYSQLND_HEADER_SIZE, buflen - MYSQLND_HEADER_SIZE TSRMLS_CC)) > 0) {
|
| /PHP_5_5/win32/ |
| H A D | registry.c | 287 DWORD buflen = MAXPATHLEN; local 289 if(RegQueryValueEx(hKey, PHPRC_REGISTRY_NAME, 0, NULL, reg_location, &buflen) != ERROR_SUCCESS) {
|
| /PHP_5_5/ext/session/ |
| H A D | mod_files.c | 99 static char *ps_files_path_create(char *buf, size_t buflen, ps_files *data, const char *key) argument 108 buflen < (strlen(data->basedir) + 2 * data->dirdepth + key_len + 5 + sizeof(FILE_PREFIX))) {
|
| /PHP_5_5/ext/fileinfo/libmagic/ |
| H A D | cdf.c | 981 cdf_print_classid(char *buf, size_t buflen, const cdf_classid_t *id) argument 983 return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-"
|
| /PHP_5_5/ext/curl/ |
| H A D | interface.c | 1660 static size_t curl_passwd(void *ctx, char *prompt, char *buf, int buflen) argument 1677 ZVAL_LONG(argv[2], buflen); 1683 if (Z_STRLEN_P(retval) > buflen) {
|
| /PHP_5_5/ext/pgsql/ |
| H A D | pgsql.c | 4115 size_t buflen; local 4123 buflen = strlen(strtext); /* will shrink, also we discover if 4125 buffer = (unsigned char *) emalloc(buflen); /* isn't NULL terminated */ 4140 buflen--; 4147 buflen--; 4176 buflen -= 3; 4187 buffer = erealloc(buffer, buflen+1); 4188 buffer[buflen] = '\0'; 4190 *retbuflen = buflen;
|
| /PHP_5_5/ext/snmp/ |
| H A D | snmp.c | 557 int buflen = sizeof(sbuf) - 1; local 567 if (snprint_value(buf, buflen, vars->name, vars->name_length, vars) == -1) { 587 buflen = sizeof(sbuf) - 1; 592 buflen = val_len; 595 if((valueretrieval & SNMP_VALUE_PLAIN) && val_len > buflen){ 598 buflen = val_len; 623 snprint_objid(buf, buflen, vars->val.objid, vars->val_len / sizeof(oid)); 628 snprintf(buf, buflen, "%d.%d.%d.%d", 631 buf[buflen]=0; 640 snprintf(buf, buflen, " [all...] |
| /PHP_5_5/ext/zip/lib/ |
| H A D | zip_open.c | 174 _zip_readcdir(FILE *fp, off_t buf_offset, unsigned char *buf, unsigned char *eocd, int buflen, 182 comlen = buf + buflen - eocd - EOCDLEN; 527 int a, best, buflen, i; 545 buflen = fread(buf, 1, CDBUFSIZE, fp); 558 while ((match=_zip_memmem(match, buflen-(match-buf)-18, 563 if ((cdirnew=_zip_readcdir(fp, buf_offset, buf, match-1, buflen, flags, 169 _zip_readcdir(FILE *fp, off_t buf_offset, unsigned char *buf, unsigned char *eocd, int buflen, int flags, struct zip_error *error) argument 516 int a, best, buflen, i; local
|