• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/File/

Lines Matching defs:constant

309                         'constant' => $tag,
338 'constant' => $tag,
534 if (isset($decoded['constant']) || !isset($this->ANYmap[$intype]) || (ord($this->encoded[$decoded['start']]) & 0x20)) {
545 case isset($option['constant']) && $option['constant'] == $decoded['constant']:
546 case !isset($option['constant']) && $option['type'] == $decoded['type']:
549 case !isset($option['constant']) && $option['type'] == self::TYPE_CHOICE:
608 // Get the mapping and input class & constant.
610 $constant = null;
611 if (isset($temp['constant'])) {
616 $constant = $child['cast'];
617 } elseif (isset($child['constant'])) {
619 $constant = $child['constant'];
622 if (isset($constant) && isset($temp['constant'])) {
624 $maymatch = $constant == $temp['constant'] && $childClass == $tempClass;
626 // Can only match if no constant expected and type matches or is generic.
627 $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false;
674 if (isset($temp['constant'])) {
685 $constant = null;
688 $constant = $child['cast'];
689 } elseif (isset($child['constant'])) {
691 $constant = $child['constant'];
694 if (isset($constant) && isset($temp['constant'])) {
696 $maymatch = $constant == $temp['constant'] && $childClass == $tempClass;
698 // Can only match if no constant expected and type matches or is generic.
699 $maymatch = !isset($child['constant']) && array_search($child['type'], array($temp['type'], self::TYPE_ANY, self::TYPE_CHOICE)) !== false;
909 // if isset($child['constant']) is true then isset($child['optional']) should be true as well
910 if (isset($child['constant'])) {
921 $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']);
924 $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']);
952 // if isset($child['constant']) is true then isset($child['optional']) should be true as well
953 if (isset($child['constant'])) {
955 $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | 0x20 | $child['constant']);
958 $subtag = chr((self::CLASS_CONTEXT_SPECIFIC << 6) | (ord($temp[0]) & 0x20) | $child['constant']);