Lines Matching defs:copied
54 size_t copied;
56 NODE_API_CALL(env, get_api(env, args[0], buffer, buffer_size, &copied));
60 copied = NAPI_AUTO_LENGTH;
62 NODE_API_CALL(env, create_api(env, buffer, copied, &output));
78 size_t copied;
80 NODE_API_CALL(env, get_api(env, args[0], buffer, buffer_size, &copied));
84 copied = NAPI_AUTO_LENGTH;
86 NODE_API_CALL(env, create_api(env, buffer, copied, &output));
101 bool copied = true;
111 env, string_copy, length, free_string, NULL, result, &copied);
112 // We do not want the string to be copied.
113 if (copied) {
141 bool copied = true;
151 env, string_copy, length, free_string, NULL, result, &copied);
249 size_t copied;
253 napi_get_value_string_latin1(env, args[0], buffer, buffer_size, &copied));
256 NODE_API_CALL(env, napi_create_string_latin1(env, buffer, copied, &output));
267 size_t copied;
271 napi_get_value_string_utf8(env, args[0], buffer, buffer_size, &copied));
274 NODE_API_CALL(env, napi_create_string_utf8(env, buffer, copied, &output));
285 size_t copied;
289 napi_get_value_string_utf16(env, args[0], buffer, buffer_size, &copied));
292 NODE_API_CALL(env, napi_create_string_utf16(env, buffer, copied, &output));