Lines Matching refs:size
202 size_t size = path.size();
203 if (size == 0) {
210 index = pathIndex == std::string::npos ? size : pathIndex + 1;
216 } while (index < size);
221 size_t size = path.size();
222 if (size == 0) {
228 index = pathIndex == std::string::npos ? size : pathIndex + 1;
234 } while (index < size);
313 size_t size = str.size();
315 for (unsigned int i = 0; i < size; i++) {
317 if (pos < size) {
320 i = pos + pattern.size() - 1;
342 for (unsigned int i = 0; i < modeVec.size(); i++) {
369 for (unsigned int i = 0; i < vec.size(); i++) {
801 unsigned int mountPointSize = mountPoints.size();
850 unsigned int gidSize = gids.size();
868 unsigned int symlinkPointSize = symlinkPoints.size();
951 APPSPAWN_LOGI("GetMountPermissionNames size: %{public}lu", static_cast<unsigned long>(permissionSet.size()));
975 unsigned int flagsPointSize = flagsPoints.size();
1241 APPSPAWN_CHECK(bundles.is_array() && modules.is_array() && versions.is_array() && bundles.size() == modules.size()
1242 && bundles.size() == versions.size(), return -1, "MountAllHsp: value is not arrary or sizes are not same");
1245 GetBundleName(appProperty), static_cast<unsigned long>(bundles.size()));
1246 for (uint32_t i = 0; i < bundles.size(); i++) {
1298 APPSPAWN_CHECK(dataGroupIds.is_array() && gids.is_array() && dirs.is_array() && dataGroupIds.size() == gids.size()
1299 && dataGroupIds.size() == dirs.size(), return -1, "MountAllGroup: value is not arrary or sizes are not same");
1301 GetBundleName(appProperty), static_cast<unsigned long>(dataGroupIds.size()));
1302 for (uint32_t i = 0; i < dataGroupIds.size(); i++) {
1371 for (unsigned int j = 0; j < vec.size(); j++) {
1436 if (bundleName.empty() || bundleName.size() > APP_LEN_BUNDLE_NAME) {
1601 int result = mount("tmpfs", sandboxDevShmPath.c_str(), "tmpfs", MS_NOSUID | MS_NOEXEC | MS_NODEV, "size=32M");