/external/webrtc/webrtc/p2p/base/ |
H A D | transportdescription.cc | 19 bool StringToConnectionRole(const std::string& role_str, ConnectionRole* role) { argument 29 *role = static_cast<ConnectionRole>(CONNECTIONROLE_ACTIVE + i); 36 bool ConnectionRoleToString(const ConnectionRole& role, std::string* role_str) { argument 37 switch (role) {
|
H A D | transportdescriptionfactory.cc | 42 // If we are the initiator set role to "actpass". 78 // Setting DTLS role to active. 79 ConnectionRole role = (options.prefer_passive_role) ? local 82 if (!SetSecurityInfo(desc.get(), role)) { 97 TransportDescription* desc, ConnectionRole role) const { 121 // Assign security role. 122 desc->connection_role = role;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/message/ |
H A D | ConfigurationMessage.java | 31 * The client role component of the message. 36 OptionsMessage.ProtocolRole role) { 39 mClientRole = role; 35 ConfigurationMessage(EncodingOption enc, OptionsMessage.ProtocolRole role) argument
|
/external/guava/guava/src/com/google/common/math/ |
H A D | MathPreconditions.java | 30 static int checkPositive(@Nullable String role, int x) { argument 32 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 37 static long checkPositive(@Nullable String role, long x) { argument 39 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 44 static BigInteger checkPositive(@Nullable String role, BigInteger x) { argument 46 throw new IllegalArgumentException(role + " (" + x + ") must be > 0"); 51 static int checkNonNegative(@Nullable String role, int x) { argument 53 throw new IllegalArgumentException(role + " (" + x + ") must be >= 0"); 58 static long checkNonNegative(@Nullable String role, long x) { argument 60 throw new IllegalArgumentException(role 65 checkNonNegative(@ullable String role, BigInteger x) argument 72 checkNonNegative(@ullable String role, double x) argument [all...] |
/external/libtextclassifier/smartselect/ |
H A D | tokenizer.cc | 30 CodepointRange(range.start(), range.end(), range.role())); 61 return it->role; 75 TokenizationCodepointRange::Role role = FindTokenizationRole(*it); local 76 if (role & TokenizationCodepointRange::SPLIT_BEFORE) { 82 if (!(role & TokenizationCodepointRange::DISCARD_CODEPOINT)) { 88 if (role & TokenizationCodepointRange::SPLIT_AFTER) {
|
H A D | tokenizer.h | 42 // Represents a codepoint range [start, end) with its role for tokenization. 46 TokenizationCodepointRange::Role role; member in struct:libtextclassifier::Tokenizer::CodepointRange 50 : start(arg_start), end(arg_end), role(arg_role) {} 57 // Finds the tokenization role for given codepoint.
|
/external/selinux/libselinux/src/ |
H A D | get_default_type.c | 8 static int find_default_type(FILE * fp, const char *role, char **type); 10 int get_default_type(const char *role, char **type) argument 18 if (find_default_type(fp, role, type) < 0) { 27 static int find_default_type(FILE * fp, const char *role, char **type) argument 35 len = strlen(role); 50 if (!strncmp(role, ptr, len)) {
|
H A D | query_user_context.c | 109 char role[100]; /* The role requested by the user */ local 124 new_context = context_new("user:role:type:level"); 126 new_context = context_new("user:role:type"); 144 get_field("role", role, rolelen); 145 if (context_role_set(new_context, role)) {
|
/external/selinux/libsepol/src/ |
H A D | roles.c | 10 /* Check if a role exists */ 12 sepol_policydb_t * p, const char *role, int *response) 16 *response = (hashtab_search(policydb->p_roles.table, role) != NULL); 11 sepol_role_exists(sepol_handle_t * handle __attribute__ ((unused)), sepol_policydb_t * p, const char *role, int *response) argument
|
/external/selinux/libsepol/tests/ |
H A D | test-linker-roles.c | 33 * - role in appropriate symtab (global and decl) 38 * - role in base, no modules 39 * - role in base optional, no modules 40 * - role a in base, b in module 41 * - role a in base and module (additive) 42 * - role a in base and 2 module 43 * - role a in base optional, b in module 44 * - role a in base, b in module optional 45 * - role a in base optional, b in module optional 46 * - role 55 only_dominates_self(policydb_t * p, role_datum_t * role) argument 73 role_datum_t *role; local 102 role_datum_t *role; local [all...] |
/external/snakeyaml/src/test/java/examples/collections/ |
H A D | TypeSafePriorityTest.java | 91 private String role; field in class:TypeSafePriorityTest.Developer 96 public Developer(String name, String role) { argument 98 this.role = role; 110 return role; 113 public void setRole(String role) { argument 114 this.role = role;
|
H A D | ListFileldBeanTest.java | 95 private String role; field in class:ListFileldBeanTest.Developer 100 public Developer(String name, String role) { argument 102 this.role = role; 114 return role; 117 public void setRole(String role) { argument 118 this.role = role;
|
H A D | TypeSafeListNoGerericsTest.java | 64 assertEquals("creator", fred.get("role")); 104 private String role; field in class:TypeSafeListNoGerericsTest.Developer 109 public Developer(String name, String role) { argument 111 this.role = role; 123 return role; 126 public void setRole(String role) { argument 127 this.role = role;
|
H A D | TypeSafeListTest.java | 102 private String role; field in class:TypeSafeListTest.Developer 107 public Developer(String name, String role) { argument 109 this.role = role; 121 return role; 124 public void setRole(String role) { argument 125 this.role = role;
|
H A D | TypeSafeListWithInterfaceTest.java | 126 private String role; field in class:TypeSafeListWithInterfaceTest.Developer 131 public Developer(String name, String role) { argument 133 this.role = role; 145 return role; 148 public void setRole(String role) { argument 149 this.role = role;
|
H A D | TypeSafeMapTest.java | 123 private String role; field in class:TypeSafeMapTest.Developer2 128 public Developer2(String name, String role) { argument 130 this.role = role; 142 return role; 145 public void setRole(String role) { argument 146 this.role = role; 155 public Developer222(String name, String role) { argument 156 super(name, role); [all...] |
/external/libxml2/ |
H A D | xlink.c | 124 xmlChar *type = NULL, *role = NULL; local 154 role = xmlGetNsProp(node, BAD_CAST "role", XLINK_NAMESPACE); 155 if (role != NULL) { 160 if (xmlStrEqual(role, BAD_CAST"xlink:external-linkset")) 167 if (xmlStrEqual(role, buf)) 178 if (role != NULL) xmlFree(role);
|
/external/selinux/libselinux/utils/ |
H A D | getdefaultcon.c | 23 char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL; local 34 role = strdup(optarg); 70 if (role != NULL && role[0]) 71 ret=get_default_context_with_rolelevel(seuser, role, level,cur_context,&usercon); 79 printf("%s: %s from %s %s %s %s -> %s\n", argv[0], user, cur_context, seuser, role, level, usercon); 85 free(role);
|
/external/selinux/libsemanage/src/ |
H A D | context_record.c | 33 semanage_context_t * con, const char *role) 36 return sepol_context_set_role(handle->sepolh, con, role); 32 semanage_context_set_role(semanage_handle_t * handle, semanage_context_t * con, const char *role) argument
|
H A D | user_base_record.c | 114 const char *role) 117 return sepol_user_add_role(handle->sepolh, user, role); 121 const char *role) 124 sepol_user_del_role(user, role); 128 const char *role) 131 return sepol_user_has_role(user, role); 112 semanage_user_base_add_role(semanage_handle_t * handle, semanage_user_base_t * user, const char *role) argument 120 semanage_user_base_del_role(semanage_user_base_t * user, const char *role) argument 127 semanage_user_base_has_role(const semanage_user_base_t * user, const char *role) argument
|
H A D | user_record.c | 188 semanage_user_t * user, const char *role) 191 return semanage_user_base_add_role(handle, user->base, role); 196 void semanage_user_del_role(semanage_user_t * user, const char *role) 199 semanage_user_base_del_role(user->base, role); 202 int semanage_user_has_role(const semanage_user_t * user, const char *role) argument 205 return semanage_user_base_has_role(user->base, role); 187 semanage_user_add_role(semanage_handle_t * handle, semanage_user_t * user, const char *role) argument
|
/external/selinux/libsepol/include/sepol/policydb/ |
H A D | context.h | 31 * identity, a role, a type and a MLS range. 35 uint32_t role; member in struct:context_struct 119 dst->role = src->role; 129 c->user = c->role = c->type = 0; 136 (c1->role == c2->role) &&
|
/external/autotest/frontend/server/ |
H A D | models.py | 49 roles = ','.join([r.role for r in self.roles.all()]) 62 """Get a list of role names of the server. 64 @return: A list of role names of the server. 66 return [r.role for r in self.roles.all()] 115 role = dbmodels.CharField(max_length=128, choices=ROLE.choices()) variable in class:ServerRole 139 RANGE_LIMITS={'role': ServerRole.ROLE_LIST, 146 1. Any key in RANGE_LIMITS, i.e., role and status. Value should be a valid 147 role or status. 151 validate(role='drone', status='backup', hostname='server1')
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/protobuf/ |
H A D | ProtobufWireAdapter.java | 401 private int toProto(OptionsMessage.ProtocolRole role) { argument 402 switch (role) { 517 OptionsMessage.ProtocolRole role = OptionsMessage.ProtocolRole.UNKNOWN; 521 role = OptionsMessage.ProtocolRole.INPUT_DEVICE; 524 role = OptionsMessage.ProtocolRole.DISPLAY_DEVICE; 528 return new ConfigurationMessage(enc, role);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/threegpp26244/ |
H A D | LocationInformationBox.java | 18 private int role; field in class:LocationInformationBox 46 return role; 49 public void setRole(int role) { argument 50 this.role = role; 102 role = IsoTypeReader.readUInt8(content); 117 IsoTypeWriter.writeUInt8(byteBuffer, role);
|