Home
last modified time | relevance | path

Searched refs:validate_nonempty_seq (Results 1 – 1 of 1) sorted by relevance

/external/python/cpython3/Python/
Dast.c18 static int validate_nonempty_seq(asdl_seq *, const char *, const char *);
50 if (!validate_nonempty_seq(slice->v.ExtSlice.dims, "dims", "ExtSlice")) in validate_slice()
354 validate_nonempty_seq(asdl_seq *seq, const char *what, const char *owner) in validate_nonempty_seq() function
365 return validate_nonempty_seq(targets, "targets", ctx == Del ? "Delete" : "Assign") && in validate_assignlist()
372 return validate_nonempty_seq(body, "body", owner) && validate_stmts(body); in validate_body()
431 if (!validate_nonempty_seq(stmt->v.With.items, "items", "With")) in validate_stmt()
441 if (!validate_nonempty_seq(stmt->v.AsyncWith.items, "items", "AsyncWith")) in validate_stmt()
488 return validate_nonempty_seq(stmt->v.Import.names, "names", "Import"); in validate_stmt()
494 return validate_nonempty_seq(stmt->v.ImportFrom.names, "names", "ImportFrom"); in validate_stmt()
496 return validate_nonempty_seq(stmt->v.Global.names, "names", "Global"); in validate_stmt()
[all …]