Home
last modified time | relevance | path

Searched refs:cid (Results 1 – 25 of 240) sorted by relevance

12345678910

/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/printer/lexicalpreservation/transformations/ast/body/
DClassOrInterfaceDeclarationTransformationsTest.java53 ClassOrInterfaceDeclaration cid = consider("class A {}"); in settingName() local
54 cid.setName("B"); in settingName()
55 assertTransformedToString("class B {}", cid); in settingName()
62 ClassOrInterfaceDeclaration cid = consider("class A {}"); in classToInterface() local
63 cid.setInterface(true); in classToInterface()
64 assertTransformedToString("interface A {}", cid); in classToInterface()
69 ClassOrInterfaceDeclaration cid = consider("interface A {}"); in interfaceToClass() local
70 cid.setInterface(false); in interfaceToClass()
71 assertTransformedToString("class A {}", cid); in interfaceToClass()
78 ClassOrInterfaceDeclaration cid = consider("class A {}"); in addingTypeParameterWhenThereAreNone() local
[all …]
/external/python/cpython3/Lib/test/
Dtest__xxsubinterpreters.py205 def run_action(cid, action, end, state, *, hideclosed=True): argument
215 result = _run_action(cid, action, end, state)
226 def _run_action(cid, action, end, state): argument
229 interpreters.channel_send(cid, b'spam')
234 interpreters.channel_recv(cid)
240 interpreters.channel_recv(cid)
248 interpreters.channel_close(cid, **kwargs)
256 interpreters.channel_close(cid, **kwargs)
273 for cid in interpreters.channel_list_all():
275 interpreters.channel_destroy(cid)
[all …]
/external/freetype/src/cid/
Dcidload.c79 CID_FaceInfo cid = &face->cid; in cid_load_keyword() local
96 object = (FT_Byte*)cid; in cid_load_keyword()
100 object = (FT_Byte*)&cid->font_info; in cid_load_keyword()
108 object = (FT_Byte*)&cid->font_bbox; in cid_load_keyword()
116 if ( parser->num_dict < 0 || parser->num_dict >= cid->num_dicts ) in cid_load_keyword()
124 dict = cid->font_dicts + parser->num_dict; in cid_load_keyword()
167 if ( parser->num_dict >= 0 && parser->num_dict < face->cid.num_dicts ) in cid_parse_font_matrix()
174 dict = face->cid.font_dicts + parser->num_dict; in cid_parse_font_matrix()
243 CID_FaceInfo cid = &face->cid; in parse_fd_array() local
284 if ( !cid->font_dicts ) in parse_fd_array()
[all …]
Dcidobjs.c143 CID_FaceDict dict = face->cid.font_dicts + face->root.face_index; in cid_size_init()
200 CID_FaceInfo cid; in cid_face_done() local
207 cid = &face->cid; in cid_face_done()
208 info = &cid->font_info; in cid_face_done()
217 for ( n = 0; n < cid->num_dicts; n++ ) in cid_face_done()
240 FT_FREE( cid->font_dicts ); in cid_face_done()
241 cid->num_dicts = 0; in cid_face_done()
244 FT_FREE( cid->cid_font_name ); in cid_face_done()
245 FT_FREE( cid->registry ); in cid_face_done()
246 FT_FREE( cid->ordering ); in cid_face_done()
[all …]
Dcidriver.c54 const char* result = face->cid.cid_font_name; in cid_get_postscript_name()
79 *afont_info = ((CID_Face)face)->cid.font_info; in cid_ps_get_font_info()
116 CID_FaceInfo cid = &face->cid; in cid_get_ros() local
120 *registry = cid->registry; in cid_get_ros()
123 *ordering = cid->ordering; in cid_get_ros()
126 *supplement = cid->supplement; in cid_get_ros()
150 FT_UInt *cid ) in cid_get_cid_from_glyph_index() argument
156 if ( cid ) in cid_get_cid_from_glyph_index()
157 *cid = glyph_index; /* identity mapping */ in cid_get_cid_from_glyph_index()
Dcidgload.c48 CID_FaceInfo cid = &face->cid; in cid_load_glyph() local
83 fd_select = cid_get_offset( &p, (FT_Byte)cid->fd_bytes ); in cid_load_glyph()
87 glyph_length = (FT_ULong)( glyph_data.length - cid->fd_bytes ); in cid_load_glyph()
90 ft_memcpy( charstring, glyph_data.pointer + cid->fd_bytes, in cid_load_glyph()
107 FT_UInt entry_len = (FT_UInt)( cid->fd_bytes + cid->gd_bytes ); in cid_load_glyph()
111 if ( FT_STREAM_SEEK( cid->data_offset + cid->cidmap_offset + in cid_load_glyph()
117 fd_select = cid_get_offset( &p, (FT_Byte)cid->fd_bytes ); in cid_load_glyph()
118 off1 = cid_get_offset( &p, (FT_Byte)cid->gd_bytes ); in cid_load_glyph()
119 p += cid->fd_bytes; in cid_load_glyph()
120 off2 = cid_get_offset( &p, (FT_Byte)cid->gd_bytes ); in cid_load_glyph()
[all …]
/external/crosvm/devices/src/virtio/vhost/
Dvsock.rs26 cid: u64, field
37 cid: u64, in new()
60 cid, in new()
67 pub fn new_for_testing(cid: u64, features: u64) -> Vsock { in new_for_testing()
72 cid, in new_for_testing()
130 let cid = Le64::from(self.cid); in read_config() localVariable
131 copy_config(data, 0, DataInit::as_slice(&cid), offset); in read_config()
164 let cid = self.cid; in activate() localVariable
181 handle.set_cid(cid).map_err(Error::VhostVsockSetCid)?; in activate()
223 let cid = 5; in ack_features() localVariable
[all …]
/external/pdfium/core/fpdfapi/cmaps/
Dfpdf_cmaps.cpp15 uint16_t cid; member
21 uint16_t cid; member
76 return found->cid; in CIDFromCharCode()
88 return found->cid + loword - found->low; in CIDFromCharCode()
102 uint32_t CharCodeFromCID(const FXCMAP_CMap* pMap, uint16_t cid) { in CharCodeFromCID() argument
116 if (pCur->cid == cid) in CharCodeFromCID()
126 if (cid >= pCur->cid && cid <= pCur->cid + pCur->high - pCur->low) in CharCodeFromCID()
127 return pCur->low + cid - pCur->cid; in CharCodeFromCID()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_cmd.h428 uint32 cid; member
436 uint32 cid; member
444 uint32 cid; member
499 uint32 cid; member
508 uint32 cid; member
773 uint32 cid; member
796 uint32 cid; member
810 uint32 cid; member
866 uint32 cid; member
893 uint32 cid; member
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DCallIdentifier.java79 public CallIdentifier(String cid) throws IllegalArgumentException { in CallIdentifier() argument
80 setCallID(cid); in CallIdentifier()
160 public void setCallID(String cid) throws IllegalArgumentException { in setCallID() argument
161 if (cid == null) in setCallID()
163 int index = cid.indexOf('@'); in setCallID()
165 localId = cid; in setCallID()
168 localId = cid.substring(0, index); in setCallID()
169 host = cid.substring(index + 1, cid.length()); in setCallID()
DCallID.java116 public void setCallId(String cid) throws ParseException { in setCallId() argument
118 callIdentifier = new CallIdentifier(cid); in setCallId()
120 throw new ParseException(cid, 0); in setCallId()
128 public void setCallIdentifier(CallIdentifier cid) { in setCallIdentifier() argument
129 callIdentifier = cid; in setCallIdentifier()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/python_utils/
Ddockerjob.py35 def docker_kill(cid): argument
37 return subprocess.call(['docker', 'kill', str(cid)],
43 def docker_mapped_port(cid, port, timeout_seconds=15): argument
48 output = subprocess.check_output('docker port %s %s' % (cid, port),
55 (port, cid))
58 def docker_ip_address(cid, timeout_seconds=15): argument
62 cmd = 'docker inspect %s' % cid
74 'Non-retryable error: Failed to get ip address of container %s.' % cid)
77 def wait_for_healthy(cid, shortname, timeout_seconds): argument
83 'docker', 'inspect', '--format="{{.State.Health.Status}}"', cid
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd.c175 cmd->cid = swc->cid; in SVGA3D_DefineContext()
209 cmd->cid = swc->cid; in SVGA3D_DestroyContext()
597 cmd->cid = swc->cid; in SVGA3D_SetRenderTarget()
651 cmd->cid = swc->cid; in SVGA3D_DefineShader()
693 cmd->cid = swc->cid; in SVGA3D_DestroyShader()
740 cmd->cid = swc->cid; in SVGA3D_SetShaderConst()
808 cmd->cid = swc->cid; in SVGA3D_SetShaderConsts()
859 cmd->cid = swc->cid; in SVGA3D_SetShader()
911 cmd->cid = swc->cid; in SVGA3D_BeginClear()
1012 cmd->cid = swc->cid; in SVGA3D_BeginDrawPrimitives()
[all …]
/external/python/cpython3/Modules/
D_xxsubinterpretersmodule.c1000 int64_t cid = -1; in _channels_add() local
1019 cid = id; in _channels_add()
1022 return cid; in _channels_add()
1029 _channels_close(_channels *channels, int64_t cid, _PyChannelState **pchan, in _channels_close() argument
1038 _channelref *ref = _channelref_find(channels->head, cid, NULL); in _channels_close()
1040 PyErr_Format(ChannelNotFoundError, "channel %" PRId64 " not found", cid); in _channels_close()
1045 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close()
1049 PyErr_Format(ChannelClosedError, "channel %" PRId64 " closed", cid); in _channels_close()
1058 "channel %" PRId64 " closed", cid); in _channels_close()
1391 _channel_is_associated(_channels *channels, int64_t cid, int64_t interp, in _channel_is_associated() argument
[all …]
/external/grpc-grpc/tools/run_tests/python_utils/
Ddockerjob.py34 def docker_kill(cid): argument
37 ['docker', 'kill', str(cid)],
43 def docker_mapped_port(cid, port, timeout_seconds=15): argument
49 'docker port %s %s' % (cid, port), stderr=_DEVNULL, shell=True)
54 cid))
57 def wait_for_healthy(cid, shortname, timeout_seconds): argument
65 cid
74 (shortname, cid))
/external/tensorflow/tensorflow/core/kernels/rnn/
Dlstm_ops_gpu.cu.cc143 const int cid = batch_id * cell_size + act_id; in lstm_gates() local
152 cs_prev[cid] * wci[act_id]); in lstm_gates()
157 i[cid] = i_local; in lstm_gates()
163 ci[cid] = ci_local; in lstm_gates()
168 forget_bias_t + cs_prev[cid] * wcf[act_id]); in lstm_gates()
173 f[cid] = f_local; in lstm_gates()
175 T cs_local = i_local * ci_local + f_local * cs_prev[cid]; in lstm_gates()
179 cs[cid] = cs_local; in lstm_gates()
182 co[cid] = co_local; in lstm_gates()
192 o[cid] = o_local; in lstm_gates()
[all …]
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cc329 unsigned cid = rand() % kClocks; in ClockFuzzer() local
336 printf("acquire thr%d <- clk%d\n", tid, cid); in ClockFuzzer()
337 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
338 thr1[tid]->acquire(&cache, sync1[cid]); in ClockFuzzer()
342 printf("release thr%d -> clk%d\n", tid, cid); in ClockFuzzer()
343 thr0[tid]->release(sync0[cid]); in ClockFuzzer()
344 thr1[tid]->release(&cache, sync1[cid]); in ClockFuzzer()
348 printf("acq_rel thr%d <> clk%d\n", tid, cid); in ClockFuzzer()
349 thr0[tid]->acq_rel(sync0[cid]); in ClockFuzzer()
350 thr1[tid]->acq_rel(&cache, sync1[cid]); in ClockFuzzer()
[all …]
/external/igt-gpu-tools/tests/
Dkms_hdmi_inject.c83 int ret, cid, i, crtc_mask = -1; in hdmi_inject_4k() local
100 cid = connector->connector_id; in hdmi_inject_4k()
102 connector = drmModeGetConnectorCurrent(drm_fd, cid); in hdmi_inject_4k()
115 ret = kmstest_get_connector_config(drm_fd, cid, crtc_mask, &config); in hdmi_inject_4k()
143 int fb_id, cid, ret, crtc_mask = -1; in hdmi_inject_audio() local
153 cid = connector->connector_id; in hdmi_inject_audio()
154 connector = drmModeGetConnectorCurrent(drm_fd, cid); in hdmi_inject_audio()
157 ret = kmstest_get_connector_config(drm_fd, cid, crtc_mask, &config); in hdmi_inject_audio()
/external/pdfium/core/fpdfapi/font/
Dcpdf_cid2unicodemap.cpp22 wchar_t CPDF_CID2UnicodeMap::UnicodeFromCID(uint16_t cid) const { in UnicodeFromCID()
24 return cid; in UnicodeFromCID()
25 return cid < m_pEmbeddedMap.size() ? m_pEmbeddedMap[cid] : 0; in UnicodeFromCID()
Dcpdf_cidfont.cpp35 uint16_t cid; member
150 uint16_t cid = CIDFromCharCode(pEmbedMap, charcode); in EmbeddedUnicodeFromCharcode() local
151 if (!cid) in EmbeddedUnicodeFromCharcode()
156 return cid < map.size() ? map[cid] : 0; in EmbeddedUnicodeFromCharcode()
501 uint16_t cid = CIDFromCharCode(charcode); in GetCharWidthF() local
506 if (IsMetricForCID(pEntry, cid)) in GetCharWidthF()
599 uint16_t cid = CIDFromCharCode(charcode); in GlyphFromCharCode() local
604 return cid; in GlyphFromCharCode()
608 return cid; in GlyphFromCharCode()
612 return cid; in GlyphFromCharCode()
[all …]
/external/llvm-project/compiler-rt/lib/tsan/tests/unit/
Dtsan_clock_test.cpp426 unsigned cid = rand() % kClocks; in ClockFuzzer() local
433 printf("acquire thr%d <- clk%d\n", tid, cid); in ClockFuzzer()
434 thr0[tid]->acquire(sync0[cid]); in ClockFuzzer()
435 thr1[tid]->acquire(&cache, sync1[cid]); in ClockFuzzer()
439 printf("release thr%d -> clk%d\n", tid, cid); in ClockFuzzer()
440 thr0[tid]->release(sync0[cid]); in ClockFuzzer()
441 thr1[tid]->release(&cache, sync1[cid]); in ClockFuzzer()
445 printf("acq_rel thr%d <> clk%d\n", tid, cid); in ClockFuzzer()
446 thr0[tid]->acq_rel(sync0[cid]); in ClockFuzzer()
447 thr1[tid]->acq_rel(&cache, sync1[cid]); in ClockFuzzer()
[all …]
/external/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cc112 for (uptr cid = 0; cid < FakeStack::kNumberOfSizeClasses; cid++) { in TEST() local
113 uptr n = FakeStack::NumberOfFrames(stack_size_log, cid); in TEST()
114 uptr bytes_in_class = FakeStack::BytesInSizeClass(cid); in TEST()
116 FakeFrame *ff = fs->Allocate(stack_size_log, cid, 0); in TEST()
118 EXPECT_TRUE(s.insert(std::make_pair(ff, cid)).second); in TEST()
125 EXPECT_EQ(0UL, fs->Allocate(stack_size_log, cid, 0)); in TEST()
/external/llvm-project/compiler-rt/lib/asan/tests/
Dasan_fake_stack_test.cpp111 for (uptr cid = 0; cid < FakeStack::kNumberOfSizeClasses; cid++) { in TEST() local
112 uptr n = FakeStack::NumberOfFrames(stack_size_log, cid); in TEST()
113 uptr bytes_in_class = FakeStack::BytesInSizeClass(cid); in TEST()
115 FakeFrame *ff = fs->Allocate(stack_size_log, cid, 0); in TEST()
117 EXPECT_TRUE(s.insert(std::make_pair(ff, cid)).second); in TEST()
124 EXPECT_EQ(0UL, fs->Allocate(stack_size_log, cid, 0)); in TEST()
/external/autotest/site_utils/lxc/
Dcontainer_factory.py52 def create_container(self, cid=None, lxc_path=None): argument
63 name = str(cid) if cid else None
77 if cid:
78 new_container.id = cid
/external/autotest/client/cros/cellular/mbim_compliance/tests/
Dcm_05.py35 cid=mbim_constants.MBIM_CID_DEVICE_CAPS,
41 cid=mbim_constants.MBIM_CID_DEVICE_SERVICES,
76 caps_response_message.cid == caps_command_message.cid and
81 services_command_message.cid == services_response_message.cid):

12345678910