Home
last modified time | relevance | path

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

/aosp12/system/logging/liblog/
H A Dlogger_write.cpp71 int num_groups; in check_log_uid_permissions() local
74 num_groups = getgroups(0, NULL); in check_log_uid_permissions()
75 if (num_groups <= 0) { in check_log_uid_permissions()
78 groups = static_cast<gid_t*>(calloc(num_groups, sizeof(gid_t))); in check_log_uid_permissions()
82 num_groups = getgroups(num_groups, groups); in check_log_uid_permissions()
83 while (num_groups > 0) { in check_log_uid_permissions()
84 if (groups[num_groups - 1] == AID_LOG) { in check_log_uid_permissions()
87 --num_groups; in check_log_uid_permissions()
90 if (num_groups <= 0) { in check_log_uid_permissions()
/aosp12/hardware/qcom/sm8150p/gps/utils/
H A Dloc_cfg.h96 unsigned char num_groups; member
H A Dloc_cfg.cpp806 child_proc[j].num_groups = 0; in loc_read_process_conf()
811 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
812 child_proc[j].num_groups++; in loc_read_process_conf()
/aosp12/hardware/qcom/sdm845/gps/sdm845/utils/
H A Dloc_cfg.h95 unsigned char num_groups; member
H A Dloc_cfg.cpp819 child_proc[j].num_groups = 0; in loc_read_process_conf()
826 child_proc[j].num_groups++; in loc_read_process_conf()
/aosp12/hardware/qcom/sm7150/gps/utils/
H A Dloc_cfg.h96 unsigned char num_groups; member
H A Dloc_cfg.cpp823 child_proc[j].num_groups = 0; in loc_read_process_conf()
828 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
829 child_proc[j].num_groups++; in loc_read_process_conf()
/aosp12/hardware/qcom/sm8150/gps/utils/
H A Dloc_cfg.h100 unsigned char num_groups; member
H A Dloc_cfg.cpp843 child_proc[j].num_groups = 0; in loc_read_process_conf()
848 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
849 child_proc[j].num_groups++; in loc_read_process_conf()
/aosp12/hardware/qcom/sm7250/gps/utils/
H A Dloc_cfg.h100 unsigned char num_groups; member
H A Dloc_cfg.cpp843 child_proc[j].num_groups = 0; in loc_read_process_conf()
848 child_proc[j].group_list[child_proc[j].num_groups] = grp->gr_gid; in loc_read_process_conf()
849 child_proc[j].num_groups++; in loc_read_process_conf()
/aosp12/system/logging/liblog/tests/
H A Dliblog_test.cpp1784 int num_groups = getgroups(0, NULL); in TEST() local
1785 if (num_groups > 0) { in TEST()
1786 gid_t groups[num_groups]; in TEST()
1787 num_groups = getgroups(num_groups, groups); in TEST()
1788 while (num_groups > 0) { in TEST()
1789 if (groups[num_groups - 1] == AID_LOG) { in TEST()
1792 --num_groups; in TEST()
1795 if (num_groups <= 0) { in TEST()
/aosp12/packages/modules/NeuralNetworks/tools/api/
H A Dtypes.spec3815 * Given an input tensor and a integer value of num_groups, CHANNEL_SHUFFLE
3816 * divide the channel dimension into num_groups groups, and reorganize the
3821 * output_channel[k * num_groups + g] = input_channel[g * group_size + k]
3823 * where group_size = num_channels / num_groups
3825 * The number of channels must be divisible by num_groups.
4235 * filters are also divided into num_groups groups, i.e. depth_out is divisible
4251 * where channel_multiplier = depth_out / num_groups
4296 * specifying the input, where depth_in = num_groups * depth_group.
4299 * the filter, where depth_out must be divisible by num_groups. For
4340 * specifying the input, where depth_in = num_groups * depth_group.
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.2/
H A Dtypes.hal2774 * Given an input tensor and a integer value of num_groups, CHANNEL_SHUFFLE
2775 * divide the channel dimension into num_groups groups, and reorganize the
2780 * output_channel[k * num_groups + g] = input_channel[g * group_size + k]
2782 * where group_size = num_channels / num_groups
2784 * The number of channels must be divisible by num_groups.
3133 * filters are also divided into num_groups groups, i.e. depth_out is divisible
3149 * where channel_multiplier = depth_out / num_groups
3178 * specifying the input, where depth_in = num_groups * depth_group.
3181 * the filter, where depth_out must be divisible by num_groups. For
3217 * specifying the input, where depth_in = num_groups * depth_group.
[all …]
/aosp12/hardware/interfaces/neuralnetworks/1.3/
H A Dtypes.hal2948 * Given an input tensor and a integer value of num_groups, CHANNEL_SHUFFLE
2949 * divide the channel dimension into num_groups groups, and reorganize the
2954 * output_channel[k * num_groups + g] = input_channel[g * group_size + k]
2956 * where group_size = num_channels / num_groups
2958 * The number of channels must be divisible by num_groups.
3320 * filters are also divided into num_groups groups, i.e. depth_out is divisible
3336 * where channel_multiplier = depth_out / num_groups
3377 * specifying the input, where depth_in = num_groups * depth_group.
3380 * the filter, where depth_out must be divisible by num_groups. For
3417 * specifying the input, where depth_in = num_groups * depth_group.
[all …]