MODIFY REJECT Section 9.3.15
549567
def modifyReject(LowLayerCompatibility_presence=0,
                 HighLayerCompatibility_presence=0):
    """"""
    a = TpPd(pd=0x3)
    b = MessageType(mesType=0x13)  # 00010011
    c = BearerCapability()
    d = Cause()
    packet = a / b / c / d
    if LowLayerCompatibility_presence is 1:
        e = LowLayerCompatibilityHdr(ieiLLC=0x7C, eightBitLLC=0x0)
        packet = packet / e
    if HighLayerCompatibility_presence is 1:
        f = HighLayerCompatibilityHdr(ieiHLC=0x7D, eightBitHLC=0x0)
        packet = packet / f
    return packet
96193
def reject(self, f, *args):
        
        match = self.match(f, *args)
        if match:
            token = self.peek(0)
            raise errors.EfilterParseError(
                query=self.tokenizer.source, token=token,
                message="Was not expecting a %s here." % token.name)
598330
function reject(r) {
    var capability = newPromiseCapability(this);
    capability.reject.call(undefined, r);
    return capability.promise;
  }
113510
def modify(self, sort=None, purge=False, done=None, undone=None):
        
        self.model.modifyInPlace(
            sort=self._getPattern(sort),
            purge=purge,
            done=self._getDone(done, undone)
        )
1343818
def _modify(self, **patch):
        '''
        '''

        legacy = patch.pop('legacy', False)
        tmos_ver = self._meta_data['bigip']._meta_data['tmos_version']
        self._filter_version_specific_options(tmos_ver, **patch)
        if 'Drafts' not in self._meta_data['uri'] and \
                LooseVersion(tmos_ver) >= LooseVersion('12.1.0') and \
                not legacy:
            msg = 'Modify operation not allowed on a published policy.'
            raise OperationNotSupportedOnPublishedPolicy(msg)
        super(Policy, self)._modify(**patch)
820678
def modify_stack(target_status, failure_message, &block)
      if wait?
        status = modify_stack_synchronously(&block)
        raise StackUpdateError, failure_message unless target_status === status
        status
      else
        modify_stack_asynchronously(&block)
      end
    end
418884
public function reject() {
		// Check permission
		if(!$this->canApprove()) {
			return Security::permissionFailure(
				null,
				_t("UserConfirmationStep.DENYREJECT", "You do not have permission to reject this deployment")
			);
		}

		// Skip subsequent approvals if already approved / rejected
		if($this->hasResponse()) return;

		// Reject
		$this->Approval = 'Rejected';
		$this->log("{$this->Title} has been rejected");
		$this->ResponderID = Member::currentUserID();
		$this->markFailed(false);
		$this->sendMessage(self::ALERT_REJECT);
		return true;
	}
795579
def before_reject(analysis):
    
    worksheet = analysis.getWorksheet()
    if not worksheet:
        return

    # Rejection of a routine analysis causes the removal of their duplicates
    for dup in worksheet.get_duplicates_for(analysis):
        doActionFor(dup, "unassign")
301919
def reject(&block)
      current = get_current
      ilist = self.class.new
      a = @images.reject(&block)
      a.each { |image| ilist << image }
      ilist.set_current current
      ilist
    end
747904
public void reject(final String[] errorCodes, final Map<String, Object> messageVariables, final String defaultMessage) {
        
        String[] codes = new String[0];
        for(String errorCode : errorCodes) {
            codes = Utils.concat(codes, messageCodeGenerator.generateCodes(errorCode, getObjectName()));
        }
        addError(new CsvError(getObjectName(), codes, messageVariables, defaultMessage));
    }
244646
def reject(lst, *values):
    """"""
    lst = List.from_maybe(lst)
    values = frozenset(List.from_maybe_starargs(values))

    ret = []
    for item in lst:
        if item not in values:
            ret.append(item)
    return List(ret, use_comma=lst.use_comma)
400559
function modify( $tpl, $operatorName, $operatorParameters, $rootNamespace, $currentNamespace, &$operatorValue, $namedParameters ) {
        switch ($operatorName)
        {
            case 'xhprof_start':
                eZXHProfLogger::start( $namedParameters['flags'], $namedParameters['options'] );
                $operatorValue = null;
                break;
            case 'xhprof_stop':
                eZXHProfLogger::stop( $namedParameters['dosave'] );
                $operatorValue = null;
                break;
            case 'record_value':
                eZPerfLogger::recordValue( $namedParameters['name'], $operatorValue );
                $operatorValue = null;
                break;
            case 'make_global':
                /// @todo investigate: shal we use copy if $operatorValue is an object?
                $GLOBALS[$namedParameters['name']] = $namedParameters['value'];
                $operatorValue = null;
        }
    }
21407
def reject(self):
        
        if self.hideWindow():
            self.hideWindow().show()
            
        self.close()
        self.deleteLater()
943686
def __accept_reject(self, prompt, accepted_text, rejected_text, display_rejected):
        """"""
        accept_event = threading.Event()
        result_ref = [False]

        def perform():
            def accepted():
                result_ref[0] = True
                accept_event.set()

            def rejected():
                result_ref[0] = False
                accept_event.set()

            self.__message_column.remove_all()
            pose_confirmation_message_box(self.ui, self.__message_column, prompt, accepted, rejected, accepted_text, rejected_text, display_rejected)
            #self.__message_column.add(self.__make_cancel_row())

        with self.__lock:
            self.__q.append(perform)
            self.document_controller.add_task("ui_" + str(id(self)), self.__handle_output_and_q)
        accept_event.wait()
        def update_message_column():
            self.__message_column.remove_all()
            self.__message_column.add(self.__make_cancel_row())
        self.document_controller.add_task("ui_" + str(id(self)), update_message_column)
        return result_ref[0]
1171333
def allowed_to_accept_and_reject?(emendation)
      return unless emendation.amendment.evaluating?

      emendation.amendable.created_by?(current_user) || current_user.admin?
    end
882427
public void rejectValue(final String field, final String errorCode) {
        rejectValue(field, null, errorCode, Collections.emptyMap(), null);
        
    }
532659
def modify(self, order_id, approver_email=None, domain_validation_methods=None):
        """"""

        response = self.request(E.modifySslCertRequest(
            E.id(order_id),
            OE('approverEmail', approver_email),
            OE('domainValidationMethods', domain_validation_methods, transform=_domain_validation_methods),
        ))

        return response.data