Lines Matching full:not

64     if not isinstance(name, str):
89 if not match or c_name(name, False).startswith('q_'):
111 info, "name of %s must not use lowercase or '-'" % source)
133 if ((not permit_upper and re.search(r'[A-Z]', stem))
134 or (not permit_underscore and '_' in stem)):
136 info, "name of %s must not use uppercase or '_'" % source)
153 if not re.match(r'[A-Z][A-Za-z0-9]*[a-z][A-Za-z0-9]*$', stem):
165 These names must not end with ``List``.
183 info, "%s name should not end in 'List'" % meta)
234 if key in expr and expr[key] is not False:
238 if key in expr and expr[key] is not True:
242 # This is not necessarily a fundamental incompatibility, but
269 if not re.fullmatch(r'[A-Z][A-Z0-9_]*', cond):
272 "'if' condition '%s' of %s is not a valid identifier"
276 if not isinstance(cond, dict):
281 ["all", "any", "not"])
287 if 'not' in cond:
288 _check_if(cond['not'])
295 if not isinstance(operands, list):
300 if not operands:
318 value is not itself already a dict, normalize it to
338 if value is not None and not isinstance(value, str):
347 if not isinstance(value, list):
351 if len(value) != 1 or not isinstance(value[0], str):
380 if not isinstance(value, dict):
430 if not isinstance(features, list):
450 :raise QAPISemError: When ``expr`` is not a valid ``enum``.
458 if not isinstance(members, list):
460 if prefix is not None and not isinstance(prefix, str):
489 :raise QAPISemError: When ``expr`` is not a valid ``struct``.
505 :raise QAPISemError: when ``expr`` is not a valid ``union``.
517 if not isinstance(members, dict):
533 :raise QAPISemError: When ``expr`` is not a valid ``alternate``.
539 if not members:
540 raise QAPISemError(info, "'data' must not be empty")
542 if not isinstance(members, dict):
559 :raise QAPISemError: When ``expr`` is not a valid ``command``.
581 :raise QAPISemError: When ``expr`` is not a valid ``event``.