Home
last modified time | relevance | path

Searched refs:num_args (Results 1 – 25 of 34) sorted by relevance

12

/aosp12/build/make/tools/atree/
H A Dfs.cpp160 int num_args = 0; in strip_file() local
165 ++num_args; in strip_file()
170 if (num_args <= 0) { in strip_file()
174 } else if (num_args == 1) { in strip_file()
180 const char** args = (const char**) malloc(sizeof(const char*) * (num_args + 2)); in strip_file()
197 args[num_args] = path.c_str(); in strip_file()
198 args[num_args + 1] = NULL; in strip_file()
/aosp12/system/core/init/
H A Dkeyword_map.h53 auto num_args = args.size() - 1; in Find() local
64 if (min_args == max_args && num_args != min_args) { in Find()
69 if (num_args < min_args || num_args > max_args) { in Find()
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DCommand.h94 const bool is_required, const size_t num_args, in Flag()
97 num_args(num_args), action(std::move(action)) {} in Flag()
102 const size_t num_args; member
H A DCommand.cpp164 if (flag.num_args > 0) { in Usage()
218 if (flag.num_args > 0) { in Execute()
/aosp12/art/compiler/optimizing/
H A Dbuilder.cc162 size_t num_args = strlen(shorty + 1); in BuildIntrinsicGraph() local
163 size_t num_wide_args = std::count(shorty + 1, shorty + 1 + num_args, 'J') + in BuildIntrinsicGraph()
164 std::count(shorty + 1, shorty + 1 + num_args, 'D'); in BuildIntrinsicGraph()
165 size_t num_arg_vregs = num_args + num_wide_args + (dex_compilation_unit_->IsStatic() ? 0u : 1u); in BuildIntrinsicGraph()
H A Dcritical_native_abi_fixup_arm.cc34 for (size_t i = 0, num_args = invoke->GetNumberOfArguments(); i != num_args; ++i) { in FixUpArguments() local
/aosp12/art/libdexfile/dex/
H A Ddex_instruction_test.cc32 static void Build45cc(uint8_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build45cc() argument
44 out[0] |= (num_args << 12); in Build45cc()
52 static void Build4rcc(uint16_t num_args, uint16_t method_idx, uint16_t proto_idx, in Build4rcc() argument
64 out[0] |= (num_args << 8); in Build4rcc()
H A Dtest_dex_file_builder.h127 size_t num_args = entry.first.args.size();
128 if (num_args != 0u) {
130 data_section_size = entry.second.data_offset + 4u + num_args * sizeof(dex::TypeItem);
185 size_t num_args = entry.first.args.size();
187 (num_args != 0u) ? data_section_offset + entry.second.data_offset : 0u;
192 if (num_args != 0u) {
194 Write32(dex_file_data, type_list_offset, num_args);
195 for (size_t i = 0; i != num_args; ++i) {
/aosp12/system/unwinding/libunwindstack/tests/
H A DIsolatedSettings.cpp20 extern "C" bool GetInitialArgs(const char*** args, size_t* num_args) { in GetInitialArgs() argument
24 *num_args = 2; in GetInitialArgs()
/aosp12/art/test/common/
H A Dgtest_main.cc27 extern "C" bool GetInitialArgs(const char*** args, size_t* num_args) { in GetInitialArgs() argument
33 *num_args = 2; in GetInitialArgs()
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/devices/
H A Dserver_port_factory.cc112 uint8_t num_args = 0; in OnCommandReady() local
113 read(fd, &num_args, 1); in OnCommandReady()
115 for (uint8_t i = 0; i < num_args; ++i) { in OnCommandReady()
/aosp12/system/testing/gtest_extras/
H A DIsolateMain.cpp158 size_t num_args; in IsolateMain() local
159 if (GetInitialArgs != nullptr && GetInitialArgs(&start_args, &num_args)) { in IsolateMain()
161 for (size_t i = 0; i < num_args; i++) { in IsolateMain()
/aosp12/system/bt/vendor_libs/test_vendor_lib/model/setup/
H A Dtest_channel_transport.cc119 uint8_t num_args = 0; in OnCommandReady() local
120 bytes_read = read(fd, &num_args, 1); in OnCommandReady()
125 for (uint8_t i = 0; i < num_args; ++i) { in OnCommandReady()
/aosp12/art/runtime/arch/x86/
H A Djni_frame_x86.h37 inline size_t GetNativeOutArgsSize(size_t num_args, size_t num_long_or_double_args) { in GetNativeOutArgsSize() argument
38 size_t num_arg_words = num_args + num_long_or_double_args; in GetNativeOutArgsSize()
/aosp12/bionic/libc/system_properties/
H A Dcontexts_split.cpp151 static int read_spec_entries(char* line_buf, int num_args, ...) { in read_spec_entries() argument
172 va_start(ap, num_args); in read_spec_entries()
175 while (items < num_args) { in read_spec_entries()
/aosp12/system/core/trusty/utils/acvp/
H A Dacvp_ipc.h59 uint32_t num_args; member
/aosp12/hardware/interfaces/health/storage/aidl/default/
H A DStorage.h27 binder_status_t dump(int fd, const char** args, uint32_t num_args) override;
/aosp12/hardware/qcom/display/msm8909/sdm/libs/hwc/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/display/msm8996/sdm/libs/hwc/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/display/msm8998/sdm/libs/hwc2/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/sdm845/display/sdm/libs/hwc2/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/sm8150/display/sdm/libs/hwc2/
H A Dcpuhint.h55 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/hardware/qcom/sm7250/display/composer/
H A Dcpuhint.h57 int (*fn_lock_acquire_)(int handle, int duration, int *hints, int num_args) = NULL;
/aosp12/art/test/712-varhandle-invocations/util-src/
H A Dgenerate_java.py778 num_args = accessor.get_number_of_var_type_arguments()
779 for i in range(0, num_args):
838 num_args = accessor.get_number_of_var_type_arguments()
839 for i in range(0, num_args):

12