Lines Matching refs:spec

135 	const char *spec = *specp;  in parse_serialize_spec()  local
137 if (*spec == 's' || *spec == 'S') { in parse_serialize_spec()
140 } else if (*spec == 'l' || *spec == 'L') { in parse_serialize_spec()
143 } else if (*spec == 'q' || *spec == 'Q') { in parse_serialize_spec()
146 } else if (*spec == 'i' || *spec == 'I') { in parse_serialize_spec()
150 ZEND_ASSERT(*spec == 'b' || *spec == 'B'); in parse_serialize_spec()
158 ++spec; in parse_serialize_spec()
159 if (isdigit((unsigned char) *spec)) { in parse_serialize_spec()
161 while (isdigit((unsigned char) *spec)) { in parse_serialize_spec()
162 count = 10 * count + *spec - '0'; in parse_serialize_spec()
163 ++spec; in parse_serialize_spec()
168 *specp = spec; in parse_serialize_spec()
225 …t php_hash_serialize_spec(const php_hashcontext_object *hash, zval *zv, const char *spec) /* {{{ */ in php_hash_serialize_spec() argument
234 while (*spec != '\0' && *spec != '.') { in php_hash_serialize_spec()
235 char spec_ch = *spec; in php_hash_serialize_spec()
236 size_t sz, count = parse_serialize_spec(&spec, &pos, &sz, &max_alignment); in php_hash_serialize_spec()
260 if (*spec == '.' && align_to(pos, max_alignment) != hash->ops->context_size) { in php_hash_serialize_spec()
273 …php_hash_unserialize_spec(php_hashcontext_object *hash, const zval *zv, const char *spec) /* {{{ */ in php_hash_unserialize_spec() argument
281 while (*spec != '\0' && *spec != '.') { in php_hash_unserialize_spec()
282 char spec_ch = *spec; in php_hash_unserialize_spec()
283 size_t sz, count = parse_serialize_spec(&spec, &pos, &sz, &max_alignment); in php_hash_unserialize_spec()
320 if (*spec == '.' && align_to(pos, max_alignment) != hash->ops->context_size) { in php_hash_unserialize_spec()