Searched refs:stub (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/scripts/dev/generate-phpt/
H A DgtPackage.php21 $stub = <<<ENDSTUB variable
28 $phar->setStub($stub);
/PHP_TRUNK/ext/phar/
H A Dmakestub.php33 $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)
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 Dphar_object.c931 * Return a stub that can be used to run a phar-based archive without the phar extension
938 zend_string *stub; local
945 stub = phar_create_default_stub(index, webindex, &error);
952 RETURN_NEW_STR(stub);
2825 /* {{{ proto bool Phar::setStub(string|stream stub [, int len])
2826 * Change the stub in a phar, phar.tar or phar.zip archive to something other
2827 * than the default. The stub *must* end with a call to __HALT_COMPILER().
2832 char *stub, *error; local
2840 "Cannot change stub, phar is read-only");
2847 "A Phar stub canno
2911 zend_string *stub = NULL; local
3852 phar_entry_info *stub; local
[all...]
H A Dphar.c550 phar_entry_info *stub; local
557 phar_entry_info *stub; local
566 /* prevent any ".phar" without a stub getting through */
568 if (PHAR_G(readonly) && NULL == (stub = zend_hash_str_find_ptr(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1))) {
680 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)")
687 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)")
693 MAPPHAR_ALLOC_FAIL("internal corruption of phar \"%s\" (truncated manifest at stub end)")
1285 phar_entry_info *stub; local
[all...]
/PHP_TRUNK/ext/phar/phar/
H A Dpharcommand.inc124 .'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_TRUNK/win32/build/
H A Dmkdist.php466 $stub = file($path_to_phar . '/phar/phar.php'); variable
468 unset($stub[0]); // remove hashbang
469 $phar->setStub(implode('', $stub));
/PHP_TRUNK/ext/iconv/
H A Diconv.c2550 char stub[128]; member in struct:_php_iconv_stream_filter
2626 pt = self->stub;
2640 if (self->stub_len >= sizeof(self->stub)) {
2644 self->stub[self->stub_len++] = *(ps++);
2646 pt = self->stub;
2703 memmove(self->stub, pt, tcnt);
2718 if (icnt > sizeof(self->stub)) {
2722 memcpy(self->stub, ps, icnt);
/PHP_TRUNK/ext/standard/
H A Dfilters.c1203 char stub[128]; member in struct:_php_convert_filter
1495 pt = inst->stub;
1509 if (inst->stub_len >= sizeof(inst->stub)) {
1513 inst->stub[inst->stub_len++] = *(ps++);
1515 pt = inst->stub;
1572 memmove(inst->stub, pt, tcnt);
1586 if (icnt > sizeof(inst->stub)) {
1590 memcpy(inst->stub, ps, icnt);
/PHP_TRUNK/Zend/
H A Dzend_object_handlers.c491 zend_long stub, *guard; local
509 stub = 0;
510 return (zend_long *)zend_hash_add_mem(guards, member, &stub, sizeof(zend_ulong));

Completed in 23 milliseconds