/*!
Adds a new Bcc address.

\deprecated
493194
function addBcc( $email, $name = false )
    {
        $this->Mail->addBcc( new ezcMailAddress( $email, $name, $this->usedCharset() ) );
        $this->BccElements[] = array( 'name' => $name,
                                      'email' => $email );
    }
766268
function(qrContainer) {

        var elem = qrContainer.parents(".bitcoin-address-container");
        var url;
        //var addr = elem.attr("data-bc-address");

        if(this.config.qrRawAddress) {
            url = elem.attr("data-bc-address");
        } else {
            url = this.buildBitcoinURI(elem.attr("data-bc-address"),
            elem.attr("data-bc-amount"),
            elem.attr("data-bc-label"));
        }

        var options = $.extend({}, this.config.qr, {
            text: url
        });
        var qrCode = new qrcode.QRCode(qrContainer.get(0), options);
    }
121935
public static function add($option, $value, $deprecated = '', $autoload = 'yes')
    {
        add_option($option, $value, $deprecated, $autoload);
    }
575808
public function bcc($address, $name = "", array $variables = [])
    {
        if (!empty($variables)) {
            $this->variables[$address] = $variables;
        }
        $this->messageBuilder->addBccRecipient($address, ['full_name' => $name]);

        return $this;
    }
1342289
public function add_bcc($email, $name = null) {
		if ($this->addressee_exists($email, ['bcc'])) {
			return;
		}

		$this->recipients['bcc'][] = [
			'name' => $name,
			'email' => strtolower($email),
		];
	}
355459
protected function addAddressCheckout($type)
    {
        $submitted = $this->getSubmitted("address.$type");

        if ($this->{"show_{$type}_address_form"} && !empty($submitted)) {

            $address_id = $this->address->add($submitted);
            $this->setSubmitted("{$type}_address", $address_id);

            foreach ($this->address->getExceeded($this->order_user_id) as $address) {
                $this->address->delete($address['address_id']);
            }
        }
    }
367221
public void addBcc(String bcc) {
        if (this.bcc.length() > 0) {
            this.bcc.append(",");
        }
        this.bcc.append(bcc);
    }
528733
public function setAddress($address)
    {
        if (null === $address) {
            $this->address = null;
        } elseif ('' == $address) {
            $this->address = '';
        } else {
            $this->assertValidAddress($address);
            $this->address = $address;
        }
        $this->setCachedValue(null);
    }
647466
function(elem, source) {

        // Replace .bitcoin-address in the template
        var addr = elem.find(".bitcoin-address");

        // Add a maker class so that we don't reapply template
        // on the subsequent scans
        addr.addClass("bitcoin-address-controls");

        addr.text(source.attr("data-bc-address"));

        // Copy orignal attributes;
        $.each(["address", "amount", "label", "message"], function() {
            var attrName = "data-bc-" + this;
            elem.attr(attrName, source.attr(attrName));
        });

        // Build BTC URL
        var url = this.buildBitcoinURI(source.attr("data-bc-address"),
            source.attr("data-bc-amount"),
            source.attr("data-bc-label"),
            source.attr("data-bc-message"));

        elem.find(".bitcoin-address-action-send").attr("href", url);
    }
1265233
public static function add($a, $b)
    {
        if (function_exists('gmp_add')) {
            return gmp_add($a, $b);
        }

        return bcadd($a, $b, 0);
    }
806863
public function bcc($address, $name = null)
    {
        if (is_array($address)) {
            $this->addAddressArray($address, 'bcc');
        } else {
            $this->bcc[$address] = $name;
        }

        return $this;
    }
1129228
public function addBCC($email, $name = null)
    {
        Argument::i()
            ->test(1, 'string')
            ->test(2, 'string', 'null');

        $this->bcc[$email] = $name;
        return $this;
    }
633255
function addCc( $email, $name = false )
    {
        $this->Mail->addCc( new ezcMailAddress( $email, $name, $this->usedCharset() ) );
        $this->CcElements[] = array( 'name' => $name,
                                     'email' => $email );
    }
107062
function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters, $placement )
    {
        $dom = $namedParameters['dom'];
        if ( $dom instanceof eZContentObjectAttribute )
        {
            $this->ObjectAttributeId = $dom->attribute( 'id' );
            $content = $dom->attribute( 'content' );
            $xmlData = $content->attribute( 'xml_data' );

            $domTree = new DOMDocument( '1.0', 'utf-8' );
            $domTree->preserveWhiteSpace = false;
            $success = $domTree->loadXML( $xmlData );

            $tocText = '';
            if ( $success )
            {
                $this->HeaderCounter = array();
                $this->LastHeaderLevel = 0;

                $rootNode = $domTree->documentElement;
                $tocText .= $this->handleSection( $rootNode );

                while ( $this->LastHeaderLevel > 0 )
                {
                    $tocText .= "</li>\n</ul>\n";
                    $this->LastHeaderLevel--;
                }
            }
        }
        $operatorValue = $tocText;
    }
224460
private function addServer($address) {
		$addressArray = explode(':', $address);
		$host = $addressArray[0];
		$port = isset($addressArray[1]) ? $addressArray[1] : $this->defaultPort;
		return $this->cache->addServer($host, $port);
	}
418792
function addRoundKey($round)
    {
        $temp = "";

        for ($i = 0; $i < 4; $i++) {
            for ($j = 0; $j < $this->Nb; $j++) {
                // place the i-th byte of the j-th word from expanded key w into temp
                $temp = $this->w[$round * $this->Nb + $j] >> (3 - $i) * 8;
                // Cast temp from a 32-bit word into an 8-bit byte.
                $temp %= 256;
                // Can't do unsigned shifts, so we need to make this temp positive
                $temp            = ($temp < 0 ? (256 + $temp) : $temp);
                $this->s[$i][$j] ^= $temp; // xor temp with the byte at location (i,j) of the state
            }
        }
    }
1176187
public function addCC( $ccEmail, $ccName = null ) {
		if( !is_null( $ccName ) ) {
			$this->mCC[$ccName] = $ccEmail;
		} else {
			$this->mCC[] = $ccEmail;
		}
	}