Lines Matching refs:name
62 static std::vector<std::string> ReadStringArgs(const char* name, State* state, in ReadStringArgs() argument
66 ErrorAbort(state, kArgsParsingFailure, "%s expects %zu arguments, got %zu", name, in ReadStringArgs()
81 arg_names[i].c_str(), name); in ReadStringArgs()
120 Value* UnmapPartitionFn(const char* name, State* state, in UnmapPartitionFn() argument
122 auto args = ReadStringArgs(name, state, argv, { "name" }); in UnmapPartitionFn()
128 Value* MapPartitionFn(const char* name, State* state, in MapPartitionFn() argument
130 auto args = ReadStringArgs(name, state, argv, { "name" }); in MapPartitionFn()
161 std::optional<uint64_t> uint_arg(size_t pos, const std::string& name) const { in uint_arg()
165 LOG(ERROR) << "Op " << op() << " expects uint64 for argument " << name << ", got " << str; in uint_arg()
298 [](Partition* partition) { return partition->name(); }); in ListPartitionNamesInGroup()
336 Value* UpdateDynamicPartitionsFn(const char* name, State* state, in UpdateDynamicPartitionsFn() argument
339 ErrorAbort(state, kArgsParsingFailure, "%s expects 1 arguments, got %zu", name, argv.size()); in UpdateDynamicPartitionsFn()
348 ErrorAbort(state, kArgsParsingFailure, "op_list argument to %s must be blob", name); in UpdateDynamicPartitionsFn()