| /PHP_5_3/ext/phar/ |
| H A D | makestub.php | 33 $stub = '/* variable 35 | phar php single-file executable PHP extension generated stub | 53 static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len TSRMLS_DC) 79 $stub .= "\tstatic const char newstub0[] = \"" . $webs . '"; 83 $stub .= "\tstatic const char newstub1_" . $i . '[] = "' . $chunk . '"; 86 $stub .= "\tstatic const char newstub2[] = \"" . $s2 . "\"; 90 $stub .= "\tstatic const char newstub3_" . $i . '[] = "' . $chunk . '"; 93 $stub .= "\n\tstatic const int newstub_len = " . $slen . "; 95 \t*len = spprintf(stub, name_len + web_len + newstub_len, \"%s%s" . str_repeat('%s', $s1count) . '%s%s%d' 98 $stub [all...] |
| H A D | phar.c | 549 phar_entry_info *stub; local 556 phar_entry_info *stub; local 565 /* prevent any ".phar" without a stub getting through */ 567 if (PHAR_G(readonly) && FAILURE == zend_hash_find(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1, (void **)&stub)) { 689 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)") 696 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)") 702 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)") 1287 phar_entry_info *stub; local 2520 char *stub = NULL; local [all...] |
| H A D | stub.h | 3 | phar php single-file executable PHP extension generated stub | 21 static inline void phar_get_stub(const char *index_php, const char *web, size_t *len, char **stub, const int name_len, const int web_len TSRMLS_DC) argument 33 *len = spprintf(stub, name_len + web_len + newstub_len, "%s%s%s%s%s%s%d%s%s%s", newstub0, web, newstub1_0, newstub1_1, index_php, newstub2, name_len + web_len + newstub_len, newstub3_0, newstub3_1, newstub3_2);
|
| H A D | phar_object.c | 963 * Return a stub that can be used to run a phar-based archive without the phar extension 969 char *index = NULL, *webindex = NULL, *stub, *error; local 977 stub = phar_create_default_stub(index, webindex, &stub_len, &error TSRMLS_CC); 984 RETURN_STRINGL(stub, stub_len, 0); 2941 /* {{{ proto bool Phar::setStub(string|stream stub [, int len]) 2942 * Change the stub in a phar, phar.tar or phar.zip archive to something other 2943 * than the default. The stub *must* end with a call to __HALT_COMPILER(). 2948 char *stub, *error; local 2956 "Cannot change stub, phar is read-only"); 2963 "A Phar stub canno 3026 char *index = NULL, *webindex = NULL, *error = NULL, *stub = NULL; local 3979 phar_entry_info *stub; local [all...] |
| /PHP_5_3/ext/phar/phar/ |
| H A D | pharcommand.inc | 124 .'stub so that class PHP_Archive gets registered as phar:// stream wrapper ' 132 'inf' => '<stub> Select the stub file.' 444 "When using -s <stub>, then the stub file is being " . 472 * Set the stub 474 public function phar_set_stub_begin(Phar $phar, $stub, $loader = NULL, $hashbang = NULL) 476 if (isset($stub)) { 477 $c = file_get_contents($stub); 524 return new SplFileInfo($stub); [all...] |
| /PHP_5_3/scripts/dev/generate-phpt/ |
| H A D | gtPackage.php | 21 $stub = <<<ENDSTUB variable 28 $phar->setStub($stub);
|
| /PHP_5_3/win32/build/ |
| H A D | mkdist.php | 440 $stub = file($path_to_phar . '/phar/phar.php'); variable 442 unset($stub[0]); // remove hashbang 443 $phar->setStub(implode('', $stub));
|
| /PHP_5_3/ext/iconv/ |
| H A D | iconv.c | 2465 char stub[128]; member in struct:_php_iconv_stream_filter 2541 pt = self->stub; 2555 if (self->stub_len >= sizeof(self->stub)) { 2559 self->stub[self->stub_len++] = *(ps++); 2561 pt = self->stub; 2618 memmove(self->stub, pt, tcnt); 2633 if (icnt > sizeof(self->stub)) { 2637 memcpy(self->stub, ps, icnt);
|
| /PHP_5_3/ext/standard/ |
| H A D | filters.c | 1173 char stub[128]; member in struct:_php_convert_filter 1532 pt = inst->stub; 1546 if (inst->stub_len >= sizeof(inst->stub)) { 1550 inst->stub[inst->stub_len++] = *(ps++); 1552 pt = inst->stub; 1609 memmove(inst->stub, pt, tcnt); 1623 if (icnt > sizeof(inst->stub)) { 1627 memcpy(inst->stub, ps, icnt);
|
| /PHP_5_3/Zend/ |
| H A D | zend_object_handlers.c | 292 zend_guard stub; local 316 stub.in_get = 0; 317 stub.in_set = 0; 318 stub.in_unset = 0; 319 stub.in_isset = 0; 320 return zend_hash_quick_add(zobj->guards, property_info->name, property_info->name_length+1, property_info->h, (void**)&stub, sizeof(stub), (void**) pguard);
|