Home
last modified time | relevance | path

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

/scripts/
Dsign-file121 my ($cursor, $expected_tag, $optional) = @_;
124 if ($cursor->[1] == 0 && $optional);
126 die $x509, ": ", $cursor->[0], ": ASN.1 data underrun (elem ", $cursor->[1], ")\n"
127 if ($cursor->[1] < 2);
129 my ($tag, $len) = unpack("CC", substr(${$cursor->[2]}, $cursor->[0], 2));
134 die $x509, ": ", $cursor->[0], ": ASN.1 unexpected tag (", $tag,
138 $cursor->[0] += 2;
139 $cursor->[1] -= 2;
141 die $x509, ": ", $cursor->[0], ": ASN.1 long tag\n"
143 die $x509, ": ", $cursor->[0], ": ASN.1 indefinite length\n"
[all …]
Dasn1_compiler.c771 struct token *cursor; in parse() local
777 cursor = type->name; in parse()
779 if (cursor[0].token_type != TOKEN_TYPE_NAME || in parse()
780 cursor[1].token_type != TOKEN_ASSIGNMENT) in parse()
782 cursor += 2; in parse()
784 type->element = parse_type(&cursor, type[1].name, NULL); in parse()
787 if (cursor != type[1].name) { in parse()
789 filename, cursor->line, in parse()
790 (int)cursor->size, (int)cursor->size, cursor->value); in parse()
824 struct token *cursor = *_cursor; in parse_type() local
[all …]
/scripts/coccinelle/iterators/
Ditnull.cocci4 //# or in cases when the loop cursor is reassigned. The latter should only
Dfen.cocci1 /// These iterators only exit normally when the loop cursor is NULL, so there