Lines Matching refs:size
65 if (argv.size() != arg_names.size()) { in ReadStringArgs()
67 arg_names.size(), argv.size()); in ReadStringArgs()
76 CHECK_EQ(args.size(), arg_names.size()); in ReadStringArgs()
78 for (size_t i = 0; i < arg_names.size(); ++i) { in ReadStringArgs()
144 bool ExpectArgSize(size_t size) const { in ExpectArgSize()
146 auto actual = tokens.size() - 1; in ExpectArgSize()
147 if (actual != size) { in ExpectArgSize()
148 LOG(ERROR) << "Op " << op() << " expects " << size << " args, got " << actual; in ExpectArgSize()
158 CHECK_LE(pos + 1, tokens.size()); in arg()
178 auto size = params.uint_arg(1, "size"); in PerformOpResize() local
179 if (!size.has_value()) return false; in PerformOpResize()
191 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize()
192 LOG(ERROR) << "Failed to resize partition " << partition_name << " to size " << *size << "."; in PerformOpResize()
338 if (argv.size() != 1) { in UpdateDynamicPartitionsFn()
339 ErrorAbort(state, kArgsParsingFailure, "%s expects 1 arguments, got %zu", name, argv.size()); in UpdateDynamicPartitionsFn()