Home
last modified time | relevance | path

Searched refs:CAST (Results 1 – 15 of 15) sorted by relevance

/PHP-5.4/ext/mysqli/tests/
H A Dmysqli_ps_select_union.phpt15 print "Using CAST('somestring' AS CHAR)...\n";
16 …if (!($res = $link->query("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHAR…
27 … (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHA…
52 … (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHA…
72 print "Mixing CAST('somestring'AS CHAR), integer and CAST(integer AS CHAR)...\n";
73 …(!($res = $link->query("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT CAST(2…
83 …$stmt = $link->prepare("SELECT 1 AS column1 UNION SELECT CAST('three' AS CHAR) UNION SELECT CAST(2…
213 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
232 …if (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST(? AS CHAR) U…
255 Using CAST('somestring' AS CHAR)...
[all …]
H A Dbug45019.phpt15 print "Using CAST('somestring' AS CHAR)...\n";
16 …if (!($res = $link->query("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHAR…
27 … (!($stmt = $link->prepare("SELECT CAST('one' AS CHAR) AS column1 UNION SELECT CAST('three' AS CHA…
55 Using CAST('somestring' AS CHAR)...
H A Dbug_mysql_49406.phpt16 …$query = "SELECT CASE WHEN 0 THEN CAST('2009-12-03' AS DATE) ELSE CAST('2009-12-03' AS DATE) END…
/PHP-5.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c622 return CAST(int32_t, (ms->offset + sizeof(char))); in moffset()
627 return CAST(int32_t, (ms->offset + sizeof(short))); in moffset()
652 t = CAST(uint32_t, (ms->offset + strlen(p->s))); in moffset()
683 return CAST(int32_t, (ms->offset + sizeof(float))); in moffset()
692 return CAST(int32_t, ms->search.offset); in moffset()
694 return CAST(int32_t, (ms->search.offset + in moffset()
699 return CAST(int32_t, ms->search.offset); in moffset()
1052 ((b = CAST(const char *, in mcopy()
1053 memchr(c = b, '\n', CAST(size_t, (end - b))))) in mcopy()
1054 || (b = CAST(const char *, in mcopy()
[all …]
H A Dcdf.c423 if ((msa = CAST(cdf_secid_t *, calloc(1, ss))) == NULL) in cdf_read_sat()
612 dir->dir_tab = CAST(cdf_directory_t *, in cdf_read_dir()
617 if ((buf = CAST(char *, malloc(ss))) == NULL) { in cdf_read_dir()
775 shp = CAST(const cdf_section_header_t *, (const void *) in cdf_read_property_info()
795 inp = CAST(cdf_property_info_t *, in cdf_read_property_info()
799 inp = CAST(cdf_property_info_t *, in cdf_read_property_info()
807 p = CAST(const uint8_t *, (const void *) in cdf_read_property_info()
810 e = CAST(const uint8_t *, (const void *) in cdf_read_property_info()
902 inp = CAST(cdf_property_info_t *, in cdf_read_property_info()
960 CAST(const cdf_summary_info_header_t *, sst->sst_tab); in cdf_unpack_summary_info()
[all …]
H A Dapprentice.c463 if ((ms = CAST(struct magic_set *, ecalloc((size_t)1, in file_ms_alloc()
918 if ((mp = CAST(struct magic_entry *, in addentry()
1104 if ((*ma = CAST(struct magic *, emalloc(slen))) == NULL) { in coalesce_entries()
1194 if ((filearr = CAST(char **, in apprentice_load()
1539 if ((nm = CAST(struct magic *, erealloc(me->mp, in parse()
1545 me->max_count = CAST(uint32_t, cnt); in parse()
1554 if ((m = CAST(struct magic *, emalloc(len))) == NULL) { in parse()
1565 m->lineno = CAST(uint32_t, lineno); in parse()
1783 m->str_range = CAST(uint32_t, in parse()
2476 m->vallen = CAST(unsigned char, (p - origp)); in getstr()
[all …]
H A Dcompress.c167 buf = CAST(const char *, buf) + rv; in swrite()
348 if ((*newch = CAST(unsigned char *, emalloc(HOWMANY + 1))) == NULL) { in uncompressgzipped()
355 z.avail_in = CAST(uint32_t, (n - data_start)); in uncompressgzipped()
H A Dfuncs.c166 const unsigned char *ubuf = CAST(const unsigned char *, buf); in file_buffer()
356 if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { in file_getbuffer()
418 ms->c.li = CAST(struct level_info *, (ms->c.li == NULL) ? in file_check_mem()
H A Dfile.h358 #define CAST(T, b) static_cast<T>(b) macro
361 #define CAST(T, b) (T)(b) macro
H A Dencoding.c76 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
H A Dascmagic.c142 if ((utf8_buf = CAST(unsigned char *, emalloc(mlen))) == NULL) { in file_ascmagic_with_encoding()
/PHP-5.4/ext/fileinfo/
H A Dlibmagic.patch160 - if ((ms = CAST(struct magic_set *, calloc((size_t)1,
161 + if ((ms = CAST(struct magic_set *, ecalloc((size_t)1,
285 if ((mp = CAST(struct magic_entry *,
442 if ((filearr = CAST(char **,
495 - if ((nm = CAST(struct magic *, realloc(me->mp,
496 + if ((nm = CAST(struct magic *, erealloc(me->mp,
504 - if ((m = CAST(struct magic *, malloc(len))) == NULL) {
505 + if ((m = CAST(struct magic *, emalloc(len))) == NULL) {
651 - ptr = CAST(uint32_t *, map->p);
697 map->magic[0] = CAST(struct magic *, map->p) + 1;
[all …]
/PHP-5.4/ext/pgsql/tests/
H A D08escape.phpt47 $sql = "INSERT INTO ".$table_name." (num, bin) VALUES (-9999, CAST ('".$escaped_data."' AS BYTEA));…
/PHP-5.4/ext/standard/tests/misc/
H A Dbrowscap.ini4579 [CAST] section
4581 Browser="CAST" argument
/PHP-5.4/ext/fileinfo/tests/
H A Dmagic9071 >>8 byte&0x70 0x30 CAST-256 crypt,
9089 >>8 byte&0x70 0x30 CAST-256 crypt,
12492 >3 byte 8 algorithm: CAST-128,

Completed in 203 milliseconds