Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 25 of 226) sorted by relevance

12345678910

/external/libcap-ng/libcap-ng-0.7/src/
Dcap-ng.c352 static void v1_update(capng_act_t action, unsigned int capability, __u32 *data) in v1_update() argument
355 *data |= MASK(capability); in v1_update()
357 *data &= ~(MASK(capability)); in v1_update()
360 static void update_effective(capng_act_t action, unsigned int capability, in update_effective() argument
364 m.data.v3[idx].effective |= MASK(capability); in update_effective()
366 m.data.v3[idx].effective &= ~(MASK(capability)); in update_effective()
369 static void update_permitted(capng_act_t action, unsigned int capability, in update_permitted() argument
373 m.data.v3[idx].permitted |= MASK(capability); in update_permitted()
375 m.data.v3[idx].permitted &= ~(MASK(capability)); in update_permitted()
378 static void update_inheritable(capng_act_t action, unsigned int capability, in update_inheritable() argument
[all …]
Dcap-ng.h55 int capng_update(capng_act_t action, capng_type_t type,unsigned int capability);
57 unsigned int capability, ...);
70 int capng_have_capability(capng_type_t which, unsigned int capability);
78 const char *capng_capability_to_name(unsigned int capability);
Dlookup_table.c107 const char *capng_capability_to_name(unsigned int capability) in capng_capability_to_name() argument
109 if (!cap_valid(capability)) in capng_capability_to_name()
113 CAP_NG_CAPABILITY_NAMES, capability); in capng_capability_to_name()
/external/chromium_org/net/http/
Dhttp_pipelined_host_pool.cc23 HttpPipelinedHostCapability capability, in CreateNewHost() argument
28 return new HttpPipelinedHostImpl(delegate, key, factory, capability); in CreateNewHost()
53 HttpPipelinedHostCapability capability = in IsKeyEligibleForPipelining() local
55 return capability != PIPELINE_INCAPABLE; in IsKeyEligibleForPipelining()
104 HttpPipelinedHostCapability capability = in GetPipelinedHost() local
106 if (capability == PIPELINE_INCAPABLE) { in GetPipelinedHost()
111 this, key, NULL, capability, force_pipelining_); in GetPipelinedHost()
130 HttpPipelinedHostCapability capability) { in OnHostDeterminedCapability() argument
132 capability); in OnHostDeterminedCapability()
Dhttp_server_properties_impl.cc268 HttpPipelinedHostCapability capability = PIPELINE_UNKNOWN; in GetPipelineCapability() local
272 capability = it->second; in GetPipelineCapability()
274 return capability; in GetPipelineCapability()
279 HttpPipelinedHostCapability capability) { in SetPipelineCapability() argument
284 pipeline_capability_map_->Put(origin, capability); in SetPipelineCapability()
Dhttp_pipelined_host.h57 HttpPipelinedHostCapability capability) = 0;
68 HttpPipelinedHostCapability capability,
Dhttp_pipelined_host_impl.cc22 HttpPipelinedHostCapability capability) in HttpPipelinedHostImpl() argument
26 capability_(capability) { in HttpPipelinedHostImpl()
/external/chromium_org/media/video/capture/win/
Dcapability_list_win.cc16 const VideoCaptureCapabilityWin* capability; member
36 return item1.capability->supported_format.pixel_format < in CompareColor()
37 item2.capability->supported_format.pixel_format; in CompareColor()
49 void CapabilityList::Add(const VideoCaptureCapabilityWin& capability) { in Add() argument
51 capabilities_.push_back(capability); in Add()
68 diff.capability = &(*it); in GetBestMatchedFormat()
117 return *diff_list.front().capability; in GetBestMatchedFormat()
Dvideo_capture_device_win.cc521 VideoCaptureCapabilityWin capability(i); in CreateCapabilityMap() local
524 capability.supported_format.frame_size.SetSize(h->bmiHeader.biWidth, in CreateCapabilityMap()
533 SIZE size = {capability.supported_format.frame_size.width(), in CreateCapabilityMap()
534 capability.supported_format.frame_size.height()}; in CreateCapabilityMap()
552 capability.supported_format.frame_rate = in CreateCapabilityMap()
559 capability.frame_rate_numerator = capability.supported_format.frame_rate; in CreateCapabilityMap()
560 capability.frame_rate_denominator = 1; in CreateCapabilityMap()
564 capability.supported_format.pixel_format = PIXEL_FORMAT_I420; in CreateCapabilityMap()
567 capability.supported_format.pixel_format = PIXEL_FORMAT_I420; in CreateCapabilityMap()
569 capability.supported_format.pixel_format = PIXEL_FORMAT_RGB24; in CreateCapabilityMap()
[all …]
Dvideo_capture_device_mf_win.cc120 VideoCaptureCapabilityWin* capability) { in FillCapabilitiesFromType() argument
123 !GetFrameSize(type, &capability->supported_format.frame_size) || in FillCapabilitiesFromType()
125 &capability->frame_rate_numerator, in FillCapabilitiesFromType()
126 &capability->frame_rate_denominator) || in FillCapabilitiesFromType()
127 !FormatFromGuid(type_guid, &capability->supported_format.pixel_format)) { in FillCapabilitiesFromType()
131 capability->supported_format.frame_rate = in FillCapabilitiesFromType()
132 capability->frame_rate_numerator / capability->frame_rate_denominator; in FillCapabilitiesFromType()
144 VideoCaptureCapabilityWin capability(stream_index++); in FillCapabilities() local
145 if (FillCapabilitiesFromType(type, &capability)) in FillCapabilities()
146 capabilities->Add(capability); in FillCapabilities()
Dcapability_list_win.h41 void Add(const VideoCaptureCapabilityWin& capability);
/external/chromium_org/sandbox/win/src/
Dapp_container_test.cc76 const wchar_t capability[] = L"S-1-15-3-12345678-87654321"; in TEST() local
77 base::win::ScopedHandle handle(CreateTaggedEvent(L"test", capability)); in TEST()
83 EXPECT_EQ(SBOX_ALL_OK, runner.GetPolicy()->SetCapability(capability)); in TEST()
100 const wchar_t capability[] = L"S-1-15-3-12345678-87654321"; in TEST() local
101 base::win::ScopedHandle handle(CreateTaggedEvent(L"test", capability)); in TEST()
/external/sepolicy/
Dzygote.te8 allow zygote self:capability { dac_override setgid setuid fowner };
10 allow zygote self:capability setpcap;
29 allow zygote self:capability sys_admin;
40 dontaudit zygote self:capability fsetid;
Dinstalld.te8 allow installd self:capability { chown dac_override fowner fsetid setgid setuid };
21 dontaudit installd self:capability sys_admin;
Dvold.te21 allow vold self:capability { net_admin dac_override mknod sys_admin chown fowner fsetid };
31 allow vold self:capability { sys_ptrace kill };
Dnetd.te6 allow netd self:capability { net_admin net_raw kill fsetid };
39 allow netd self:capability { dac_override chown fowner };
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui_browsertest.cc86 net::HttpPipelinedHostCapability capability) { in AddDummyHttpPipelineFeedbackOnIOThread() argument
94 http_server_properties->SetPipelineCapability(origin, capability); in AddDummyHttpPipelineFeedbackOnIOThread()
318 net::HttpPipelinedHostCapability capability; in AddDummyHttpPipelineFeedback() local
323 capability = net::PIPELINE_CAPABLE; in AddDummyHttpPipelineFeedback()
325 capability = net::PIPELINE_INCAPABLE; in AddDummyHttpPipelineFeedback()
335 capability)); in AddDummyHttpPipelineFeedback()
/external/chromium_org/third_party/libjingle/source/talk/examples/plus/
Dpresencepushtask.cc147 std::string capability; in ProcessStart() local
149 while (ss >> capability) { in ProcessStart()
150 s.AddCapability(capability); in ProcessStart()
/external/wpa_supplicant_8/src/p2p/
Dp2p_parse.c32 msg->capability = data; in p2p_parse_attribute()
626 if (msg.capability) { in p2p_attr_text()
630 msg.capability[0], msg.capability[1]); in p2p_attr_text()
702 if (!msg.capability) in p2p_get_group_capab()
705 return msg.capability[1]; in p2p_get_group_capab()
Dp2p_pd.c239 msg.capability ? msg.capability[0] : 0, in p2p_process_prov_disc_req()
240 msg.capability ? msg.capability[1] : in p2p_process_prov_disc_req()
/external/chromium_org/chromeos/dbus/
Dbluetooth_agent_manager_client.cc31 const std::string& capability, in RegisterAgent() argument
40 writer.AppendString(capability); in RegisterAgent()
Dbluetooth_agent_manager_client.h37 const std::string& capability,
/external/chromium_org/chrome/test/chromedriver/
Dcapabilities.cc241 const base::Value& capability, in ParseChromeOptions() argument
244 if (!capability.GetAsDictionary(&chrome_options)) in ParseChromeOptions()
431 const base::Value* capability = NULL; in Parse() local
432 if (desired_caps.Get(it->first, &capability)) { in Parse()
433 Status status = it->second.Run(*capability, this); in Parse()
/external/chromium_org/gpu/command_buffer/
Dbuild_gles2_cmd_buffer.py7052 for capability in _CAPABILITY_FLAGS:
7053 file.Write(" bool %s;\n" % capability['name'])
7071 for capability in _CAPABILITY_FLAGS:
7072 file.Write(" bool %s;\n" % capability['name'])
7105 for capability in _CAPABILITY_FLAGS:
7106 file.Write(" case GL_%s:\n" % capability['name'].upper())
7111 (gl_type, capability['name']))
7126 for capability in _CAPABILITY_FLAGS:
7128 (capability['name'],
7129 ('false', 'true')['default' in capability]))
[all …]
/external/libvorbis/
Dtodo.txt16 to MDCT domain data, additional low level framing capability)

12345678910