Home
last modified time | relevance | path

Searched refs:client_type (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dclientsecrets.py84 client_type = tuple(obj)[0]
85 if client_type not in VALID_CLIENT:
86 raise InvalidClientSecretsError('Unknown client type: %s.' % (client_type,))
87 client_info = obj[client_type]
88 for prop_name in VALID_CLIENT[client_type]['required']:
92 client_type))
93 for prop_name in VALID_CLIENT[client_type]['string']:
97 return client_type, client_info
159 client_type, client_info = _loadfile(filename)
160 obj = {client_type: client_info}
Dappengine.py944 client_type, client_info = clientsecrets.loadfile(filename, cache=cache)
945 if client_type not in [
Dclient.py2053 client_type, client_info = clientsecrets.loadfile(filename, cache=cache)
2054 if client_type in (clientsecrets.TYPE_WEB, clientsecrets.TYPE_INSTALLED):
2077 'This OAuth 2.0 flow is unsupported: %r' % client_type)
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_clientsecrets.py110 client_type, client_info = clientsecrets.loadfile(
112 self.assertEqual('web', client_type)
116 self.assertEqual({client_type: client_info}, cached)
127 client_type, client_info = clientsecrets.loadfile(
129 self.assertEqual('web', client_type)
144 client_type, client_info = clientsecrets.loadfile(VALID_FILE)
145 self.assertEqual('web', client_type)
Dtest_appengine.py78 client_type, client_info = _loadfile(datafile(existing_file))
79 cache_mock.cache[fakename] = {client_type: client_info}
Dtest_oauth2client.py107 client_type, client_info = _loadfile(datafile(existing_file))
108 cache_mock.cache[fakename] = {client_type: client_info}
/external/fio/
Dserver.h103 uint16_t client_type; member
140 uint16_t client_type; member
146 uint32_t client_type; member
Dinit.c1110 int recursed, int client_type) in add_job() argument
1134 td->client_type = client_type; in add_job()
1355 if (add_job(td_new, jobname, numjobs, 1, client_type)) in add_job()
1368 void add_job_opts(const char **o, int client_type) in add_job_opts() argument
1380 add_job(td, jobname, 0, 0, client_type); in add_job_opts()
1399 add_job(td, jobname, 0, 0, client_type); in add_job_opts()
1939 int parse_cmd_line(int argc, char *argv[], int client_type) in parse_cmd_line() argument
2115 ret = add_job(td, td->o.name ?: "fio", 0, 0, client_type); in parse_cmd_line()
2330 ret = add_job(td, td->o.name ?: "fio", 0, 0, client_type); in parse_cmd_line()
Dserver.c576 pdu->client_type = le16_to_cpu(pdu->client_type); in handle_load_file_cmd()
578 if (parse_jobs_ini(file_name, 0, 0, pdu->client_type)) { in handle_load_file_cmd()
615 pdu->client_type = le32_to_cpu(pdu->client_type); in handle_job_cmd()
617 if (parse_jobs_ini(buf, 1, 0, pdu->client_type)) { in handle_job_cmd()
640 clp->client_type = le16_to_cpu(clp->client_type); in handle_jobline_cmd()
654 if (parse_cmd_line(clp->lines, argv, clp->client_type)) { in handle_jobline_cmd()
Dclient.h103 uint32_t client_type; member
Dclient.c46 .client_type = FIO_CLIENT_TYPE_CLI,
284 client->type = ops->client_type; in fio_client_add_explicit()
359 client->type = ops->client_type; in fio_client_add()
601 clp->client_type = __cpu_to_le16(client->type); in send_client_cmd_line()
681 pdu->client_type = cpu_to_le16((uint16_t) client->type); in __fio_client_send_remote_ini()
734 pdu->client_type = cpu_to_le32(client->type); in __fio_client_send_local_ini()
Dfio.h111 int client_type; member
Diolog.c968 if (td->client_type == FIO_CLIENT_TYPE_GUI) in finish_log()
Dgclient.c1400 .client_type = FIO_CLIENT_TYPE_GUI,