Home
last modified time | relevance | path

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

/external/webrtc/webrtc/base/
Dmacconversion.cc54 CFNumberType ntype = CFNumberGetType(cfn); in p_convertCFNumberToInt() local
55 switch (ntype) { in p_convertCFNumberToInt()
58 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint8)); in p_convertCFNumberToInt()
63 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint16)); in p_convertCFNumberToInt()
68 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint32)); in p_convertCFNumberToInt()
73 converted = CFNumberGetValue(cfn, ntype, static_cast<void*>(&sint64)); in p_convertCFNumberToInt()
78 converted = CFNumberGetValue(cfn, ntype, in p_convertCFNumberToInt()
84 converted = CFNumberGetValue(cfn, ntype, in p_convertCFNumberToInt()
90 converted = CFNumberGetValue(cfn, ntype, in p_convertCFNumberToInt()
96 converted = CFNumberGetValue(cfn, ntype, in p_convertCFNumberToInt()
[all …]
/external/one-true-awk/
Dparse.c46 a->ntype = NSTAT; in exptostat()
101 x->ntype = NSTAT; in stat1()
110 x->ntype = NSTAT; in stat2()
119 x->ntype = NSTAT; in stat3()
128 x->ntype = NSTAT; in stat4()
137 x->ntype = NEXPR; in op1()
146 x->ntype = NEXPR; in op2()
155 x->ntype = NEXPR; in op3()
164 x->ntype = NEXPR; in op4()
175 x->ntype = NVALUE; in celltonode()
[all …]
Dawk.h133 int ntype; member
182 #define isvalue(n) ((n)->ntype == NVALUE)
183 #define isexpr(n) ((n)->ntype == NEXPR)
Db.c41 #define info(v) (v)->ntype /* badly overloaded here */
/external/libedit/src/
Dkeymacro.c191 keymacro_add(EditLine *el, const Char *key, keymacro_value_t *val, int ntype) in keymacro_add() argument
199 if (ntype == XK_CMD && val->cmd == ED_SEQUENCE_LEAD_IN) { in keymacro_add()
210 (void) node__try(el, el->el_keymacro.map, key, val, ntype); in keymacro_add()
319 keymacro_value_t *val, int ntype) in node__try() argument
354 switch (ptr->type = ntype) { in node__try()
364 EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ntype)); in node__try()
371 (void) node__try(el, ptr->next, str, val, ntype); in node__try()
586 keymacro_kprint(EditLine *el, const Char *key, keymacro_value_t *val, int ntype) in keymacro_kprint() argument
593 switch (ntype) { in keymacro_kprint()
598 ntype == XK_STR ? "\"\"" : "[]"); in keymacro_kprint()
[all …]
Dmap.c1247 int ntype, rem; in map_bind() local
1261 ntype = XK_CMD; in map_bind()
1271 ntype = XK_STR; in map_bind()
1275 ntype = XK_EXE; in map_bind()
1348 switch (ntype) { in map_bind()
1357 terminal_set_arrow(el, in, keymacro_map_str(el, out), ntype); in map_bind()
1359 keymacro_add(el, in, keymacro_map_str(el, out), ntype); in map_bind()
1371 terminal_set_arrow(el, in, keymacro_map_cmd(el, cmd), ntype); in map_bind()
1374 keymacro_add(el, in, keymacro_map_cmd(el, cmd), ntype); in map_bind()
1385 EL_ABORT((el->el_errfile, "Bad XK_ type %d\n", ntype)); in map_bind()
/external/mesa3d/src/amd/vulkan/
Dradv_formats.c396 unsigned ntype; in radv_translate_color_numformat() local
398 ntype = V_028C70_NUMBER_FLOAT; in radv_translate_color_numformat()
400 ntype = V_028C70_NUMBER_UNORM; in radv_translate_color_numformat()
402 ntype = V_028C70_NUMBER_SRGB; in radv_translate_color_numformat()
405 ntype = V_028C70_NUMBER_SINT; in radv_translate_color_numformat()
407 ntype = V_028C70_NUMBER_SNORM; in radv_translate_color_numformat()
409 ntype = ~0u; in radv_translate_color_numformat()
412 ntype = V_028C70_NUMBER_UINT; in radv_translate_color_numformat()
414 ntype = V_028C70_NUMBER_UNORM; in radv_translate_color_numformat()
416 ntype = ~0u; in radv_translate_color_numformat()
[all …]
Dradv_device.c1586 unsigned ntype, format, swap, endian; in radv_initialise_color_surface() local
1649 ntype = radv_translate_color_numformat(iview->vk_format, in radv_initialise_color_surface()
1653 if (format == V_028C70_COLOR_INVALID || ntype == ~0u) in radv_initialise_color_surface()
1659 if (ntype == V_028C70_NUMBER_UNORM || in radv_initialise_color_surface()
1660 ntype == V_028C70_NUMBER_SNORM || in radv_initialise_color_surface()
1661 ntype == V_028C70_NUMBER_SRGB) in radv_initialise_color_surface()
1666 if (ntype == V_028C70_NUMBER_UINT || ntype == V_028C70_NUMBER_SINT || in radv_initialise_color_surface()
1673 if ((ntype == V_028C70_NUMBER_UINT || ntype == V_028C70_NUMBER_SINT) && in radv_initialise_color_surface()
1684 S_028C70_ROUND_MODE(ntype != V_028C70_NUMBER_UNORM && in radv_initialise_color_surface()
1685 ntype != V_028C70_NUMBER_SNORM && in radv_initialise_color_surface()
[all …]
Dradv_pipeline.c583 unsigned format, ntype, swap; in si_choose_spi_color_format() local
594 ntype = radv_translate_color_numformat(vk_format, desc, in si_choose_spi_color_format()
613 if (ntype == V_028C70_NUMBER_UINT) in si_choose_spi_color_format()
615 else if (ntype == V_028C70_NUMBER_SINT) in si_choose_spi_color_format()
624 if (ntype == V_028C70_NUMBER_UNORM || in si_choose_spi_color_format()
625 ntype == V_028C70_NUMBER_SNORM) { in si_choose_spi_color_format()
627 if (ntype == V_028C70_NUMBER_UNORM) in si_choose_spi_color_format()
651 } else if (ntype == V_028C70_NUMBER_UINT) in si_choose_spi_color_format()
653 else if (ntype == V_028C70_NUMBER_SINT) in si_choose_spi_color_format()
655 else if (ntype == V_028C70_NUMBER_FLOAT) in si_choose_spi_color_format()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DTZDBTimeZoneNames.java298 NameType ntype = match.type; in handlePrefixMatch() local
312 && (ntype == NameType.SHORT_STANDARD || ntype == NameType.SHORT_DAYLIGHT) in handlePrefixMatch()
315 ntype = NameType.SHORT_GENERIC; in handlePrefixMatch()
317 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DTZDBTimeZoneNames.java300 NameType ntype = match.type; in handlePrefixMatch() local
314 && (ntype == NameType.SHORT_STANDARD || ntype == NameType.SHORT_DAYLIGHT) in handlePrefixMatch()
317 ntype = NameType.SHORT_GENERIC; in handlePrefixMatch()
319 MatchInfo minfo = new MatchInfo(ntype, null, match.mzID, matchLength); in handlePrefixMatch()
/external/python/cpython2/Lib/test/
Dtest_int.py56 ntype = None variable in IntLongCommonTests
59 self.assertEqual(self.ntype(), 0)
63 self.assertEqual(self.ntype(x=1.2), 1)
64 self.assertEqual(self.ntype('100', base=2), 4)
65 self.assertEqual(self.ntype(x='100', base=2), 4)
66 self.assertRaises(TypeError, self.ntype, base=10)
67 self.assertRaises(TypeError, self.ntype, base=0)
71 ntype = int variable in IntTestCases
Dtest_long.py90 ntype = long variable in LongTest
/external/python/cpython2/Modules/
Dparsermodule.c1030 validate_repeating_list(node *tree, int ntype, int (*vfunc)(node *), in validate_repeating_list() argument
1034 int res = (nch && validate_ntype(tree, ntype) in validate_repeating_list()
1563 int ntype = TYPE(CHILD(tree, 0)); in validate_small_stmt() local
1565 if ( (ntype == expr_stmt) in validate_small_stmt()
1566 || (ntype == print_stmt) in validate_small_stmt()
1567 || (ntype == del_stmt) in validate_small_stmt()
1568 || (ntype == pass_stmt) in validate_small_stmt()
1569 || (ntype == flow_stmt) in validate_small_stmt()
1570 || (ntype == import_stmt) in validate_small_stmt()
1571 || (ntype == global_stmt) in validate_small_stmt()
[all …]
/external/f2fs-tools/fsck/
Dfsck.c359 enum FILE_TYPE ftype, enum NODE_TYPE ntype, in sanity_check_nid() argument
389 if (ntype == TYPE_INODE && in sanity_check_nid()
401 if (ntype != TYPE_INODE && in sanity_check_nid()
416 if (ntype == TYPE_XATTR) { in sanity_check_nid()
426 if ((ntype == TYPE_INODE && ftype == F2FS_FT_DIR) || in sanity_check_nid()
427 (ntype == TYPE_XATTR && ftype == F2FS_FT_XATTR)) { in sanity_check_nid()
440 if (ntype == TYPE_INODE && in sanity_check_nid()
516 u32 nid, enum FILE_TYPE ftype, enum NODE_TYPE ntype, in fsck_chk_node_blk() argument
525 if (sanity_check_nid(sbi, nid, node_blk, ftype, ntype, &ni)) in fsck_chk_node_blk()
528 if (ntype == TYPE_INODE) { in fsck_chk_node_blk()
[all …]
Ddump.c269 static void dump_node_blk(struct f2fs_sb_info *sbi, int ntype, in dump_node_blk() argument
277 switch (ntype) { in dump_node_blk()
302 switch (ntype) { in dump_node_blk()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state.c1944 unsigned ntype, bool is_depth) in si_choose_spi_color_formats() argument
1969 if (ntype == V_028C70_NUMBER_UINT) in si_choose_spi_color_formats()
1971 else if (ntype == V_028C70_NUMBER_SINT) in si_choose_spi_color_formats()
1980 if (ntype == V_028C70_NUMBER_UNORM || in si_choose_spi_color_formats()
1981 ntype == V_028C70_NUMBER_SNORM) { in si_choose_spi_color_formats()
1983 if (ntype == V_028C70_NUMBER_UNORM) in si_choose_spi_color_formats()
2007 } else if (ntype == V_028C70_NUMBER_UINT) in si_choose_spi_color_formats()
2009 else if (ntype == V_028C70_NUMBER_SINT) in si_choose_spi_color_formats()
2011 else if (ntype == V_028C70_NUMBER_FLOAT) in si_choose_spi_color_formats()
2064 unsigned format, swap, ntype, endian; in si_initialize_color_surface() local
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_types.c61 const struct glsl_type *ntype = in get_new_var() local
65 ntype, NULL); in get_new_var()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DDOMHelper.java627 short ntype = n.getNodeType(); in getNamespaceOfNode() local
629 if (Node.ATTRIBUTE_NODE != ntype) in getNamespaceOfNode()
654 if (Node.ATTRIBUTE_NODE == ntype) in getNamespaceOfNode()
793 if (Node.ATTRIBUTE_NODE != ntype) in getNamespaceOfNode()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c815 unsigned format, swap, ntype, endian; in r600_init_color_surface() local
858 ntype = V_0280A0_NUMBER_UNORM; in r600_init_color_surface()
860 ntype = V_0280A0_NUMBER_SRGB; in r600_init_color_surface()
863 ntype = V_0280A0_NUMBER_SNORM; in r600_init_color_surface()
865 ntype = V_0280A0_NUMBER_SINT; in r600_init_color_surface()
868 ntype = V_0280A0_NUMBER_UNORM; in r600_init_color_surface()
870 ntype = V_0280A0_NUMBER_UINT; in r600_init_color_surface()
887 if (ntype == V_0280A0_NUMBER_UINT || ntype == V_0280A0_NUMBER_SINT || in r600_init_color_surface()
894 surf->alphatest_bypass = ntype == V_0280A0_NUMBER_UINT || ntype == V_0280A0_NUMBER_SINT; in r600_init_color_surface()
900 S_0280A0_NUMBER_TYPE(ntype) | in r600_init_color_surface()
[all …]
Devergreen_state.c995 unsigned format, swap, ntype, endian; in evergreen_init_color_surface() local
1073 ntype = V_028C70_NUMBER_UNORM; in evergreen_init_color_surface()
1075 ntype = V_028C70_NUMBER_SRGB; in evergreen_init_color_surface()
1078 ntype = V_028C70_NUMBER_SNORM; in evergreen_init_color_surface()
1080 ntype = V_028C70_NUMBER_SINT; in evergreen_init_color_surface()
1083 ntype = V_028C70_NUMBER_UNORM; in evergreen_init_color_surface()
1085 ntype = V_028C70_NUMBER_UINT; in evergreen_init_color_surface()
1101 if (ntype == V_028C70_NUMBER_UNORM || ntype == V_028C70_NUMBER_SNORM || in evergreen_init_color_surface()
1102 ntype == V_028C70_NUMBER_SRGB) in evergreen_init_color_surface()
1107 if (ntype == V_028C70_NUMBER_UINT || ntype == V_028C70_NUMBER_SINT || in evergreen_init_color_surface()
[all …]
/external/webrtc/webrtc/p2p/base/
Dport_unittest.cc391 void TestLocalToStun(NATType ntype) { in TestLocalToStun() argument
394 nat_server2_.reset(CreateNatServer(kNatAddr2, ntype)); in TestLocalToStun()
397 TestConnectivity("udp", port1, StunName(ntype), port2, in TestLocalToStun()
398 ntype == NAT_OPEN_CONE, true, in TestLocalToStun()
399 ntype != NAT_SYMMETRIC, true); in TestLocalToStun()
409 void TestStunToLocal(NATType ntype) { in TestStunToLocal() argument
410 nat_server1_.reset(CreateNatServer(kNatAddr1, ntype)); in TestStunToLocal()
415 TestConnectivity(StunName(ntype), port1, "udp", port2, in TestStunToLocal()
416 true, ntype != NAT_SYMMETRIC, true, true); in TestStunToLocal()
430 void TestStunToRelay(NATType ntype, RelayType rtype, ProtocolType proto) { in TestStunToRelay() argument
[all …]
/external/tcpdump/
Dprint-decnet.c752 int ntype = info & 3; in print_t_info() local
753 switch (ntype) { in print_t_info()
831 int ntype = info & II_TYPEMASK; in print_i_info() local
832 switch (ntype) { in print_i_info()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/dom2dtm/
DDOM2DTM.java1215 int ntype=n.getNodeType(); in logicalNextDOMTextNode() local
1216 if(TEXT_NODE != ntype && CDATA_SECTION_NODE != ntype) in logicalNextDOMTextNode()
/external/icu/icu4c/source/i18n/
Dtznames_impl.cpp1966 UTimeZoneNameType ntype = match->type; in handleMatch() local
1980 && (ntype == UTZNM_SHORT_STANDARD || ntype == UTZNM_SHORT_DAYLIGHT) in handleMatch()
1983 ntype = UTZNM_SHORT_GENERIC; in handleMatch()
1995 fResults->addMetaZone(ntype, matchLength, UnicodeString(match->mzID, -1), status); in handleMatch()