Home
last modified time | relevance | path

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

12345678910>>...48

/external/v8/tools/testrunner/server/
Dstatus_handler.py33 from . import constants
38 code = sock.connect_ex((peer.address, constants.STATUS_PORT))
43 compression.Send(constants.END_OF_STREAM, sock)
56 pubkey_list = _StatusQuery(peer, [constants.LIST_TRUSTED_PUBKEYS])
59 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
64 _StatusQuery(peer, [constants.NOTIFY_NEW_TRUSTED] + data)
68 _StatusQuery(peer, [constants.TRUST_YOU_NOW])
72 if _StatusQuery(peer, [constants.DO_YOU_TRUST, pubkey]):
73 result = _StatusQuery(peer, [constants.GET_SIGNED_PUBKEY, pubkey])
84 if action == constants.LIST_TRUSTED_PUBKEYS:
[all …]
Dlocal_handler.py34 from . import constants
39 code = sock.connect_ex(("localhost", constants.CLIENT_PORT))
42 compression.Send(constants.END_OF_STREAM, sock)
61 if action == constants.REQUEST_PEERS:
67 elif action == constants.UNRESPONSIVE_PEER:
70 elif action == constants.REQUEST_PUBKEY_FINGERPRINT:
74 elif action == constants.REQUEST_STATUS:
77 elif action == constants.ADD_TRUSTED:
81 elif action == constants.INFORM_DURATION:
88 elif action == constants.UPDATE_PERF:
[all …]
/external/tensorflow/tensorflow/contrib/session_bundle/
Dsession_bundle.py26 from tensorflow.contrib.session_bundle import constants
50 constants.META_GRAPH_DEF_FILENAME)
83 constants.META_GRAPH_DEF_FILENAME)
97 constants.VARIABLES_INDEX_FILENAME_V2)
104 export_dir, constants.VARIABLES_FILENAME_PATTERN_V2)
109 variables_filename = os.path.join(export_dir, constants.VARIABLES_FILENAME)
114 constants.VARIABLES_FILENAME_PATTERN)
124 restore_files = constants.VARIABLES_FILENAME
126 restore_files = constants.VARIABLES_FILENAME_PATTERN
128 assets_dir = os.path.join(export_dir, constants.ASSETS_DIRECTORY)
[all …]
Dexporter_test.py23 from tensorflow.contrib.session_bundle import constants
139 os.path.join(export_path, constants.VERSION_FORMAT_SPECIFIER %
140 global_step, constants.META_GRAPH_DEF_FILENAME))
146 graph_def_any = collection_def[constants.GRAPH_KEY].any_list.value
156 init_ops = collection_def[constants.INIT_OP_KEY].node_list.value
161 signatures_any = collection_def[constants.SIGNATURES_KEY].any_list.value
177 assets_any = collection_def[constants.ASSETS_KEY].any_list.value
182 constants.VERSION_FORMAT_SPECIFIER %
183 global_step, constants.ASSETS_DIRECTORY,
190 constants.VERSION_FORMAT_SPECIFIER %
[all …]
/external/autotest/client/site_tests/video_GlitchDetection/
Dvideo_GlitchDetection.py12 from autotest_lib.client.cros import constants as cros_constants
17 from autotest_lib.client.cros.video import constants
41 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
43 file_utils.make_leaf_dir(constants.TEST_DIR)
93 box = (0, 0, constants.DESIRED_WIDTH, constants.DESIRED_HEIGHT)
96 for n in xrange(constants.NUM_CAPTURE_TRIES):
99 player, max_frame_count = constants.FCOUNT,
107 constants.MAX_FRAME_REPEAT_COUNT)
117 'tries. Checksums: %s' % (constants.NUM_CAPTURE_TRIES,
131 constants.TEST_DIR,
[all …]
/external/tensorflow/tensorflow/python/saved_model/
Dloader_impl.py32 from tensorflow.python.saved_model import constants
53 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PBTXT))
57 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PB))
78 constants.SAVED_MODEL_FILENAME_PBTXT,
79 constants.SAVED_MODEL_FILENAME_PB))
97 if constants.ASSETS_KEY in collection_def:
101 compat.as_bytes(constants.ASSETS_DIRECTORY))
102 assets_any_proto = collection_def[constants.ASSETS_KEY].any_list.value
128 if constants.MAIN_OP_KEY in collection_def:
129 main_ops = collection_def[constants.MAIN_OP_KEY].node_list.value
[all …]
Dbuilder_impl.py34 from tensorflow.python.saved_model import constants
84 constants.SAVED_MODEL_SCHEMA_VERSION)
116 compat.as_bytes(constants.ASSETS_DIRECTORY))
151 if ops.get_collection(constants.LEGACY_INIT_OP_KEY):
154 "collection {}.".format(constants.LEGACY_INIT_OP_KEY))
155 ops.add_to_collection(constants.LEGACY_INIT_OP_KEY, legacy_init_op)
169 ops.add_to_collection(constants.MAIN_OP_KEY, main_op)
368 compat.as_text(constants.VARIABLES_DIRECTORY))
374 compat.as_text(constants.VARIABLES_FILENAME))
434 compat.as_bytes(constants.SAVED_MODEL_FILENAME_PBTXT))
[all …]
/external/autotest/client/cros/
Dlogin.py7 import constants, cros_logging, cros_ui, cryptohome
79 lambda: os.system('pgrep ^%s$ >/dev/null' % constants.BROWSER) == 0,
82 process=constants.BROWSER,
98 lambda: os.system('pgrep ^%s$ >/dev/null' % constants.BROWSER) != 0,
101 process=constants.BROWSER,
124 def wait_for_ownership(timeout=constants.DEFAULT_OWNERSHIP_TIMEOUT):
131 if os.access(constants.OWNER_KEY_FILE, os.F_OK):
134 condition=lambda: os.access(constants.OWNER_KEY_FILE, os.F_OK),
137 process=constants.BROWSER,
Downership.py7 import common, constants, cryptohome
103 __unlink(constants.OWNER_KEY_FILE)
104 __unlink(constants.SIGNED_POLICY_FILE)
105 __unlink(os.path.join(constants.USER_DATA_DIR, 'Local State'))
112 mock_certfile = os.path.join(dirname, constants.MOCK_OWNER_CERT)
114 constants.MOCK_OWNER_POLICY)
115 utils.open_write_close(constants.OWNER_KEY_FILE,
118 constants.SIGNED_POLICY_FILE)
250 mock_keyfile = os.path.join(dirname, constants.MOCK_OWNER_KEY)
251 mock_certfile = os.path.join(dirname, constants.MOCK_OWNER_CERT)
[all …]
Dcryptohome.py8 import common, constants
267 if os.path.exists(os.path.join(constants.SHADOW_ROOT, user_hash)):
276 for item in os.listdir(constants.SHADOW_ROOT):
277 abs_item = os.path.join(constants.SHADOW_ROOT, item)
296 if not os.path.exists(os.path.join(constants.SHADOW_ROOT, user_hash)):
306 if os.path.exists(os.path.join(constants.SHADOW_ROOT, user_hash)):
389 constants.CRYPTOHOME_FS_REGEX_ANY :
390 constants.CRYPTOHOME_DEV_REGEX_ANY
416 if (re.match(constants.CRYPTOHOME_FS_REGEX_EXT4, mount_info[2])
417 and not(re.match(constants.CRYPTOHOME_DEV_REGEX_LOOP_DEVICE,
[all …]
Dcros_ui.py9 from autotest_lib.client.cros import constants
35 return host.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
36 return utils.run(constants.LOGIN_PROMPT_STATUS_COMMAND).stdout
141 restart(lambda: utils.nuke_process_by_name(constants.SESSION_MANAGER))
151 for filename in [constants.UI_RESPAWN_TIMESTAMPS_FILE,
152 constants.UI_TOO_CRASHY_TIMESTAMPS_FILE]:
/external/swiftshader/src/Shader/
DVertexRoutine.cpp52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate()
120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
127 Int4 finiteX = CmpLE(Abs(o[pos].x), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
128 Int4 finiteY = CmpLE(Abs(o[pos].y), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
129 Int4 finiteZ = CmpLE(Abs(o[pos].z), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
[all …]
/external/autotest/client/site_tests/desktopui_HangDetector/
Ddesktopui_HangDetector.py10 from autotest_lib.client.cros import constants, cros_logging, cros_ui, login
43 os.mknod(constants.ENABLE_BROWSER_HANG_DETECTION_FILE)
46 browser_pid = self._get_oldest_pid_by_name(constants.BROWSER)
47 sm_pid = self._get_oldest_pid_by_name(constants.SESSION_MANAGER)
82 if sm_pid != self._get_oldest_pid_by_name(constants.SESSION_MANAGER):
87 if os.path.exists(constants.ENABLE_BROWSER_HANG_DETECTION_FILE):
88 os.remove(constants.ENABLE_BROWSER_HANG_DETECTION_FILE)
/external/autotest/site_utils/lxc/
Dlxc.py15 from autotest_lib.site_utils.lxc import constants
89 if constants.IS_MOBLAB:
93 ','.join(constants.ATTRIBUTES))
101 info_collection.append(dict(zip(constants.ATTRIBUTES, line.split())))
148 timeout_min=(constants.DEVSERVER_CALL_TIMEOUT *
149 constants.DEVSERVER_CALL_RETRY / 60),
150 delay_sec=constants.DEVSERVER_CALL_DELAY)
153 url, target_file_path, timeout=constants.DEVSERVER_CALL_TIMEOUT)
171 if not constants.SSP_ENABLED and not common_utils.is_in_container():
189 '%s/install_packages_duration' % constants.STATS_KEY)
Dcontainer.py16 from autotest_lib.site_utils.lxc import constants
323 self.attach_run('curl --head %s' % constants.CONTAINER_BASE_URL)
331 '%s/container_start_duration' % constants.STATS_KEY)
353 timeout=constants.NETWORK_INIT_TIMEOUT,
354 sleep_interval=constants.NETWORK_INIT_CHECK_INTERVAL)
360 '%s/container_stop_duration' % constants.STATS_KEY)
377 '%s/container_destroy_duration' % constants.STATS_KEY)
424 (constants.CONTAINER_AUTOTEST_DIR, 3),
425 (constants.RESULT_DIR_FMT % job_folder, 0),
426 (constants.CONTAINER_SITE_PACKAGES_PATH, 3)]
[all …]
Dcontainer_bucket.py16 from autotest_lib.site_utils.lxc import constants
21 from autotest_lib.site_utils.lxc.constants import \
45 def __init__(self, container_path=constants.DEFAULT_CONTAINER_PATH,
141 containers, key=lambda n: 1 if n.name == constants.BASE else 0):
150 '%s/setup_test_duration' % constants.STATS_KEY)
214 mount_entries = [(constants.SITE_PACKAGES_PATH,
215 constants.CONTAINER_SITE_PACKAGES_PATH,
218 os.path.join(constants.RESULT_DIR_FMT % job_folder),
231 constants.CONTAINER_AUTOTEST_DIR.lstrip(os.path.sep))
245 container.set_hostname(constants.CONTAINER_UTSNAME_FORMAT %
Dzygote.py12 from autotest_lib.site_utils.lxc import constants
66 os.path.realpath(constants.DEFAULT_SHARED_HOST_PATH),
95 constants.CONTAINER_HOST_DIR.lstrip(
97 self.mount_dir(self.host_path, constants.CONTAINER_HOST_DIR)
137 constants.CONTAINER_HOST_DIR,
138 constants.CONTAINER_AUTOTEST_DIR.lstrip(os.path.sep))
140 (constants.CONTAINER_AUTOTEST_DIR,
142 constants.CONTAINER_AUTOTEST_DIR))
162 src = os.path.join(constants.CONTAINER_HOST_DIR,
211 container_host_path = os.path.join(constants.CONTAINER_HOST_DIR,
/external/autotest/client/site_tests/desktopui_GmailLatency/
Ddesktopui_GmailLatency.py8 from autotest_lib.client.cros import constants, cros_ui
36 constants.SESSION_MANAGER)
37 open(constants.DISABLE_BROWSER_RESTART_MAGIC_FILE, 'w').close()
45 utils.nuke_process_by_name(name=constants.BROWSER)
51 constants.SESSION_MANAGER)
71 os.unlink(constants.DISABLE_BROWSER_RESTART_MAGIC_FILE)
/external/python/cpython2/Doc/library/
Dcarbon.rst61 :mod:`Carbon.Appearance` --- Appearance Manager constants
102 :mod:`Carbon.CarbonEvents` --- Carbon Event Manager constants
120 :mod:`Carbon.Components` --- Component Manager constants
137 :mod:`Carbon.Controls` --- Control Manager constants
145 :mod:`Carbon.CoreFounation` --- CoreFounation constants
153 :mod:`Carbon.CoreGraphics` --- CoreGraphics constants
169 :mod:`Carbon.Dialogs` --- Dialog Manager constants
193 :mod:`Carbon.Dragconst` --- Drag and Drop Manager constants
201 :mod:`Carbon.Events` --- Event Manager constants
225 :mod:`Carbon.Files` --- File Manager constants
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/
Dfast-isel-pred.ll15 define internal void @__aa(<4 x i32> %v, i8* %p, i32 %offset, <4 x float>* %constants) nounwind inl…
21 %constants.addr = alloca <4 x float>*, align 4
25 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4
34 %tmp3 = load <4 x float>** %constants.addr, align 4
39 define internal void @__bb(<4 x float> %v, i8* %p, i32 %offset, <4 x float>* %constants) nounwind i…
44 %constants.addr = alloca <4 x float>*, align 4
49 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4
/external/autotest/client/site_tests/video_ChromeHWDecodeUsed/
Dvideo_ChromeHWDecodeUsed.py14 from autotest_lib.client.cros.video import constants
71 shutil.copy2(constants.VIDEO_HTML_FILEPATH, self.bindir)
72 video_path = os.path.join(constants.CROS_VIDEO_DIR,
95 constants.MEDIA_GVD_INIT_STATUS,
96 constants.MEDIA_GVD_BUCKET)
101 constants.MEDIA_GVD_ERROR):
103 cr, constants.MEDIA_GVD_ERROR))
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java87 Class<?> constants() default Void.class; // DEFAULT_CONSTANTS in constants() method
194 private final Class<?> constants; field in Config.Implementation
290 …mentedPackages, Class<? extends Application> application, String[] libraries, Class<?> constants) { in Implementation() argument
305 this.constants = constants; in Implementation()
331 public Class<?> constants() { in constants() method in Config.Implementation
332 return constants; in constants()
406 protected Class<?> constants = Void.class; field in Config.Builder
426 constants = config.constants(); in Builder()
499 public Builder setConstants(Class<?> constants) { in setConstants() argument
500 this.constants = constants; in setConstants()
[all …]
/external/llvm/test/CodeGen/ARM/
Dfast-isel-pred.ll16 define internal void @__aa(<4 x i32> %v, i8* %p, i32 %offset, <4 x float>* %constants) nounwind inl…
22 %constants.addr = alloca <4 x float>*, align 4
26 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4
35 %tmp3 = load <4 x float>*, <4 x float>** %constants.addr, align 4
40 define internal void @__bb(<4 x float> %v, i8* %p, i32 %offset, <4 x float>* %constants) nounwind i…
45 %constants.addr = alloca <4 x float>*, align 4
50 store <4 x float>* %constants, <4 x float>** %constants.addr, align 4
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dsaved_model_export_utils_test.py26 from tensorflow.contrib.learn.python.learn.estimators import constants
84 problem_type = constants.ProblemType.LINEAR_REGRESSION
115 problem_type = constants.ProblemType.CLASSIFICATION
155 problem_type = constants.ProblemType.CLASSIFICATION
201 problem_type = constants.ProblemType.CLASSIFICATION
244 problem_type = constants.ProblemType.CLASSIFICATION
288 problem_type = constants.ProblemType.CLASSIFICATION
329 problem_type = constants.ProblemType.CLASSIFICATION
372 "head-1": (constants.ProblemType.LINEAR_REGRESSION,
374 "head-2": (constants.ProblemType.CLASSIFICATION, "bogus output dict 2"),
[all …]
/external/autotest/client/cros/crash/
Dcrash_test.py16 from autotest_lib.client.cros import constants, cros_logging
220 if os.path.isdir(constants.WHITELIST_DIR):
223 constants.SIGNED_POLICY_FILE)
225 constants.OWNER_KEY_FILE)
238 if os.path.isdir(constants.WHITELIST_DIR):
241 constants.SIGNED_POLICY_FILE)
243 constants.OWNER_KEY_FILE)
280 if os.path.exists(constants.SIGNED_POLICY_FILE):
281 shutil.move(constants.SIGNED_POLICY_FILE,
283 if os.path.exists(constants.OWNER_KEY_FILE):
[all …]

12345678910>>...48