Searched refs:success (Results 1 - 12 of 12) sorted by relevance

/system/core/libmincrypt/test/
H A Decdsa_test.c231 int success = 1; local
237 success = success && !(good ^ result); \
244 success = success && result; \
248 success = success && result; \
273 success = success && result; \
281 printf("\n%s\n\n", success
[all...]
H A Drsa_test.c813 success = success && result; \
816 int success = 1; local
839 printf("\n%s\n\n", success ? "PASS" : "FAIL");
841 return !success;
/system/media/camera/docs/
H A Dmetadata_validate.py199 success = True
216 success = False
223 success = False
225 return success
243 success = True
251 success = False
263 success = False
276 success = False
282 success = False
284 return success
[all...]
/system/netd/server/
H A DDnsProxyListener.cpp87 // Returns true on success.
94 // Returns true on success
96 bool success = true; local
99 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name);
101 success &= sendLenAndData(c, 0, "") == 0;
105 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]);
107 success &= sendLenAndData(c, 0, ""); // null to indicate we're done
110 success &= c->sendData(&buf, sizeof(buf)) == 0;
113 success &= c->sendData(&buf, sizeof(buf)) == 0;
116 success
133 bool success = !mClient->sendCode(ResponseCode::DnsProxyQueryResult); local
322 bool success = true; local
439 bool success = true; local
[all...]
H A DInterfaceController.cpp50 int success = writeFile(path, value, strlen(value)); local
52 return success;
120 int success = writeFile(path, mtu, strlen(mtu)); local
122 return success;
H A DCommandListener.cpp1163 cli->sendMsg(ResponseCode::CommandOkay, "Enable success", false);
1172 cli->sendMsg(ResponseCode::CommandOkay, "Disable success", false);
1185 cli->sendMsg(ResponseCode::CommandOkay, "Add success", false);
1199 cli->sendMsg(ResponseCode::CommandOkay, "Remove success", false);
1371 int CommandListener::NetworkCommand::success(SocketClient* client) { function in class:CommandListener::NetworkCommand
1372 client->sendMsg(ResponseCode::CommandOkay, "success", false);
1427 return success(client);
1449 return success(client);
1482 return success(client);
1495 return success(clien
[all...]
H A DCommandListener.h154 int success(SocketClient* cli);
/system/core/fastboot/
H A Dusb_osx.c55 int success; member in struct:usb_handle
66 * success, -1 on failure. */
222 handle->success = 1;
258 * success, -1 on failure.
380 /** Initializes the USB system. Returns 0 on success, -1 on error. */
388 h.success = 0;
433 if (h.success) {
/system/core/libnativebridge/
H A Dnative_bridge.cc307 jint success = env->PushLocalFrame(16); // That should be small and large enough. local
308 if (success < 0) {
/system/core/libnetutils/
H A Difc_utils.c250 * Returns zero on success and negative errno on failure.
601 int result, success; local
630 success = ioctl(ifc_ctl_sock6, SIOCKILLADDR, &ifr6);
632 result = success;
/system/core/adb/
H A Dcommandline.c2011 int success = 1; local
2016 success = 0;
2026 success = 0;
2034 success = 0;
2047 success = 0;
2054 if (success) {
/system/core/libziparchive/
H A Dzip_archive.cc328 // Returns 0 on success and negative values on failure.
333 const bool success = file_map->create(debug_file_name, fd, start, length, read_only); local
334 if (!success) {
540 * On success, returns 0 after populating fields from the EOCD area:
596 * Returns 0 on success.

Completed in 1961 milliseconds