Home
last modified time | relevance | path

Searched refs:num_profiles (Results 1 – 8 of 8) sorted by relevance

/external/tpm2-tss/src/tss2-fapi/
Difapi_profiles.c74 r = ifapi_io_dirfiles(profilesdir, &profiles->filenames, &profiles->num_profiles); in ifapi_profiles_initialize_async()
77 profiles->profiles = calloc(profiles->num_profiles, sizeof(profiles->profiles[0])); in ifapi_profiles_initialize_async()
83 for (i = 0; i < profiles->num_profiles; ) { in ifapi_profiles_initialize_async()
108 profiles->num_profiles -= 1; in ifapi_profiles_initialize_async()
109 for (j = i; j < profiles->num_profiles; j++) { in ifapi_profiles_initialize_async()
115 if (profiles->num_profiles == 0) { in ifapi_profiles_initialize_async()
121 profiles->profiles = reallocarray(profiles->profiles, profiles->num_profiles, in ifapi_profiles_initialize_async()
123 profiles->filenames = reallocarray(profiles->filenames, profiles->num_profiles, in ifapi_profiles_initialize_async()
126 profiles->profiles = realloc(profiles->profiles, profiles->num_profiles * in ifapi_profiles_initialize_async()
128 profiles->filenames = realloc(profiles->filenames, profiles->num_profiles * in ifapi_profiles_initialize_async()
[all …]
Difapi_profiles.h56 size_t num_profiles; member
/external/mesa3d/src/gallium/frontends/va/
Dconfig.c43 vlVaQueryConfigProfiles(VADriverContextP ctx, VAProfile *profile_list, int *num_profiles) in vlVaQueryConfigProfiles() argument
52 *num_profiles = 0; in vlVaQueryConfigProfiles()
62 profile_list[(*num_profiles)++] = vap; in vlVaQueryConfigProfiles()
67 profile_list[(*num_profiles)++] = VAProfileNone; in vlVaQueryConfigProfiles()
Dva_private.h340 VAStatus vlVaQueryConfigProfiles(VADriverContextP ctx, VAProfile *profile_list,int *num_profiles);
/external/libcups/scheduler/
Dcolorman.c347 int num_profiles; /* Number of profiles */ in apple_register_profiles() local
380 for (num_profiles = 0, attr = ppdFindAttr(ppd, "cupsICCProfile", NULL); in apple_register_profiles()
400 num_profiles ++; in apple_register_profiles()
422 if (num_profiles > 0) in apple_register_profiles()
597 num_profiles = cm_option->num_choices; in apple_register_profiles()
655 num_profiles = (attr && ppd->colorspace == PPD_CS_GRAY) ? 1 : 2; in apple_register_profiles()
746 if (num_profiles > 0) in apple_register_profiles()
/external/libcups/systemv/
Dcupstestppd.c1604 ppd->num_profiles); in main()
1605 for (j = 0; j < ppd->num_profiles; j ++) in main()
2979 int num_profiles = 0; /* Number of profiles */ in check_profiles() local
3069 if (num_profiles > 0) in check_profiles()
3071 for (i = 0; i < num_profiles; i ++) in check_profiles()
3075 if (i < num_profiles) in check_profiles()
3095 if (num_profiles < 1000) in check_profiles()
3097 hashes[num_profiles] = hash; in check_profiles()
3098 specs[num_profiles] = attr->spec; in check_profiles()
3099 num_profiles ++; in check_profiles()
/external/libcups/cups/
Dppd.h323 int num_profiles; /* Number of sRGB color profiles @deprecated@ */ member
Dppd.c183 if (ppd->num_profiles > 0) in ppdClose()
887 if (ppd->num_profiles == 0) in _ppdOpen()
890 profile = realloc(ppd->profiles, sizeof(ppd_profile_t) * (size_t)(ppd->num_profiles + 1)); in _ppdOpen()
900 profile += ppd->num_profiles; in _ppdOpen()
901 ppd->num_profiles ++; in _ppdOpen()