Home
last modified time | relevance | path

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

12345678910>>...42

/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/set/
Dset.h44 } set; typedef
67 extern unsigned int set_deg( set );
68 extern set set_or( set, set );
69 extern set set_and( set, set );
70 extern set set_dif( set, set );
71 extern set set_of( unsigned );
72 extern void set_ext( set *, unsigned int );
73 extern set set_not( set );
74 extern int set_equ( set, set );
75 extern int set_sub( set, set );
[all …]
Dset.c86 set empty = set_init;
116 set_deg( set a ) in set_deg()
119 set a; in set_deg()
147 set
149 set_or( set b, set c ) in set_or()
152 set b; in set_or()
153 set c;
158 set *big;
159 set t;
183 set
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_sets.py17 self.assertEqual(repr(self.set), self.repr)
20 self.assertEqual(len(self.set), self.length)
23 self.assertEqual(self.set, self.set)
26 self.assertEqual(self.set, self.dup)
29 self.assertEqual(self.set.copy(), self.dup)
32 result = self.set | self.set
36 result = self.set | empty_set
40 result = empty_set | self.set
44 result = self.set & self.set
48 result = self.set & empty_set
[all …]
Dtest_set.py51 self.assertRaises(TypeError, set().__init__, a=1)
78 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
79 self.assertEqual(self.thetype('abcba').union(C('cdc')), set('abcd'))
80 self.assertEqual(self.thetype('abcba').union(C('efgfe')), set('abcefg'))
81 self.assertEqual(self.thetype('abcba').union(C('ccb')), set('abc'))
82 self.assertEqual(self.thetype('abcba').union(C('ef')), set('abcef'))
83 self.assertEqual(self.thetype('abcba').union(C('ef'), C('fg')), set('abcefg'))
87 self.assertEqual(x.union(set([1]), x, set([2])), self.thetype([1, 2]))
91 self.assertEqual(self.s | set(self.otherword), i)
107 for C in set, frozenset, dict.fromkeys, str, unicode, list, tuple:
[all …]
Dtest_dictviews.py21 self.assertEqual(set(keys), set([1, "a"]))
22 self.assertEqual(keys, set([1, "a"]))
23 self.assertNotEqual(keys, set([1, "a", "b"]))
24 self.assertNotEqual(keys, set([1, "b"]))
25 self.assertNotEqual(keys, set([1]))
41 self.assertEqual(set(items), set([(1, 10), ("a", "ABC")]))
42 self.assertEqual(items, set([(1, 10), ("a", "ABC")]))
43 self.assertNotEqual(items, set([(1, 10), ("a", "ABC"), "junk"]))
44 self.assertNotEqual(items, set([(1, 10), ("a", "def")]))
45 self.assertNotEqual(items, set([(1, 10)]))
[all …]
/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c23 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits) in atomicBitsetInit() argument
25 set->numBits = numBits; in atomicBitsetInit()
26 memset(set->words, 0, sizeof(uint32_t) * ATOMIC_BITSET_NUM_WORDS(numBits)); in atomicBitsetInit()
28 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
31 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set) in atomicBitsetGetNumBits() argument
33 return set->numBits; in atomicBitsetGetNumBits()
36 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num) in atomicBitsetGetBit() argument
38 if (num >= set->numBits) /* any value is as good as the next */ in atomicBitsetGetBit()
41 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
44 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num) in atomicBitsetClearBit() argument
[all …]
/device/google/contexthub/firmware/os/cpu/x86/
DatomicBitset.c24 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits) in atomicBitsetInit() argument
26 set->numBits = numBits; in atomicBitsetInit()
27 memset(set->words, 0, (numBits + 31) / 8); in atomicBitsetInit()
29 set->words[numBits / 32] = ((uint32_t)((int32_t)-1LL)) << (numBits & 31); in atomicBitsetInit()
32 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set) in atomicBitsetGetNumBits() argument
34 return set->numBits; in atomicBitsetGetNumBits()
37 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num) in atomicBitsetGetBit() argument
39 if (num >= set->numBits) /* any value is as good as the next */ in atomicBitsetGetBit()
42 return !!((set->words[num / 32]) & (1UL << (num & 31))); in atomicBitsetGetBit()
45 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num) in atomicBitsetClearBit() argument
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
Dcdefs_aout.h110 #define __link_set_make_entry(set, sym, type) \ argument
112 __link_set_##set##_sym_##sym __used = &sym; \
113 __asm(".stabs \"___link_set_" #set "\", " #type ", 0, 0, _" #sym)
115 #define __link_set_make_entry(set, sym, type) \ argument
116 extern void const * const __link_set_##set##_sym_##sym
119 #define __link_set_add_text(set, sym) __link_set_make_entry(set, sym, 23) argument
120 #define __link_set_add_rodata(set, sym) __link_set_make_entry(set, sym, 23) argument
121 #define __link_set_add_data(set, sym) __link_set_make_entry(set, sym, 25) argument
122 #define __link_set_add_bss(set, sym) __link_set_make_entry(set, sym, 27) argument
124 #define __link_set_decl(set, ptype) \ argument
[all …]
/device/google/trout/agl_services_build/
DCMakeLists.txt5 set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
7 set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib
9 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin
16 set(BORINGSSL_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/boringssl)
17 set(CARES_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/cares)
18 set(GFLAGS_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/gflags)
19 set(PROTOBUF_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/protobuf)
20 set(ZLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/zlib)
25 set(trout_ANDROID_SYSCORE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/android/system_core)
26 set(trout_FMTLIB_ROOT_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third_party/fmtlib)
[all …]
/device/google/trout/agl_services_build/cmake/
Dandroid.cmake2 set(trout_ANDROID_SYSCORE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/android/system_core")
5 set(_trout_ANDROID_CXX_FLAGS -Wall -Werror -Wextra -Wno-unknown-warning-option -Wno-c99-designator …
7 set(trout_ANDROID_LIBLOG_DIR ${trout_ANDROID_SYSCORE_DIR}/liblog)
8 set(trout_ANDROID_LIBLOG_INCLUDE_DIR ${trout_ANDROID_LIBLOG_DIR}/include)
9 set(trout_ANDROID_LIBLOG_LIBRARY "android_liblog")
11 set(trout_ANDROID_LIBBASE_DIR ${trout_ANDROID_SYSCORE_DIR}/base)
12 set(trout_ANDROID_LIBBASE_INCLUDE_DIR ${trout_ANDROID_LIBBASE_DIR}/include)
13 set(trout_ANDROID_LIBBASE_LIBRARY "android_libbase")
15 set(trout_ANDROID_LIBUTILS_DIR ${trout_ANDROID_SYSCORE_DIR}/libutils)
16 set(trout_ANDROID_LIBUTLS_INCLUDE_DIR ${trout_ANDROID_LIBUTILS_DIR}/include)
[all …]
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DShowEnvironment.bat18 @set SE_SVN_REVISION=$Revision: 8 $
19 @set SE_VERSION=0.7.0.
61 @set TEST_VS=
68 @set "var=%PATH%"
69 @set "var=%var:"=""%"
70 @set "var=%var:^=^^%"
71 @set "var=%var:&=^&%"
72 @set "var=%var:|=^|%"
73 @set "var=%var:<=^<%"
74 @set "var=%var:>=^>%"
[all …]
/device/linaro/bootloader/edk2/
DEdk2Setup.bat2 @REM Windows batch file, Edk2Setup.bat, to set up an EDK II build environment
7 @REM This script will set the following system environment variables:
13 @REM If the reset flag is set, all environment variables will be reset and
18 @REM SetVisualStudio.bat - will set the Visual Studio environment based on the --vs* flags
50 @set SCRIPT_NAME=%0
51 @set SCRIPT_VERSION=0.9.2.
52 @set SVN_REVISION=$Revision$
53 @set RESET_ENVIRONMENT=FALSE
54 @set NT32PKG=FALSE
55 @set NT32_X64=
[all …]
/device/google/cuttlefish_vmm/
Dupdate-manifest-gfxstream.py27 gfxstream_projects = set([
75 outp.set("name", e.attrib["name"])
76 outp.set("path", e.attrib["path"])
77 outp.set("revision", e.attrib["revision"])
78 outp.set("clone-depth", "1")
91 e.set("revision", current_gfxstream_projects[e.attrib["name"]].attrib["revision"])
92 e.set("clone-depth", "1")
95 projects_to_add = gfxstream_projects - set(found_projects)
100 outp.set("name", project_element.attrib["name"])
101 outp.set("path", project_element.attrib["path"])
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dproto.h111 extern set *fset; /* for constrained search */ /* MR11 */
170 extern set MR_CompromisedRules; /* MR14 */
212 extern set reserved_positions;
213 extern set all_tokens;
214 extern set imag_tokens;
215 extern set tokclasses;
247 extern set AST_nodes_refd_in_actions;
296 extern void FillSet( set );
299 extern void SubstErrorClass( set * );
300 extern int DefErrSet( set *, int, char * );
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/
DBuild_IFWI.bat22 set exitCode=0
23 set "Build_Flags= "
24 set "Stitch_Flags= "
25 set Arch=X64
26 set PLATFORM_PACKAGE=Vlv2TbltDevicePkg
27 set ROOT_DIR=%CD%
34 set Build_Flags=%Build_Flags% /q
39 set Build_Flags=%Build_Flags% /l
44 set Build_Flags=%Build_Flags% /y
49 set Build_Flags=%Build_Flags% /m
[all …]
/device/google/contexthub/firmware/os/inc/
DatomicBitset.h36 void atomicBitsetInit(struct AtomicBitset *set, uint32_t numBits); //inited state is all zeroes
37 uint32_t atomicBitsetGetNumBits(const struct AtomicBitset *set);
38 bool atomicBitsetGetBit(const struct AtomicBitset *set, uint32_t num);
39 void atomicBitsetClearBit(struct AtomicBitset *set, uint32_t num);
40 void atomicBitsetSetBit(struct AtomicBitset *set, uint32_t num);
45 int32_t atomicBitsetFindClearAndSet(struct AtomicBitset *set);
60 bool atomicBitsetBulkRead(struct AtomicBitset *set, uint32_t *dest, uint32_t numBits);
/device/linaro/bootloader/edk2/BaseTools/
Dset_vsprefix_envs.bat23 set "VS2003_PREFIX=%VS71COMNTOOLS:~0,-14%"
29 set "VS2005_PREFIX=%VS80COMNTOOLS:~0,-14%"
35 set "VS2008_PREFIX=%VS90COMNTOOLS:~0,-14%"
38 set "WINSDK_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\"
41 set "WINSDKx86_PREFIX=c:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\bin\"
47 set "VS2010_PREFIX=%VS100COMNTOOLS:~0,-14%"
50 set "WINSDK7_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v7.0A\Bin\"
53 set "WINSDK7x86_PREFIX=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\"
59 set "VS2012_PREFIX=%VS110COMNTOOLS:~0,-14%"
62 set "WINSDK71_PREFIX=c:\Program Files\Microsoft SDKs\Windows\v7.1A\Bin\"
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Ddlg.h74 set label; /* one arc always labelled with epsilon */
84 set nfa_states;
107 set label;
123 extern set used_chars; /* used to label trans. arcs */
124 extern set used_classes; /* classes or chars used to label trans. arcs */
126 extern set class_sets[]; /* shows char. in each class */
127 extern set normal_chars; /* mask off unused portion of set */
158 extern set closure(set *, unsigned *);
159 extern dfa_node *new_dfa_node(set);
161 extern dfa_node *dfastate(set);
[all …]
DDlgDDK.mak3 # You will need to set the LIB variable similar to this.
13 SET=$(PCCTS_HOME)\support\set
24 SUPPORT_OBJS = set.obj
39 $(SET)\set.h \
51 $(SET)\set.h \
62 $(SET)\set.h \
75 $(SET)\set.h \
83 $(SET)\set.h \
90 $(SET)\set.h \
97 $(SET)\set.h \
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Stitch/
DIFWIStitch.bat19 set exitCode=0
20 set BackupRom=1
21 set UpdateVBios=1
22 set SpiLock=0
23 set Stitch_Config=Stitch_Config.txt
27 set hour=%time: =0%
30 for /f "tokens=1" %%i in ("%date%") do set today=%%i
33 set IFWI_Suffix=%today%_%hour:~0,2%%time:~3,2%
42 set UpdateVBios=0
47 set BackupRom=0
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/ShellCTestApp/
DTestArgv.log2 FS0:\> set Var_EFCF356F_228C_47C2_AD0C_3B5DAC9A8CFA ValueOfGuid
3 FS0:\> set Sharp_E8528E46_A008_4221_8DE0_D5AB42A9C580 ^#
4 FS0:\> set Quote_E95DEE8B_E3AA_4155_9ED5_6916394104FC ^"
5 FS0:\> set Var_ShellCTestApp_EE6E8BC6_71A6_44A5_BED3_D8F901105CDE ShellCTestApp_EE6E8BC6_71A6_44A5_…
39 FS0:\> set -d Var_EFCF356F_228C_47C2_AD0C_3B5DAC9A8CFA
40 FS0:\> set -d Sharp_E8528E46_A008_4221_8DE0_D5AB42A9C580
41 FS0:\> set -d Quote_E95DEE8B_E3AA_4155_9ED5_6916394104FC
42 FS0:\> set -d Var_ShellCTestApp_EE6E8BC6_71A6_44A5_BED3_D8F901105CDE
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dmkstringprep.py126 table = set(table.keys())
127 Cn = set(gen_category(["Cn"]))
130 Cn -= set(range(0xFDD0, 0xFDF0))
132 Cn -= set(range(0xFFFE, 0x110000, 0x10000))
133 Cn -= set(range(0xFFFF, 0x110000, 0x10000))
268 Cc = set(gen_category(["Cc"]))
269 Cc_ascii = Cc & set(range(128))
270 table_c21 = set(table_c21.keys())
285 table_c22 = set(table_c22.keys())
308 Co = set(gen_category(["Co"]))
[all …]
/device/mediatek/wembley-sepolicy/r_non_plat/
Dproperty.te12 #neverallow { domain -init } default_prop:property_service set;
13 …erallow { domain -init -system_server -recovery -system_app} ctl_default_prop:property_service set;
22 #=============allow mtkrild to set persist.ril property==============
25 #=============allow gsm0710muxd to set mux property==============
33 #=============allow netd to set mtk_wifi.*=========================
69 #=============allow ccci_mdinit to set ril_active_md_prop==============
82 #=============allow telephony modules to set tel_switch_prop==============
120 #=============allow em to set client.appmode ==============
126 #=============Property set by EM, for test/debug purpose=========
130 #============= allow em set protocol ===============
[all …]
/device/generic/goldfish/camera/
DEmulatedFakeCamera.cpp69 mParameters.set(EmulatedCamera::FACING_KEY, facing); in Initialize()
72 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
74 mParameters.set(CameraParameters::KEY_ROTATION, in Initialize()
88 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
90 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
92 mParameters.set(CameraParameters::KEY_SUPPORTED_VIDEO_SIZES, in Initialize()
94 mParameters.set(CameraParameters::KEY_PREFERRED_PREVIEW_SIZE_FOR_VIDEO, in Initialize()
/device/google/cuttlefish/guest/hals/camera/
DEmulatedFakeCamera.cpp57 mParameters.set(EmulatedCamera::FACING_KEY, facing); in Initialize()
60 mParameters.set(EmulatedCamera::ORIENTATION_KEY, in Initialize()
83 mParameters.set(CameraParameters::KEY_SUPPORTED_PICTURE_SIZES, in Initialize()
85 mParameters.set(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZES, in Initialize()
90 mParameters.set(CameraParameters::KEY_SUPPORTED_ANTIBANDING, in Initialize()
92 mParameters.set(CameraParameters::KEY_ANTIBANDING, in Initialize()
94 mParameters.set(CameraParameters::KEY_SUPPORTED_EFFECTS, in Initialize()
96 mParameters.set(CameraParameters::KEY_EFFECT, CameraParameters::EFFECT_NONE); in Initialize()

12345678910>>...42