Home
last modified time | relevance | path

Searched refs:bitmask (Results 1 – 25 of 369) sorted by relevance

12345678910>>...15

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dbitmask.h146 struct bitmask;
148 struct bitmask *bitmask_alloc(unsigned int n);
149 void bitmask_free(struct bitmask *bmp);
151 int bitmask_displayhex(char *buf, int len, const struct bitmask *bmp);
152 int bitmask_displaylist(char *buf, int len, const struct bitmask *bmp);
153 int bitmask_parsehex(const char *buf, struct bitmask *bmp);
154 int bitmask_parselist(const char *buf, struct bitmask *bmp);
156 struct bitmask *bitmask_copy(struct bitmask *bmp1, const struct bitmask *bmp2);
157 struct bitmask *bitmask_setall(struct bitmask *bmp);
158 struct bitmask *bitmask_clearall(struct bitmask *bmp);
[all …]
Dlibbitmask.c33 struct bitmask { struct
59 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) in _getbit()
68 static void _setbit(struct bitmask *bmp, unsigned int n, unsigned int v) in _setbit()
84 struct bitmask *bitmask_alloc(unsigned int n) in bitmask_alloc()
86 struct bitmask *bmp; in bitmask_alloc()
101 void bitmask_free(struct bitmask *bmp) in bitmask_free()
126 int bitmask_displayhex(char *buf, int buflen, const struct bitmask *bmp) in bitmask_displayhex()
185 int bitmask_displaylist(char *buf, int buflen, const struct bitmask *bmp) in bitmask_displaylist()
220 int bitmask_parsehex(const char *buf, struct bitmask *bmp) in bitmask_parsehex()
299 int bitmask_parselist(const char *buf, struct bitmask *bmp) in bitmask_parselist()
[all …]
Dcpuset.h178 struct bitmask;
191 int cpuset_setcpus(struct cpuset *cp, const struct bitmask *cpus);
192 int cpuset_setmems(struct cpuset *cp, const struct bitmask *mems);
201 int cpuset_getcpus(const struct cpuset *cp, struct bitmask *cpus);
202 int cpuset_getmems(const struct cpuset *cp, struct bitmask *mems);
208 int cpuset_localcpus(const struct bitmask *mems, struct bitmask *cpus);
209 int cpuset_localmems(const struct bitmask *cpus, struct bitmask *mems);
Dcpuinfo.h9 struct bitmask *sched_domain;
15 extern struct bitmask **domains;
18 extern int online_cpumask(struct bitmask *cpumask);
19 extern int present_cpumask(struct bitmask *cpumask);
Dmeminfo.c21 int online_memmask(struct bitmask *memmask) in online_memmask()
57 int present_memmask(struct bitmask *memmask) in present_memmask()
92 struct bitmask *bmp = NULL; in get_nmems()
Dmeminfo.h7 extern int online_memmask(struct bitmask *memmask);
8 extern int present_memmask(struct bitmask *memmask);
Dcpuinfo.c88 int online_cpumask(struct bitmask *cpumask) in online_cpumask()
129 int present_cpumask(struct bitmask *cpumask) in present_cpumask()
174 struct bitmask *bmp = NULL; in get_ncpus()
358 struct bitmask **domains;
365 struct bitmask *cpusa = NULL, *cpusb = NULL, *cpusc = NULL; in partition_domains()
Dlibcpuset.c70 struct bitmask *cpus;
71 struct bitmask *mems;
666 int cpuset_setcpus(struct cpuset *cp, const struct bitmask *cpus) in cpuset_setcpus()
680 int cpuset_setmems(struct cpuset *cp, const struct bitmask *mems) in cpuset_setmems()
807 int cpuset_getcpus(const struct cpuset *cp, struct bitmask *cpus) in cpuset_getcpus()
827 int cpuset_getmems(const struct cpuset *cp, struct bitmask *mems) in cpuset_getmems()
975 static int read_mask(const char *filepath, struct bitmask **bmpp, int nbits) in read_mask()
980 struct bitmask *bmp = NULL; in read_mask()
1012 static int load_mask(const char *path, struct bitmask **bmpp, in load_mask()
1039 static char *sprint_mask_buf(const struct bitmask *bmp) in sprint_mask_buf()
[all …]
/third_party/cups-filters/filter/
Dimagetoraster.c1719 bitmask; /* Current mask for pixel */ in format_CMY() local
1748 bitmask = 64 >> (bitoffset & 7); in format_CMY()
1754 *ptr ^= bitmask; in format_CMY()
1755 bitmask >>= 1; in format_CMY()
1758 *ptr ^= bitmask; in format_CMY()
1759 bitmask >>= 1; in format_CMY()
1762 *ptr ^= bitmask; in format_CMY()
1764 if (bitmask > 1) in format_CMY()
1765 bitmask >>= 2; in format_CMY()
1768 bitmask = 64; in format_CMY()
[all …]
/third_party/mesa3d/src/mesa/main/
Dlight.c613 GLuint bitmask = 0; in _mesa_material_bitmask() local
618 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION; in _mesa_material_bitmask()
621 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT; in _mesa_material_bitmask()
624 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE; in _mesa_material_bitmask()
627 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR; in _mesa_material_bitmask()
630 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS; in _mesa_material_bitmask()
633 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT; in _mesa_material_bitmask()
634 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE; in _mesa_material_bitmask()
637 bitmask |= MAT_BIT_FRONT_INDEXES | MAT_BIT_BACK_INDEXES; in _mesa_material_bitmask()
645 bitmask &= FRONT_MATERIAL_BITS; in _mesa_material_bitmask()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/video/
Dh265_parameter_sets.adoc28 ** code:flags.fixed_pic_rate_general_flag is a bitmask where bit index
31 ** code:flags.fixed_pic_rate_within_cvs_flag is a bitmask where bit index
34 ** code:flags.low_delay_hrd_flag is a bitmask where bit index [eq]#i#
44 *** code:cbr_flag is a bitmask where bit index [eq]#i# corresponds to
57 *** code:cbr_flag is a bitmask where bit index [eq]#i# corresponds to
123 ** code:used_by_curr_pic_flag is a bitmask where bit index [eq]#i#
126 ** code:use_delta_flag is a bitmask where bit index [eq]#i# corresponds to
129 ** code:used_by_curr_pic_s0_flag is a bitmask where bit index [eq]#i#
132 ** code:used_by_curr_pic_s1_flag is a bitmask where bit index [eq]#i#
141 ** code:used_by_curr_pic_lt_sps_flag is a bitmask where bit index [eq]#i#
[all …]
Dh264_parameter_sets.adoc24 ** code:scaling_list_present_mask is a bitmask where bit index [eq]#i#
27 ** code:use_default_scaling_matrix_mask is a bitmask where bit index
69 ** code:scaling_list_present_mask is a bitmask where bit index [eq]#i#
72 ** code:use_default_scaling_matrix_mask is a bitmask where bit index
/third_party/curl/docs/libcurl/opts/
DCURLOPT_PROXYAUTH.md24 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYAUTH, long bitmask);
29 Pass a long as parameter, which is set to a bitmask, to tell libcurl which
37 The bitmask can be constructed by the bits listed and described in the
76 CURLE_NOT_BUILT_IN if the bitmask specified no supported authentication
DCURLOPT_WS_OPTIONS.md22 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_WS_OPTIONS, long bitmask);
27 Pass a long with a bitmask to tell libcurl about specific WebSocket
34 Available bits in the bitmask
DCURLOPT_SOCKS5_AUTH.md21 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SOCKS5_AUTH, long bitmask);
26 Pass a long as parameter, which is set to a bitmask, to tell libcurl which
69 CURLE_NOT_BUILT_IN if the bitmask contains unsupported flags.
DCURLOPT_PROTOCOLS.md22 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROTOCOLS, long bitmask);
31 Pass a long that holds a bitmask of CURLPROTO_* defines. If used, this bitmask
DCURLOPT_REDIR_PROTOCOLS.md23 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_REDIR_PROTOCOLS, long bitmask);
32 Pass a long that holds a bitmask of CURLPROTO_* defines. If used, this bitmask
/third_party/skia/third_party/externals/angle2/extensions/
DEGL_ANGLE_surface_orientation.txt54 New EGLConfig bitmask attribute name:
64 Valid bitfields in the EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE bitmask
65 attribute of EGLConfig and EGL_SURFACE_ORIENTATION_ANGLE bitmask attribute
79 EGL_OPTIMAL_SURFACE_ORIENTATION_ANGLE bitmask Optimal window surface
111 EGL_SURFACE_ORIENTATION_ANGLE bitmask Orientation of surface
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c552 assert(idx < ARRAY_SIZE(mask->bitmask)); in has_format_bit()
553 return (mask->bitmask[idx] & (1u << bit)) != 0; in has_format_bit()
586 if (!(vscreen->caps.caps.v1.vertexbuffer.bitmask[big] & (1 << small))) in virgl_is_vertex_format_supported()
611 uint32_t bitmask[16], in virgl_format_check_bitmask()
617 if ((bitmask[big] & (1 << small))) in virgl_format_check_bitmask()
634 if (bitmask[big] & (1 << small)) in virgl_format_check_bitmask()
645 vscreen->caps.caps.v2.scanout.bitmask, in virgl_has_scanout_format()
749 caps->v1.render.bitmask, in virgl_is_format_supported()
760 if (!virgl_format_check_bitmask(format, caps->v2.scanout.bitmask, false)) in virgl_is_format_supported()
807 caps->v1.sampler.bitmask, in virgl_is_format_supported()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_NV_external_memory_capabilities/
Dexternal_image_format.txt22 * pname:flags is a bitmask describing additional parameters of the image,
49 * pname:externalMemoryFeatures is a bitmask of
54 * pname:exportFromImportedHandleTypes is a bitmask of
60 * pname:compatibleHandleTypes is a bitmask of
94 tname:VkExternalMemoryFeatureFlagsNV is a bitmask type for setting a mask of
Dexternal_image_format.adoc22 * pname:flags is a bitmask describing additional parameters of the image,
55 * pname:externalMemoryFeatures is a bitmask of
60 * pname:exportFromImportedHandleTypes is a bitmask of
66 * pname:compatibleHandleTypes is a bitmask of
100 tname:VkExternalMemoryFeatureFlagsNV is a bitmask type for setting a mask of
/third_party/openssl/ssl/statem/
Dstatem_dtls.c23 #define RSMBLY_BITMASK_MARK(bitmask, start, end) { \ argument
26 … for (ii = (start); ii < (end); ii++) bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
29 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
30 … for (ii = (((start) >> 3) + 1); ii < ((((end) - 1)) >> 3); ii++) bitmask[ii] = 0xff; \
31 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
34 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) { \ argument
37 … if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) is_complete = 0; \
39 if (bitmask[ii] != 0xff) { is_complete = 0; break; } }
60 unsigned char *bitmask = NULL; in dtls1_hm_fragment_new() local
80 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
[all …]
/third_party/node/deps/openssl/openssl/ssl/statem/
Dstatem_dtls.c23 #define RSMBLY_BITMASK_MARK(bitmask, start, end) { \ argument
26 … for (ii = (start); ii < (end); ii++) bitmask[((ii) >> 3)] |= (1 << ((ii) & 7)); \
29 bitmask[((start) >> 3)] |= bitmask_start_values[((start) & 7)]; \
30 … for (ii = (((start) >> 3) + 1); ii < ((((end) - 1)) >> 3); ii++) bitmask[ii] = 0xff; \
31 bitmask[(((end) - 1) >> 3)] |= bitmask_end_values[((end) & 7)]; \
34 #define RSMBLY_BITMASK_IS_COMPLETE(bitmask, msg_len, is_complete) { \ argument
37 … if (bitmask[(((msg_len) - 1) >> 3)] != bitmask_end_values[((msg_len) & 7)]) is_complete = 0; \
39 if (bitmask[ii] != 0xff) { is_complete = 0; break; } }
60 unsigned char *bitmask = NULL; in dtls1_hm_fragment_new() local
80 bitmask = OPENSSL_zalloc(RSMBLY_BITMASK_SIZE(frag_len)); in dtls1_hm_fragment_new()
[all …]
/third_party/glslang/SPIRV/
Ddoc.h202 … ceiling(0), bitmask(false), getName(nullptr), enumParams(nullptr), operandParams(nullptr) { } in EnumDefinition()
207 bitmask = mask;
212 bool bitmask; // true if these enumerants combine into a bitmask variable
/third_party/curl/docs/cmdline-opts/
Dgen.pl743 my $bitmask = ' ';
753 $bitmask .= 'CURLHELP_' . uc $categories[$i];
756 $bitmask .= ' | ';
759 $bitmask =~ s/(?=.{76}).{1,76}\|/$&\n /g;
767 my $line = sprintf " {\"%s\",\n \"%s\",\n %s},\n", $opt, $desc, $bitmask;

12345678910>>...15